On Fri, Jan 24, 2014 at 9:45 AM, 刘洋 <amankw...@gmail.com> wrote: > journalctl --boot=-1 > -- Logs begin at Tuesday 2013-12-24 21:48:33 CST, end at Friday > 2014-01-24 22:38:38 CST. -- > 1月 24 21:54:22 diamond systemd[3061]: Failed to open private bus > connection: Failed to connect to socket > /run/user/1000/dbus/user_bus_socket: No such file or directory > 1月 24 21:54:22 diamond systemd[3061]: Mounted /sys/kernel/config. > 1月 24 21:54:22 diamond systemd[3061]: Mounted /sys/fs/fuse/connections. > 1月 24 21:54:22 diamond systemd[3061]: Stopped target Bluetooth. > 1月 24 21:54:22 diamond systemd[3061]: Stopped target Sound Card. > 1月 24 21:54:22 diamond systemd[3061]: Starting Default. > 1月 24 21:54:22 diamond systemd[3061]: Reached target Default. > 1月 24 21:54:22 diamond systemd[3061]: Startup finished in 419ms. > 1月 24 21:54:31 diamond pulseaudio[3293]: [pulseaudio] pid.c: Daemon > already running. > 1月 24 21:54:31 diamond pulseaudio[3296]: [pulseaudio] pid.c: Daemon > already running. > 1月 24 21:54:31 diamond pulseaudio[3299]: [pulseaudio] pid.c: Daemon > already running. > 1月 24 21:54:31 diamond pulseaudio[3301]: [pulseaudio] pid.c: Daemon > already running. > 1月 24 21:55:01 diamond sudo[3362]: amankwah : TTY=pts/4 ; > PWD=/home/amankwah ; USER=root ; COMMAND=/bin/sh > 1月 24 22:34:32 diamond systemd[3061]: Stopping Default. > 1月 24 22:34:32 diamond systemd[3061]: Stopped target Default. > 1月 24 22:34:32 diamond systemd[3061]: Starting Shutdown. > 1月 24 22:34:32 diamond systemd[3061]: Reached target Shutdown. > 1月 24 22:34:49 diamond pulseaudio[3279]: [pulseaudio] core-util.c: > Failed to create secure directory (/run/user/1000/pulse): No such file > or directory > > These are the output of the command on my system after hangs. but why > I saw nothing about my NFS directories? > > I added the script to the path, and the system shutdown correctly, but > the time is too long, every NFS directory complained the timeout due > to and then umounted, maybe it took about 10 minutes for choosing the > shutdown under desktop to the system poweroff automatically.
10 minutes looks awfully long to me... and then I saw again your fstab. You explicitly set a timeout of 10 milliseconds; but what if there is a bug in systemd that parses 10ms (milliseconds) as 10m (minutes)? Just to try, change your fstab to set x-systemd.device-timeout=5; without a suffix, so the time specified should be in seconds. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México