On 2015-01-10 15:05, Holger Levsen wrote: >> This seems to be an udevadm 'bug' instead, it can't handle unreachable >> /proc/cmdline . Is there any policy that a package should install >> while /proc is unavailable? > > packages may be in non working state, but I'd argue that installation itself > must still not fail...
after adding set -x to the postinst I get # dpkg --configure --pending Setting up ovirt-guest-agent (1.0.10.2.dfsg-1) ... + set -e + udevadm control --reload-rules dpkg: error processing package ovirt-guest-agent (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: ovirt-guest-agent Well, udevadm inside the chroot is not able to manipulate the udev on the host. And we better keep it this way :-) udev itself checks whether it is being installed in a chroot and does take no action (like (re-)starting itself) this case there is a ischroot utility (in debianutils) that could be used to guard the udevadm actions in your postinst: if not ischroot; then udevadm --foo --bar fi Andreas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org