uninstalling fuse-utils removes group 'fuse' then tries to use it

Bug #5774 reported by Chris Moore
8
Affects Status Importance Assigned to Milestone
fuse (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

fuse-utils.prerm does this:
  delgroup $FUSE_GROUP || true

and then

fuse-utils.postrm tries to do this:
  dpkg-statoverride --remove /usr/bin/fusermount 2>/dev/null || true

but since group 'fuse' has already been deleted, the dpkg-statoverride fails.

This results in an old statoverride being left in place for group 'fuse' without the group existing, which causes all subsequent dpkg invokations, whether for fuse or for any other package, to fail.

This happened for me once today, but after manually removing the statoverride I couldn't get it to happen again. Installing fuse-utils no longer created the 'fuse' group - I'm not sure why.

Revision history for this message
PtOLU8zjbZxlgNOiyGyd (lkgdx5kefrptmd7ccufa-deactivatedaccount) wrote :

I can confirm it. It is fixed in Debian's package fuse-utils 2.5.2-2 and it fixes bugs #307627, #342826, #310964, #306281 and #307624.

It would be nice to have an update to fuse-utils so that Dapper has a fuse subsystem that actually works ;-). My apologies to suggest it after feature freeze; but didn't need to use it before.

Matt Zimmerman (mdz)
Changed in fuse:
assignee: nobody → pitti
Changed in fuse:
status: Unconfirmed → Confirmed
Revision history for this message
Chris Moore (dooglus) wrote :

Was my original bug report somehow lacking? I raised it over 4 months ago but it seems to have been ignored until now.

Revision history for this message
Martin Pitt (pitti) wrote :

@Chris: the report is fine, I just didn't find time so far to fix it, sorry.

Revision history for this message
Martin Pitt (pitti) wrote :

 fuse (2.4.2-0ubuntu3) dapper; urgency=low
 .
   * debian/fuse-utils.postrm:
     - Move group deletion from preinst to postinst (after dpkg-statoverride)
       to not break the statoverride.
     - Add missing is_true function (copied from preinst).
     - Closes: LP#5774
   * Removed now useless debian/fuse-utils.prerm.
   * debian/fuse-utils.postinst:
     - Reload udev to make the newly created group known to udev.
     - Load the fuse module or re-udevplug it if already loaded to ensure
       proper permissions.

Changed in fuse:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.