Merge lp:~jamesodhunt/ubuntu/precise/libnih/bugs-740390+1062202 into lp:ubuntu/precise/libnih

Proposed by James Hunt
Status: Merged
Merge reported by: Stéphane Graber
Merged at revision: not available
Proposed branch: lp:~jamesodhunt/ubuntu/precise/libnih/bugs-740390+1062202
Merge into: lp:ubuntu/precise/libnih
Diff against target: 47 lines (+30/-0)
3 files modified
debian/changelog (+8/-0)
debian/libnih-dbus1.postinst (+11/-0)
debian/libnih1.postinst (+11/-0)
To merge this branch: bzr merge lp:~jamesodhunt/ubuntu/precise/libnih/bugs-740390+1062202
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+130504@code.launchpad.net

Description of the change

  * Addition of debian/libnih-dbus1.postinst and
    debian/libnih1.postinst to force Upstart re-exec on shutdown
    to avoid unmounting disks uncleanly (LP: #740390, LP: #1062202).

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-02-16 06:57:54 +0000
3+++ debian/changelog 2012-10-19 09:34:35 +0000
4@@ -1,3 +1,11 @@
5+libnih (1.0.3-4ubuntu9.1) precise-proposed; urgency=low
6+
7+ * Addition of debian/libnih-dbus1.postinst and
8+ debian/libnih1.postinst to force Upstart re-exec on shutdown
9+ to avoid unmounting disks uncleanly (LP: #740390, LP: #1062202).
10+
11+ -- James Hunt <james.hunt@ubuntu.com> Fri, 05 Oct 2012 14:14:10 +0100
12+
13 libnih (1.0.3-4ubuntu9) precise; urgency=low
14
15 * Mark the nih-dbus-tool package Multi-Arch: foreign so it can be used as
16
17=== added file 'debian/libnih-dbus1.postinst'
18--- debian/libnih-dbus1.postinst 1970-01-01 00:00:00 +0000
19+++ debian/libnih-dbus1.postinst 2012-10-19 09:34:35 +0000
20@@ -0,0 +1,11 @@
21+#!/bin/sh
22+
23+set -e
24+
25+if [ "$1" = configure ]; then
26+ # Before we shutdown or reboot, upstart needs to re-exec
27+ # so that it can safely unmount the root filesystem (LP: #740390)
28+ touch /var/run/init.upgraded || :
29+fi
30+
31+#DEBHELPER#
32
33=== added file 'debian/libnih1.postinst'
34--- debian/libnih1.postinst 1970-01-01 00:00:00 +0000
35+++ debian/libnih1.postinst 2012-10-19 09:34:35 +0000
36@@ -0,0 +1,11 @@
37+#!/bin/sh
38+
39+set -e
40+
41+if [ "$1" = configure ]; then
42+ # Before we shutdown or reboot, upstart needs to re-exec
43+ # so that it can safely unmount the root filesystem (LP: #740390)
44+ touch /var/run/init.upgraded || :
45+fi
46+
47+#DEBHELPER#

Subscribers

People subscribed via source and target branches