mountall preinst script does not work with fakechroot variant

Bug #675269 reported by Piotr Roszatycki
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mountall (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mountall

Can't setup fakechroot environment because mountall package tries to remove the file which can't be accessible without root privileges.

The fix is trivial and preinst just checks if it is ran inside fakechroot environment.

Tags: patch

Related branches

Revision history for this message
Piotr Roszatycki (dexter) wrote :
tags: added: patch
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for your patch! One change is necessary:

  "$FAKECHROOT" != true

needs to be:

  [ "$FAKECHROOT" != true ]

I'll apply this change and upload to natty.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mountall - 2.20

---------------
mountall (2.20) natty; urgency=low

  * Don't try to remove /dev/.udev/rules.d/root.rules when running inside
    fakechroot (thanks, Piotr Roszatycki; LP: #675269).
  * Consider gfs2 filesystems to be remote (thanks, Steve Wilson;
    LP: #582278).
  * Consider ceph filesystems to be remote (thanks, Ravi Pinjala;
    LP: #677960).
 -- Colin Watson <email address hidden> Mon, 29 Nov 2010 16:44:44 +0000

Changed in mountall (Ubuntu):
status: New → 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.