Bug#917124: systemd: local-fs.target fails with result 'dependency'
Ben Caradoc-Davies
ben at transient.nz
Sun Dec 23 00:38:09 GMT 2018
On 23/12/2018 13:11, Michael Biebl wrote:
> Am 23.12.18 um 00:58 schrieb Ben Caradoc-Davies:
>> Failure was seen with linux-image-4.19.0-1-amd64 4.19.9-1. (Needed to
>> boot an 4.18.0-3-amd64 initramfs to get a working system.)
> So 4.18 works and 4.19 fails?
No, 239-15 works with either kernel, and 240-1 fails, only tested with
the 4.19 kernel. Downgrading to 239-15 makes 4.19 bootable.
> Can you provide a verbose debug log as requested in my previous reply?
"journalctl -alb" output attached to my previous email. Please let me
know if you require
> Can you share more details about your cryptsetup configuration?
An unexciting LVM/LUKS configuration with a single PV, single VG, and
two LVs (root and home), alongside non-LUKS boot and efi:
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 94M 0 part /boot/efi
├─sda2 8:2 0 572M 0 part /boot
└─sda3 8:3 0 232.2G 0 part
└─sda3_crypt 253:0 0 232.2G 0 crypt
├─vg-root 253:1 0 28G 0 lvm /
└─vg-home 253:2 0 204.3G 0 lvm /home
# cat /etc/crypttab
sda3_crypt UUID=79581759-44e0-49e0-9b31-118a456d8415 none luks,discard
I also have in /etc/lvm/lvm.conf:
issue_discards = 1
fstab is attached to the original report.
# cat /etc/fstab
/dev/mapper/vg-root / ext4
noatime,errors=remount-ro 0 1
/dev/sda2 /boot ext4
noatime,errors=remount-ro 0 2
/dev/sda1 /boot/efi vfat noatime,umask=077
0 2
/dev/mapper/vg-home /home ext4
noatime,errors=remount-ro 0 2
[...]
One possible cause might be my many, many masked services. Could
local-fs.target be trying to start one of these?:
$ ls -al /etc/systemd/system
total 44
drwxr-xr-x 11 root root 4096 Dec 21 09:18 ./
drwxr-xr-x 5 root root 4096 Dec 23 13:18 ../
lrwxrwxrwx 1 root root 9 Apr 15 2017 anacron-resume.service ->
/dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 anacron.service -> /dev/null
lrwxrwxrwx 1 root root 9 Jun 3 2017 anacron.timer -> /dev/null
lrwxrwxrwx 1 root root 9 Dec 8 2017 apparmor.service -> /dev/null
lrwxrwxrwx 1 root root 9 Oct 16 09:52 apt-daily-upgrade.service ->
/dev/null
lrwxrwxrwx 1 root root 9 May 5 2017 apt-daily-upgrade.timer ->
/dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 apt-daily.service -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 apt-daily.timer -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 atd.service -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 avahi-daemon.service -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 avahi-daemon.socket -> /dev/null
lrwxrwxrwx 1 root root 9 Dec 12 2017 bluetooth.service -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 bluetooth.target -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 17 2017 colord.service -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 cron.service -> /dev/null
lrwxrwxrwx 1 root root 42 Nov 27 2017
dbus-fi.w1.wpa_supplicant1.service ->
/lib/systemd/system/wpa_supplicant.service
lrwxrwxrwx 1 root root 9 Apr 15 2017 dbus-org.bluez.service ->
/dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017
dbus-org.freedesktop.Avahi.service -> /dev/null
lrwxrwxrwx 1 root root 40 Apr 15 2017
dbus-org.freedesktop.ModemManager1.service ->
/lib/systemd/system/ModemManager.service
lrwxrwxrwx 1 root root 53 Apr 15 2017
dbus-org.freedesktop.nm-dispatcher.service ->
/lib/systemd/system/NetworkManager-dispatcher.service
lrwxrwxrwx 1 root root 43 Jul 9 2017
dbus-org.freedesktop.thermald.service ->
/lib/systemd/system/thermald-custom.service
lrwxrwxrwx 1 root root 35 Oct 8 10:21 display-manager.service ->
/lib/systemd/system/lightdm.service
lrwxrwxrwx 1 root root 9 Apr 15 2017 exim4.service -> /dev/null
drwxr-xr-x 2 root root 4096 Apr 15 2017 getty.target.wants/
drwxr-xr-x 2 root root 4096 Jul 27 2017 graphical.target.wants/
lrwxrwxrwx 1 root root 30 Apr 15 2017 iptables.service ->
/etc/iptables/iptables.service
drwxr-xr-x 2 root root 4096 Apr 15 2017 local-fs.target.wants/
drwxr-xr-x 2 root root 4096 Dec 21 09:41 multi-user.target.wants/
drwxr-xr-x 2 root root 4096 Feb 23 2018 network-online.target.wants/
lrwxrwxrwx 1 root root 9 Oct 12 18:12 postgresql.service -> /dev/null
lrwxrwxrwx 1 root root 9 Oct 12 18:13 'postgresql at 11-main.service'
-> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 pppd-dns.service -> /dev/null
drwxr-xr-x 2 root root 4096 Apr 15 2017 printer.target.wants/
lrwxrwxrwx 1 root root 9 Apr 15 2017 remote-fs.target -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 rpcbind.target -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 rsync.service -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 smartcard.target -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 15 2017 smartd.service -> /dev/null
drwxr-xr-x 2 root root 4096 Apr 15 2017 sockets.target.wants/
lrwxrwxrwx 1 root root 31 Apr 15 2017 sshd.service ->
/lib/systemd/system/ssh.service
drwxr-xr-x 2 root root 4096 Dec 22 18:28 sysinit.target.wants/
lrwxrwxrwx 1 root root 35 Apr 15 2017 syslog.service ->
/lib/systemd/system/rsyslog.service
lrwxrwxrwx 1 root root 9 Jun 24 12:02 systemd-timesyncd.service ->
/dev/null
lrwxrwxrwx 1 root root 9 Apr 18 2017
systemd-tmpfiles-clean.service -> /dev/null
lrwxrwxrwx 1 root root 9 Apr 18 2017 systemd-tmpfiles-clean.timer
-> /dev/null
lrwxrwxrwx 1 root root 9 Jul 9 2017 thermald.service -> /dev/null
drwxr-xr-x 2 root root 4096 Aug 22 09:08 timers.target.wants/
lrwxrwxrwx 1 root root 28 Apr 15 2017 tmp.mount ->
/usr/share/systemd/tmp.mount
Kind regards,
--
Ben Caradoc-Davies <ben at transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand
More information about the Pkg-systemd-maintainers
mailing list