Merge lp:~andersk/ubuntu/oneiric/openssl/spurious-reboot into lp:ubuntu/oneiric/openssl

Proposed by Anders Kaseorg
Status: Merged
Merged at revision: 60
Proposed branch: lp:~andersk/ubuntu/oneiric/openssl/spurious-reboot
Merge into: lp:ubuntu/oneiric/openssl
Diff against target: 40 lines (+14/-6)
2 files modified
debian/changelog (+8/-0)
debian/libssl1.0.0.postinst (+6/-6)
To merge this branch: bzr merge lp:~andersk/ubuntu/oneiric/openssl/spurious-reboot
Reviewer Review Type Date Requested Status
Colin Watson Approve
Steve Beattie Pending
Ubuntu branches Pending
Review via email: mp+75645@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) wrote :

Agreed. It really doesn't make sense to issue the reboot-required notification when we aren't doing the whole restart-services dance.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-09-14 22:06:03 +0000
+++ debian/changelog 2011-09-15 22:31:25 +0000
@@ -1,3 +1,11 @@
1openssl (1.0.0e-2ubuntu2) oneiric; urgency=low
2
3 * Only issue a restart required notification on important upgrades, and
4 not other actions such as reconfiguration or initial installation.
5 (LP: #244250)
6
7 -- Anders Kaseorg <andersk@mit.edu> Thu, 15 Sep 2011 18:22:00 -0400
8
1openssl (1.0.0e-2ubuntu1) oneiric; urgency=low9openssl (1.0.0e-2ubuntu1) oneiric; urgency=low
210
3 * Resynchronise with Debian, fixes CVE-2011-1945, CVE-2011-3207 and11 * Resynchronise with Debian, fixes CVE-2011-1945, CVE-2011-3207 and
412
=== modified file 'debian/libssl1.0.0.postinst'
--- debian/libssl1.0.0.postinst 2011-09-14 22:06:03 +0000
+++ debian/libssl1.0.0.postinst 2011-09-15 22:31:25 +0000
@@ -166,14 +166,14 @@
166 # Shut down the frontend, to make sure none of the166 # Shut down the frontend, to make sure none of the
167 # restarted services keep a connection open to it167 # restarted services keep a connection open to it
168 db_stop168 db_stop
169
170 # Only issue the reboot notification for servers; we proxy this by
171 # testing that the X server is not running (LP: #244250)
172 if ! pidof /usr/bin/X > /dev/null && [ -x /usr/share/update-notifier/notify-reboot-required ]; then
173 /usr/share/update-notifier/notify-reboot-required
174 fi
169 fi # end upgrading and $2 lt 0.9.8c-2175 fi # end upgrading and $2 lt 0.9.8c-2
170 fi # Upgrading176 fi # Upgrading
171
172 # Only issue the reboot notification for servers; we proxy this by
173 # testing that the X server is not running (LP: #244250)
174 if ! pidof /usr/bin/X > /dev/null && [ -x /usr/share/update-notifier/notify-reboot-required ]; then
175 /usr/share/update-notifier/notify-reboot-required
176 fi
177fi177fi
178178
179#DEBHELPER#179#DEBHELPER#

Subscribers

People subscribed via source and target branches