udev post installation script fails

Roland Fries roland.fries at cross-mail.com
Tue Apr 9 20:39:30 BST 2019


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.

How can I fix this ?

kind regards

Roland




More information about the Pkg-systemd-maintainers mailing list