Bug#794050: udev: initramfs-tools-hook fails with: find: '/etc/systemd/network': No such file or directory

Dirk Griesbach spamthis at freenet.de
Thu Jul 30 05:56:52 BST 2015


Package: udev
Version: 223-1
Severity: important

Hello,

Installing 223-1 leads to the following error message:
,----
| [...]
| Setting up initramfs-tools (0.120) ...
| update-initramfs: deferring update (trigger activated)
| Processing triggers for initramfs-tools (0.120) ...
| update-initramfs: Generating /boot/initrd.img-4.1.3
| cryptsetup: WARNING: failed to detect canonical device of /dev/sda1
| cryptsetup: WARNING: could not determine root device from /etc/fstab
| find: '/etc/systemd/network': No such file or directory
| E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
| update-initramfs: failed for /boot/initrd.img-4.1.3 with 1.
| dpkg: error processing package initramfs-tools (--configure):
|  subprocess installed post-installation script returned error exit status 1
| Errors were encountered while processing:
|  initramfs-tools
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| #
`----

The hook in question changed behaviour from udev 222 to 223 where the
explicit test for directories /etc/systemd/network and
/lib/systemd/network to copy *.link files was replaced by a non
conditional find. The latter fails as at least /etc/systemd/network is
not present on (my) sysvinit-powered systems.

Thanks,
Dirk

-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.1.3 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages udev depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.57
ii  dpkg                   1.18.1
ii  libacl1                2.2.52-2
ii  libblkid1              2.26.2-9
ii  libc6                  2.19-19
ii  libgcc1                1:5.1.1-14
ii  libkmod2               21-1
ii  libselinux1            2.3-2+b1
ii  libudev1               223-1
ii  lsb-base               4.1+Debian13+nmu1
ii  procps                 2:3.3.10-2
ii  util-linux             2.26.2-9

udev recommends no packages.

udev suggests no packages.

-- debconf information:
  udev/new_kernel_needed: false
  udev/sysfs_deprecated_incompatibility:
  udev/reboot_needed:
  udev/title/upgrade:




More information about the Pkg-systemd-maintainers mailing list