Cannot upgrade in a chroot withour /proc

Bug #21251 reported by Laurent Bonnaud
4
Affects Status Importance Assigned to Milestone
gimp-print (Ubuntu)
Invalid
Medium
Tollef Fog Heen

Bug Description

Hi,

I have a hoary chroot that I'm trying to upgrade to breezy.
In this chroot, /proc is not mounted. Other packages that try
to start and stop daemons do not fail, but cupsys-driver-gimpprint
does fail:

Setting up cupsys-driver-gimpprint (4.2.7-10) ...
No Gimp-Print PPD files to update.
 * Restarting Common Unix Printing System: cupsd
 *art-stop-daemon: nothing in /proc - not mounted? (Success)
               [fail]
dpkg: error processing cupsys-driver-gimpprint (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 cupsys-driver-gimpprint
E: Sub-process /usr/bin/dpkg returned an error code (1)

A workaround is easy, but cupsys-driver-gimpprint should be fixed
to behave like other packages.

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

This is how start-stop-daemon works when using --exec.
You will see the same behaviour for other packages too; from a quick skim
of my /etc/init.d, at least dict and acpid will work in the same way.

Just mount /proc, it should really be mounted there anyhow.

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.