Merge lp:~barry/ubuntu/maverick/fuse/bug-697792-m into lp:ubuntu/maverick/fuse

Proposed by Barry Warsaw
Status: Merged
Merge reported by: Barry Warsaw
Merged at revision: not available
Proposed branch: lp:~barry/ubuntu/maverick/fuse/bug-697792-m
Merge into: lp:ubuntu/maverick/fuse
Diff against target: 51 lines (+21/-5)
2 files modified
debian/changelog (+9/-0)
debian/fuse-utils.postinst (+12/-5)
To merge this branch: bzr merge lp:~barry/ubuntu/maverick/fuse/bug-697792-m
Reviewer Review Type Date Requested Status
Ubuntu Development Team Pending
Review via email: mp+47473@code.launchpad.net

Description of the change

Backport of Natty fix, ready for SRU

To post a comment you must log in.
44. By Barry Warsaw

-> maverick-proposed

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2010-09-24 12:09:38 +0000
+++ debian/changelog 2011-01-26 01:12:10 +0000
@@ -1,3 +1,12 @@
1fuse (2.8.4-1ubuntu2) maverick-proposed; urgency=low
2
3 * debian/fuse-utils.postinst:
4 Respect local modifications to /etc/fuse.conf by not changing the
5 ownership or mode of /etc/fuse.conf in the postinst file unless we're
6 also adding the fuse group for the first time. (LP: #697792)
7
8 -- Barry Warsaw <barry@ubuntu.com> Tue, 25 Jan 2011 20:08:08 -0500
9
1fuse (2.8.4-1ubuntu1) maverick; urgency=low10fuse (2.8.4-1ubuntu1) maverick; urgency=low
211
3 * Resynchronise with Debian (fixing hang with auditd, LP: #634554).12 * Resynchronise with Debian (fixing hang with auditd, LP: #634554).
413
=== modified file 'debian/fuse-utils.postinst'
--- debian/fuse-utils.postinst 2010-01-13 14:48:39 +0000
+++ debian/fuse-utils.postinst 2011-01-26 01:12:10 +0000
@@ -6,9 +6,15 @@
6case "$1" in6case "$1" in
7 configure|upgrade)7 configure|upgrade)
8 8
9 # Create fuse group9 # Create fuse group. If the group does not exist, then it's also highly
10 echo "creating fuse group..."10 # unlikely that /etc/fuse.conf exists with local modifications, so only in
11 getent group fuse >/dev/null || addgroup --system fuse11 # this case do we set the ownership of that file. LP: #679792
12 if ! getent group fuse >/dev/null; then
13 echo "creating fuse group and modifying ownership of /etc/fuse.conf..."
14 addgroup --system fuse
15 chmod 0640 /etc/fuse.conf
16 chown root:fuse /etc/fuse.conf
17 fi
12 18
13 # Detect if udev is active19 # Detect if udev is active
14 udev=020 udev=0
@@ -45,8 +51,9 @@
4551
46 test -f /etc/default/fuse-utils && rm -f /etc/default/fuse-utils52 test -f /etc/default/fuse-utils && rm -f /etc/default/fuse-utils
47 53
48 chown root:fuse /etc/fuse.conf54 # LP: #697792
49 chmod 0640 /etc/fuse.conf55 #chown root:fuse /etc/fuse.conf
56 #chmod 0640 /etc/fuse.conf
5057
51 if ! grep -qw fuse /proc/filesystems; then58 if ! grep -qw fuse /proc/filesystems; then
52 # try to load the module59 # try to load the module

Subscribers

People subscribed via source and target branches

to all changes: