Bug#761909: systemd does not unmount nfs shares before bringing down

debianizzato firesword4 at yahoo.it
Fri Aug 7 17:15:10 BST 2015


the network interface Followup-For: Bug #761909 Package: systemd 
Message-ID: <20150807161119.5457.21268.reportbug at roadwarrior.ENIGMA>
X-Mailer: reportbug 6.6.3
Date: Fri, 07 Aug 2015 18:11:19 +0200
X-Debbugs-Cc: firesword4 at yahoo.it

Version: 222-2

Dear Maintainer,
my Debian client still has this bug.
it mounts reularly at boot, but it hangs at the shutdown.

my fstab has NFS entries similar to the following:

	192.168.x.xyz:/srv/nfs4/smtgh /media/smtgh	nfs	defaults,rw,x-systemd.automount,x-systemd.device-timeout=3	0	0

the output of systemctl list-dependencies media-smtgh.mount is:
	media-smtgh.mount
	● ├─-.mount
	● ├─system.slice
	● └─network-online.target

the output of systemctl cat media-smtgh.mount is:
	# /run/systemd/generator/media-smtgh.mount
	# Automatically generated by systemd-fstab-generator
	
	[Unit]
	SourcePath=/etc/fstab
	Documentation=man:fstab(5) man:systemd-fstab-generator(8)
	
	[Mount]
	What=192.168.x.xyz:/srv/nfs4/smtgh
	Where=/media/smtgh
	Type=nfs
	Options=defaults,rw,x-systemd.automount

the output of systemctl show media-smtgh.mount is:
	Where=/media/smtgh
	What=192.168.x.xyz:/srv/nfs4/smtgh
	Options=rw,relatime,vers=4.0,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=0.0.0.0,local_lock=none,addr=192.168.x.xyz
	Type=nfs4
	TimeoutUSec=1min 30s
	ControlPID=0
	DirectoryMode=0755
	SloppyOptions=no
	Result=success
	ExecMount={ path=/bin/mount ; argv[]=/bin/mount 192.168.x.xyz:/srv/nfs4/smtgh /media/jopa -n -t nfs -o defaults,rw,x-systemd.automount ; ignore_errors=no ; start_time=[ven 2015-08-07 17:29:01 CEST] ; stop_time=[ven 2015-08-07 17:29:27 CEST] ; pid=490 ; code=exited ; status=0 }
	Slice=system.slice
	ControlGroup=/system.slice/media-smtgh.mount
	MemoryCurrent=18446744073709551615
	CPUUsageNSec=18446744073709551615
	Delegate=no
	CPUAccounting=no
	CPUShares=18446744073709551615
	StartupCPUShares=18446744073709551615
	CPUQuotaPerSecUSec=infinity
	BlockIOAccounting=no
	BlockIOWeight=18446744073709551615
	StartupBlockIOWeight=18446744073709551615
	MemoryAccounting=no
	MemoryLimit=18446744073709551615
	DevicePolicy=auto
	UMask=0022
	LimitCPU=18446744073709551615
	LimitFSIZE=18446744073709551615
	LimitDATA=18446744073709551615
	LimitSTACK=18446744073709551615
	LimitCORE=18446744073709551615
	LimitRSS=18446744073709551615
	LimitNOFILE=4096
	LimitAS=18446744073709551615
	LimitNPROC=15023
	LimitMEMLOCK=65536
	LimitLOCKS=18446744073709551615
	LimitSIGPENDING=15023
	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
	PrivateDevices=no
	ProtectHome=no
	ProtectSystem=no
	SameProcessGroup=yes
	IgnoreSIGPIPE=yes
	NoNewPrivileges=no
	SystemCallErrorNumber=0
	RuntimeDirectoryMode=0755
	KillMode=control-group
	KillSignal=15
	SendSIGKILL=yes
	SendSIGHUP=no
	Id=media-smtgh.mount
	Names=media-smtgh.mount
	Requires=-.mount
	Wants=network-online.target system.slice
	WantedBy=remote-fs.target
	Conflicts=umount.target
	Before=remote-fs.target umount.target
	After=remote-fs-pre.target -.mount network.target media-smtgh.automount systemd-journald.socket network-online.target system.slice
	TriggeredBy=media-smtgh.automount
	RequiresMountsFor=/media
	Documentation=man:fstab(5) man:systemd-fstab-generator(8)
	Description=/media/smtgh
	LoadState=loaded
	ActiveState=active
	SubState=mounted
	FragmentPath=/run/systemd/generator/media-smtgh.mount
	SourcePath=/etc/fstab
	UnitFilePreset=enabled
	InactiveExitTimestamp=ven 2015-08-07 17:29:01 CEST
	InactiveExitTimestampMonotonic=15447558
	ActiveEnterTimestamp=ven 2015-08-07 17:29:27 CEST
	ActiveEnterTimestampMonotonic=41159612
	ActiveExitTimestampMonotonic=0
	InactiveEnterTimestampMonotonic=0
	CanStart=yes
	CanStop=yes
	CanReload=yes
	CanIsolate=no
	StopWhenUnneeded=no
	RefuseManualStart=no
	RefuseManualStop=no
	AllowIsolate=no
	DefaultDependencies=yes
	OnFailureJobMode=replace
	IgnoreOnIsolate=yes
	IgnoreOnSnapshot=no
	NeedDaemonReload=no
	JobTimeoutUSec=0
	JobTimeoutAction=none
	ConditionResult=yes
	AssertResult=yes
	ConditionTimestamp=ven 2015-08-07 17:29:01 CEST
	ConditionTimestampMonotonic=15446590
	AssertTimestamp=ven 2015-08-07 17:29:01 CEST
	AssertTimestampMonotonic=15446595
	Transient=no

-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'testing-proposed-updates'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.0.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser         3.113+nmu3
ii  libacl1         2.2.52-2
ii  libapparmor1    2.9.2-3
ii  libaudit1       1:2.4.2-1
ii  libblkid1       2.26.2-9
ii  libc6           2.19-19
ii  libcap2         1:2.24-9
ii  libcap2-bin     1:2.24-9
ii  libcryptsetup4  2:1.6.6-5
ii  libgcc1         1:5.1.1-14
ii  libgcrypt20     1.6.3-2
ii  libkmod2        21-1
ii  liblzma5        5.1.1alpha+20120614-2.1
ii  libmount1       2.26.2-9
ii  libpam0g        1.1.8-3.1
ii  libseccomp2     2.2.1-2
ii  libselinux1     2.3-2+b1
ii  libsystemd0     222-2
ii  mount           2.26.2-9
ii  sysv-rc         2.88dsf-59.2
ii  udev            222-2
ii  util-linux      2.26.2-9

Versions of packages systemd recommends:
ii  dbus            1.8.20-1
ii  libpam-systemd  222-2

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- no debconf information




More information about the Pkg-systemd-maintainers mailing list