udev post installation script fails

Michael Biebl biebl at debian.org
Tue Apr 9 21:01:41 BST 2019


Am 09.04.19 um 21:39 schrieb Roland Fries:
> Hello,
> 
> my udev post installation script fails for quite some time now.
> 
> I was lazy and hoped that a new udev version would fix that issue, but
> it didn't.
> 
> Here is the output:
> 
> root at cross-mail:~# LANG=C dpkg -D2 --configure -a
> Setting up udev (215-17+deb8u11) ...
> D000002: fork/exec /var/lib/dpkg/info/udev.postinst ( configure
> 215-17+deb8u7 )
> + update_hwdb
> + udevadm hwdb --update --usr
> + addgroup --system input
> addgroup: The group `input' already exists as a system group. Exiting.
> + [ -z 215-17+deb8u7 ]
> + upgrade_fixes configure 215-17+deb8u7
> + chrooted
> + stat -c %d/%i /
> + stat -Lc %d/%i /proc/1/root
> + [ 2049/2 = 2049/2 ]
> + return 1
> + [ -d /dev/.udev/ -a ! -d /run/udev/ ]
> + dpkg --compare-versions 215-17+deb8u7 lt 171-3
> + dpkg --compare-versions 215-17+deb8u7 lt 204-1
> + chrooted
> + stat -c %d/%i /
> + stat -Lc %d/%i /proc/1/root
> + [ 2049/2 = 2049/2 ]
> + return 1
> + [ -e /etc/udev/kernel-upgrade ]
> + can_start_udevd
> + supported_kernel
> + uname -r
> + return 0
> + [ ! -d /sys/class/ ]
> + ps --no-headers --format args ax
> + egrep -q ^\[
> + grep -q [[:space:]]devtmpfs$ /proc/filesystems
> + [ -e /etc/udev/disabled ]
> + return 0
> + handle_service_rename
> + dpkg --compare-versions  lt 204-1
> + [ -d /run/systemd/system ]
> + systemctl stop udev.service udev-control.socket udev-kernel.socket
> + true
> + rm -f /run/systemd/system/systemd-udevd.service
> + rm -f /run/systemd/system/udev.service
> + [ -d /run/systemd/system ]
> + systemctl daemon-reload
> + invoke-rc.d udev restart
> dpkg: error processing package udev (--configure):
>  subprocess installed post-installation script returned error exit
> status 102
> Errors were encountered while processing:
>  udev
> 
> Why are those two "return 1" in there ?
> 
> The comparison should return 0 because statement [ 2049/2 = 2049/2 ] is
> true.

What makes you think so? chrooted() returns 1 if you are not in a chroot.


> How can I fix this ?

Check why
invoke-rc.d udev restart
fails.
That's your culprit.
That said, jessie is no longer supported, please upgrade.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190409/349d1207/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list