Andrei Borzenkov wrote:
01.05.2018 12:04, Per Jessen пишет:
Jan Ritzerfeld wrote:
Am Montag, 30. April 2018, 11:53:06 CEST schrieb Per Jessen:
[...] It looks like there's a problem with multipath - the network interface is defined as 'nfsroot', that works fine. Before I go and hook up a serial console, I was hoping to find the shutdown process in the log (/var/log/messages). All I get is "syslog-ng[1083]: syslog-ng shutting down; version='3.14.1'" - any chance syslog-ng is being shut down too soon?
Hmm, I don't use syslog. However, to debug shutdown problems and get the shutdown log: https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1 Since the shutdown never finishes, use the debug shell that stays active until late shutdown. See "Early Debug Shell" beneath https://freedesktop.org/wiki/Software/systemd/Debugging/#index1h1
It looks like iscsid is being shut down before the mounts have completed unmount.
Is it with your drop-ins?
Hi Andrei, No, this log was without the drop-ins.
Can you generate full log from boot to shutdown using systemd.log_level=debug on kernel command line? You can additionally try something like
log_buf_len=64M printk.devkmsg=on systemd.log_target=kmsg
Okay, I'll try that.
The first sets kernel log buffer size, the second disables rate limiting for user space and last one makes systemd put everything in kmsg. Then on shutdown you should be able to simply save output of dmesg to get complete log.
Will a serial console capture be good enough? [snip]
At this point, srv-www has not yet completed unmount.
iscsi.service: Job iscsi.service/stop finished, result=done srv-www.mount: Unmounting timed out. Stopping. srv-www.mount: Changed unmounting -> unmounting-sigterm srv-www.mount: Unmounting timed out. Killing. srv-www.mount: Killing process 4620 (umount) with signal SIGKILL. srv-www.mount: Changed unmounting-sigterm -> unmounting-sigkill
Well, your other mail says you have explicit After=iscsi.service, so the only reason for this I can think of is dependency loop.
The above was without the drop-in (with explicit After=iscsi.service) - once I added the drop-ins, things are working fine. -- Per Jessen, Zürich (10.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org