Cannot upgrade in a chroot withour /proc
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-
does fail:
Setting up cupsys-
No Gimp-Print PPD files to update.
* Restarting Common Unix Printing System: cupsd
*art-stop-daemon: nothing in /proc - not mounted? (Success)
dpkg: error processing cupsys-
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
cupsys-
E: Sub-process /usr/bin/dpkg returned an error code (1)
A workaround is easy, but cupsys-
to behave like other packages.
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.