![](https://seccdn.libravatar.org/avatar/d3cd6102005a21f892d5f0bc526fb343.jpg?s=120&d=mm&r=g)
On Sat, 13 Jan 2018 11:27:57 +0300 Andrei Borzenkov <arvidjaar@gmail.com> wrote:
13.01.2018 11:21, Paul Neuwirth пишет:
Hello, I have an Issue on several machines using Leap 42.2 or 42.3, sometimes wicked fails on boot. Login in on console and doing systemctl restart wicked always works... I want know to find out the problem.
On this (virtual) machine, with recent Leap 42.3 installed, following happens: network get setup in initrd, iscsi device gets mounted read-only, root is being switched, and wicked failes due to read-only mount, I think.
What exactly "failes" means?
good question.. status is not failed.. but network setup is incomplete (hostname not set, dns not working..), wicked says "device-unconfigured" this it what I did intentionally after this boot: linux-a6jk login: root Password: Last login: Fri Jan 12 11:09:55 on hvc0 Have a lot of fun... ifclinux-a6jk:~ # ifconfig eth0 Link encap:Ethernet HWaddr 00:16:3E:37:02:1C inet addr:172.18.0.81 Bcast:172.18.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17217 errors:0 dropped:75 overruns:0 frame:0 TX packets:15328 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:88934060 (84.8 Mb) TX bytes:6674371 (6.3 Mb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:2072624 errors:0 dropped:0 overruns:0 frame:0 TX packets:2072624 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:159594836 (152.2 Mb) TX bytes:159594836 (152.2 Mb) linux-a6jk:~ # systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● auditd.service loaded failed failed Security Auditing Service ● xenstored.service loaded failed failed The Xen xenstore LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. linux-a6jk:~ # systemctl status wicked ● wicked.service - wicked managed network interfaces Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled; vendor preset: disabled) Active: active (exited) since Sat 2018-01-13 09:06:41 CET; 1min 20s ago Process: 1749 ExecStart=/usr/sbin/wicked --systemd ifup all (code=exited, status=0/SUCCESS) Main PID: 1749 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 512) CGroup: /system.slice/wicked.service Jan 13 09:06:11 linux-a6jk systemd[1]: Starting wicked managed network inte..... Jan 13 09:06:11 linux-a6jk wicked[1749]: device lo: unable to apply configur...y Jan 13 09:06:11 linux-a6jk wicked[1749]: device eth0: unable to apply config...y Jan 13 09:06:41 linux-a6jk wicked[1749]: lo device-unconfigured Jan 13 09:06:41 linux-a6jk wicked[1749]: eth0 device-unconfigured Jan 13 09:06:41 linux-a6jk systemd[1]: Started wicked managed network inter...s. Hint: Some lines were ellipsized, use -l to show in full. linux-a6jk:~ # systemctl status wicked -l ● wicked.service - wicked managed network interfaces Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled; vendor preset: disabled) Active: active (exited) since Sat 2018-01-13 09:06:41 CET; 1min 35s ago Process: 1749 ExecStart=/usr/sbin/wicked --systemd ifup all (code=exited, status=0/SUCCESS) Main PID: 1749 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 512) CGroup: /system.slice/wicked.service Jan 13 09:06:11 linux-a6jk systemd[1]: Starting wicked managed network interfaces... Jan 13 09:06:11 linux-a6jk wicked[1749]: device lo: unable to apply configuration to nanny Jan 13 09:06:11 linux-a6jk wicked[1749]: device eth0: unable to apply configuration to nanny Jan 13 09:06:41 linux-a6jk wicked[1749]: lo device-unconfigured Jan 13 09:06:41 linux-a6jk wicked[1749]: eth0 device-unconfigured Jan 13 09:06:41 linux-a6jk systemd[1]: Started wicked managed network interfaces. linux-a6jk:~ # systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● storage.mount loaded failed failed /storage ● auditd.service loaded failed failed Security Auditing Service ● xenstored.service loaded failed failed The Xen xenstore LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 3 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. linux-a6jk:~ # mount -av swap : ignored / : ignored /boot : already mounted /boot/grub2/i386-pc : already mounted /boot/grub2/x86_64-efi : already mounted /home : already mounted /opt : already mounted /srv : already mounted /tmp : already mounted /usr/local : already mounted /var/cache : already mounted /var/crash : already mounted /var/lib/libvirt/images : already mounted /var/lib/machines : already mounted /var/lib/mailman : already mounted /var/lib/mariadb : already mounted /var/lib/mysql : already mounted /var/lib/named : already mounted /var/lib/pgsql : already mounted /var/log : already mounted /var/opt : already mounted /var/spool : already mounted /var/tmp : already mounted mount.nfs: timeout set for Sat Jan 13 09:13:31 2018 ^C linux-a6jk:~ # ping alpha.swabian.net ping: unknown host alpha.swabian.net linux-a6jk:~ # systemctl restart wicked -l linux-a6jk:~ # ping alpha.swabian.net PING alpha.swabian.net (172.18.0.1) 56(84) bytes of data. 64 bytes from alpha.swabian.net (172.18.0.1): icmp_seq=1 ttl=64 time=0.525 ms ^C --- alpha.swabian.net ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.525/0.525/0.525/0.000 ms linux-a6jk:~ # mount -av swap : ignored / : ignored /boot : already mounted /boot/grub2/i386-pc : already mounted /boot/grub2/x86_64-efi : already mounted /home : already mounted /opt : already mounted /srv : already mounted /tmp : already mounted /usr/local : already mounted /var/cache : already mounted /var/crash : already mounted /var/lib/libvirt/images : already mounted /var/lib/machines : already mounted /var/lib/mailman : already mounted /var/lib/mariadb : already mounted /var/lib/mysql : already mounted /var/lib/named : already mounted /var/lib/pgsql : already mounted /var/log : already mounted /var/opt : already mounted /var/spool : already mounted /var/tmp : already mounted mount.nfs: timeout set for Sat Jan 13 09:15:06 2018 mount.nfs: trying text-based options 'soft,timeo=50,retrans=5,actimeo=10,retry=5,vers=4,addr=172.18.0.1,clientaddr=172.18.0.81' /storage : successfully mounted /backup : ignored /home/pane/Documents : already mounted /home/pane/Downloads : already mounted /home/pane/finanzen : already mounted /home/pane/.gnupg : already mounted linux-a6jk:~ #
...
Jan 13 09:05:49 linux-a6jk systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped Jan 13 09:05:49 linux-a6jk systemd[1]: wicked.service: Found ordering cycle on wicked.service/start Jan 13 09:05:49 linux-a6jk systemd[1]: wicked.service: Found dependency on wickedd-nanny.service/start Jan 13 09:05:49 linux-a6jk systemd[1]: wicked.service: Found dependency on local-fs.target/start Jan 13 09:05:49 linux-a6jk systemd[1]: wicked.service: Found dependency on home-pane-.gnupg.mount/start Jan 13 09:05:49 linux-a6jk systemd[1]: wicked.service: Found dependency on storage.mount/start Jan 13 09:05:49 linux-a6jk systemd[1]: wicked.service: Found dependency on network.target/start Jan 13 09:05:49 linux-a6jk systemd[1]: wicked.service: Found dependency on wicked.service/start Jan 13 09:05:49 linux-a6jk systemd[1]: wicked.service: Breaking ordering cycle by deleting job wickedd-nanny.service/start Jan 13 09:05:49 linux-a6jk systemd[1]: wickedd-nanny.service: Job wickedd-nanny.service/start deleted to break ordering cycle starting with wicked.service/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found dependency on local-fs.target/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found dependency on home-pane-.gnupg.mount/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found dependency on storage.mount/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found dependency on network.target/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found dependency on wicked.service/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found dependency on wickedd.service/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found dependency on wickedd-dhcp4.service/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Found dependency on sysinit.target/start Jan 13 09:05:49 linux-a6jk systemd[1]: sysinit.target: Breaking ordering cycle by deleting job local-fs.target/start Jan 13 09:05:49 linux-a6jk systemd[1]: local-fs.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
you have dependency loop apparently due ti /home/pane/.gnupg mount. Please show /etc/fstab line for this filesystem. Is it on iSCSI?
interesting... that could be the cause (also for the other machines...) the relevant lines are: alpha.swabian.net:/storage /storage nfs soft,timeo=50,retrans=5,actimeo=10,retry=5,nofail 0 0 /storage/pane/.gnupg /home/pane/.gnupg none defaults,bind,auto 0 0 but I do not understand why. It's on NFS, or better to say a bind mount to a NFS directory. mount says: alpha.swabian.net:/storage on /storage type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,acregmin=10,acregmax=10,acdirmin=10,acdirmax=10,soft,proto=tcp,port=0,timeo=50,retrans=5,sec=sys,clientaddr=172.18.0.81,local_lock=none,addr=172.18.0.1) alpha.swabian.net:/storage/pane/.gnupg on /home/pane/.gnupg type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,acregmin=10,acregmax=10,acdirmin=10,acdirmax=10,soft,proto=tcp,port=0,timeo=50,retrans=5,sec=sys,clientaddr=172.18.0.81,local_lock=none,addr=172.18.0.1) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org