Package: pbuilder Version: 0.196 Severity: normal pbuilder currently creates a policy-rc.d that prevents daemons from starting when they are installed to satisfy build dependencies. This works well for sysvinit packages.
However, when working with Ubuntu Lucid[0] chroots, many daemons use upstart instead of sysvinit. Thus, they ignore policy-rc.d, try (and fail) to start, further causing the postinst, dpkg, satisfybuildepends and ultimately the entire pdebuild to fail. According to CJ Watson of #ubuntu-devel, this can be done by diverting /sbin/initctl and substituting a stub. An example of this can be seen in debootstrap's "gutsy" script (excerpt below). Please add something similar, I guess to /usr/lib/pbuilder/pbuilder-modules:mountproc. mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" echo \ "#!/bin/sh echo echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" chmod 755 "$TARGET/sbin/start-stop-daemon" if [ -x "$TARGET/sbin/initctl" ]; then mv "$TARGET/sbin/initctl" "$TARGET/sbin/initctl.REAL" echo \ "#!/bin/sh echo echo \"Warning: Fake initctl called, doing nothing\"" > "$TARGET/sbin/initctl" chmod 755 "$TARGET/sbin/initctl" fi [0] In theory this was an issue with earlier Ubuntu releases, but it seems to be far more prevalent in Lucid. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-23-openvz (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pbuilder depends on: ii cdebootstrap 0.5.5 Bootstrap a Debian system ii coreutils 8.4-1 GNU core utilities ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy ii debianutils 3.2.2 Miscellaneous utilities specific t ii debootstrap 1.0.20 Bootstrap a basic Debian system ii wget 1.12-1.1 retrieves files from the web Versions of packages pbuilder recommends: ii devscripts 2.10.61 scripts to make the life of a Debi ii fakeroot 1.14.4-1 Gives a fake root environment ii sudo 1.7.2p1-1 Provide limited super user privile Versions of packages pbuilder suggests: pn cowdancer <none> (no description available) pn gdebi-core <none> (no description available) pn pbuilder-uml <none> (no description available) -- debconf information: pbuilder/rewrite: false * pbuilder/mirrorsite: http://mirror.internode.on.net/pub/debian * pbuilder/nomirror: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org