[Pkg-systemd-maintainers] Bug#719945: Bug#719945: systemd: Hangs during shutdown (likely NFS-related)
Andreas Kloeckner
inform at tiker.net
Mon Aug 19 23:44:06 BST 2013
Michael Biebl <biebl at debian.org> writes:
> Am 17.08.2013 05:42, schrieb Andreas Kloeckner:
>> Package: systemd
>> Version: 204-2
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> I am booting a system that has NFS mounts:
>>
>> 192.168.1.1:/mnt/main /mnt/nfs-main nfs
>> soft,local_lock=all,timeo=30,vers=3 0 0
>> 192.168.1.1:/mnt/aux /mnt/nfs-aux nfs
>> soft,local_lock=all,timeo=30,vers=3 0 0
>
> Can you mark the fstab entries with the _netdev mount option and try
> again, please. This should tell systemd to mark the mount point as a
> remote mount.
Yep, looks like that helped.
> The output of
------------------------------------------------------
$ systemctl show mnt-nfs-mount.mount
Id=mnt-nfs-mount.mount
Names=mnt-nfs-mount.mount
Description=mnt-nfs-mount.mount
LoadState=error
ActiveState=inactive
SubState=dead
InactiveExitTimestampMonotonic=0
ActiveEnterTimestampMonotonic=0
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=yes
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=yes
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestampMonotonic=0
ConditionResult=no
LoadError=org.freedesktop.DBus.Error.FileNotFound "No such file or directory"
TimeoutUSec=1min 30s
ControlPID=0
DirectoryMode=0755
Result=success
UMask=0022
LimitCPU=18446744073709551615
LimitFSIZE=18446744073709551615
LimitDATA=18446744073709551615
LimitSTACK=18446744073709551615
LimitCORE=18446744073709551615
LimitRSS=18446744073709551615
LimitNOFILE=65536
LimitAS=18446744073709551615
LimitNPROC=257403
LimitMEMLOCK=65536
LimitLOCKS=18446744073709551615
LimitSIGPENDING=257403
LimitMSGQUEUE=819200
LimitNICE=0
LimitRTPRIO=0
LimitRTTIME=18446744073709551615
OOMScoreAdjust=0
Nice=0
IOScheduling=0
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SecureBits=0
CapabilityBoundingSet=18446744073709551615
MountFlags=0
PrivateTmp=no
PrivateNetwork=no
SameProcessGroup=yes
ControlGroupModify=no
ControlGroupPersistent=no
IgnoreSIGPIPE=yes
NoNewPrivileges=no
KillMode=control-group
KillSignal=15
SendSIGKILL=yes
------------------------------------------------------
and
------------------------------------------------------
$ systemctl show remote-fs-pre.target remote-fs.target
Id=remote-fs-pre.target
Names=remote-fs-pre.target
Conflicts=shutdown.target
Before=remote-fs.target mnt-nfs\x2dmain.mount mnt-nfs\x2daux.mount
Documentation=man:systemd.special(7)
Description=Remote File Systems (Pre)
LoadState=loaded
ActiveState=inactive
SubState=dead
FragmentPath=/lib/systemd/system/remote-fs-pre.target
UnitFileState=static
InactiveExitTimestampMonotonic=0
ActiveEnterTimestampMonotonic=0
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=no
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=yes
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestampMonotonic=0
ConditionResult=no
Id=remote-fs.target
Names=remote-fs.target
WantedBy=multi-user.target
Conflicts=shutdown.target
Before=systemd-journal-flush.service systemd-user-sessions.service multi-user.target kbd.service console-setup.service cron.service ssh.service anacron.service binfmt-support.service gdomap.service cups.service speech-dispatcher.service atd.service fglrx-atieventsd.service gdm3.service minissdpd.service pulseaudio.service network-manager.service exim4.service saned.service
After=remote-fs-pre.target local-fs.target mnt-nfs\x2dmain.mount mnt-nfs\x2daux.mount
Documentation=man:systemd.special(7)
Description=Remote File Systems
LoadState=loaded
ActiveState=active
SubState=active
FragmentPath=/lib/systemd/system/remote-fs.target
UnitFileState=enabled
InactiveExitTimestamp=Mon 2013-08-19 17:02:28 CDT
InactiveExitTimestampMonotonic=7247133
ActiveEnterTimestamp=Mon 2013-08-19 17:02:28 CDT
ActiveEnterTimestampMonotonic=7247133
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnFailureIsolate=no
IgnoreOnIsolate=no
IgnoreOnSnapshot=no
NeedDaemonReload=no
JobTimeoutUSec=0
ConditionTimestamp=Mon 2013-08-19 17:02:28 CDT
ConditionTimestampMonotonic=7247108
ConditionResult=yes
------------------------------------------------------
Thanks for your help!
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20130819/45e5505f/attachment-0001.sig>
More information about the Pkg-systemd-maintainers
mailing list