Your message dated Thu, 02 Mar 2017 16:34:32 +0000
with message-id <e1cjtgw-00097o...@fasolo.debian.org>
and subject line Bug#835810: fixed in systemd 233-1
has caused the Debian Bug report #835810,
regarding systemd nfs mount timeout leaves mount unit in active state,
preventing later automounts
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
835810: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835810
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: systemd
Version: 215-17+deb8u4
In a scenario where the NFS server is not yet up when mounting an NFS
share at boot, the systemd *.mount unit times out and gets stuck in a
somewhat odd "active (mounted)" state, even though it is not actually
mounted. This appears to prevent any systemd *.automount unit from being
able to later mount it when the NFS server does come back online.
This means that in our scenario where the NFS server machine is slower
to boot up than the NFS client machines, we must perform manual
intervention on each of the client machines to mount the missing NFS
shares after e.g. a site-wide power failure. I had hoped that using
systemd.automount would handle this scenario better, having processes
attempting to use the NFS mount wait or return IO errors until the NFS
server eventually comes online and gets mounted.
● srv-mail.mount - /srv/mail
Loaded: loaded (/etc/fstab)
Active: active (mounted) (Result: timeout) since Sun 2016-08-28 15:03:44
EEST; 1min 40s ago
Where: /srv/mail
What: nfs.test.pvl:mail
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Process: 426 ExecMount=/bin/mount -n nfs.test.pvl:mail /srv/mail -t nfs4 -o
defaults,auto,nodev,nosuid,noatime,x-systemd.automount (code=killed,
signal=TERM)
Aug 28 15:02:14 mail-mta-test systemd[426]: Executing: /bin/mount -n
nfs.test.pvl:mail /srv/mail -t nfs4 -o
defaults,auto,nodev,nosuid,noatime,x-systemd.automount
Aug 28 15:03:44 mail-mta-test systemd[1]: srv-mail.mount mounting timed out.
Stopping.
Aug 28 15:03:44 mail-mta-test systemd[1]: srv-mail.mount changed mounting ->
mounting-sigterm
Aug 28 15:03:44 mail-mta-test systemd[1]: Child 426 belongs to srv-mail.mount
Aug 28 15:03:44 mail-mta-test systemd[1]: srv-mail.mount mount process exited,
code=killed status=15
Aug 28 15:03:44 mail-mta-test systemd[1]: srv-mail.mount changed mounting-sigterm
-> mounted
Aug 28 15:03:44 mail-mta-test systemd[1]: Job srv-mail.mount/start finished,
result=done
Aug 28 15:03:44 mail-mta-test systemd[1]: Mounted /srv/mail.
I am reporting this as a bug since it appears that manually *stopping*
the *.mount unit to place it into an inactive state is enough to allow
the automounter to successfully mount it.
Annotated events below, full journalctl output at:
https://gist.github.com/SpComb/560ce0c4e7d625dfea354769f48af758#file-journalctl-systemd-mount
-- Tero Marttila
Initial mount during bootup:
Aug 28 15:02:14 mail-mta-test systemd[1]: Mounting /srv/mail...
Aug 28 15:02:14 mail-mta-test systemd[1]: About to execute: /bin/mount -n
nfs.test.pvl:mail /srv/mail -t nfs4 -o
defaults,auto,nodev,nosuid,noatime,x-systemd.automount
Aug 28 15:02:14 mail-mta-test systemd[1]: Forked /bin/mount as 426
Aug 28 15:02:14 mail-mta-test systemd[1]: srv-mail.mount changed dead ->
mounting
NFS server is down, initial mount times out:
Aug 28 15:03:44 mail-mta-test systemd[1]: srv-mail.mount mounting timed out.
Stopping.
Aug 28 15:03:44 mail-mta-test systemd[1]: srv-mail.mount changed mounting ->
mounting-sigterm
Aug 28 15:03:44 mail-mta-test systemd[1]: Received SIGCHLD from PID 426 (mount).
Aug 28 15:03:44 mail-mta-test systemd[1]: Child 426 (mount) died (code=killed,
status=15/TERM)
Aug 28 15:03:44 mail-mta-test systemd[1]: Child 426 belongs to srv-mail.mount
Aug 28 15:03:44 mail-mta-test systemd[1]: srv-mail.mount mount process exited,
code=killed status=15
Aug 28 15:03:44 mail-mta-test systemd[1]: srv-mail.mount changed mounting-sigterm
-> mounted
Aug 28 15:03:44 mail-mta-test systemd[1]: Job srv-mail.mount/start finished,
result=done
Aug 28 15:03:44 mail-mta-test systemd[1]: Mounted /srv/mail.
Aug 28 15:03:44 mail-mta-test systemd[1]: Child 428 (mount.nfs4) died
(code=killed, status=15/TERM)
Attempt to SSH in while NFS server is still down. Triggers first
automount attempt, but does not actually attempt to mount anything:
Aug 28 15:06:23 mail-mta-test systemd[1]: Got automount request for /srv/mail,
triggered by 753 (sshd)
Aug 28 15:06:23 mail-mta-test systemd[1]: Trying to enqueue job
srv-mail.mount/start/replace
Aug 28 15:06:23 mail-mta-test systemd[1]: Installed new job
srv-mail.mount/start as 671
Aug 28 15:06:23 mail-mta-test systemd[1]: Enqueued job srv-mail.mount/start as
671
Aug 28 15:06:23 mail-mta-test systemd[1]: srv-mail.automount changed waiting ->
running
Aug 28 15:06:23 mail-mta-test systemd[1]: Job srv-mail.mount/start finished,
result=done
Aug 28 15:06:23 mail-mta-test systemd[1]: Mounted /srv/mail.
Restore the NFS server.
Attempt to SSH in again with sshd pid=801, no automount triggered yet?
Manually stop the .mount unit, which immediately triggers a successful
automount from the previous sshd pid=801 login attempt:
Aug 28 15:07:27 mail-mta-test systemd[1]: Got message type=method_call
sender=n/a destination=org.freedesktop.systemd1
object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager
member=StopUnit cookie=1 reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Trying to enqueue job
srv-mail.mount/stop/replace
Aug 28 15:07:27 mail-mta-test systemd[1]: Installed new job srv-mail.mount/stop
as 684
Aug 28 15:07:27 mail-mta-test systemd[1]: Enqueued job srv-mail.mount/stop as
684
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=method_return
sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=1
reply_cookie=1 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=JobNew cookie=2
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Unmounting /srv/mail...
Aug 28 15:07:27 mail-mta-test systemd[1]: About to execute: /bin/umount -n
/srv/mail
Aug 28 15:07:27 mail-mta-test systemd[1]: Forked /bin/umount as 818
Aug 28 15:07:27 mail-mta-test systemd[1]: Sending failure: No such device
Aug 28 15:07:27 mail-mta-test systemd[1]: srv-mail.mount changed mounted ->
unmounting
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/unit/srv_2dmail_2emount
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/unit/srv_2dmail_2emount
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=4
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/job/684
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Got automount request for /srv/mail,
triggered by 801 (sshd)
Aug 28 15:07:27 mail-mta-test systemd[1]: Trying to enqueue job
srv-mail.mount/start/replace
Aug 28 15:07:27 mail-mta-test systemd[1]: Job srv-mail.mount/stop finished,
result=canceled
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=6
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Installed new job
srv-mail.mount/start as 685
Aug 28 15:07:27 mail-mta-test systemd[1]: Enqueued job srv-mail.mount/start as
685
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/unit/srv_2dmail_2eautomount
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=7
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/unit/srv_2dmail_2eautomount
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=8
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1
interface=org.freedesktop.systemd1.Manager member=JobNew cookie=9
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Mounting /srv/mail...
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/unit/srv_2dmail_2emount
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=10
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/unit/srv_2dmail_2emount
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=11
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/job/685
interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=12
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Got message type=method_call
sender=n/a destination=org.freedesktop.systemd1
object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager
member=GetUnit cookie=2 reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=method_return
sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=13
reply_cookie=2 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Got message type=method_call
sender=n/a destination=org.freedesktop.systemd1
object=/org/freedesktop/systemd1/unit/srv_2dmail_2emount
interface=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0
error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Sent message type=method_return
sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=14
reply_cookie=3 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[818]: Executing: /bin/umount -n /srv/mail
Aug 28 15:07:27 mail-mta-test systemd[1]: Got disconnect on private connection.
Aug 28 15:07:27 mail-mta-test systemd[1]: Received SIGCHLD from PID 818
(umount).
Aug 28 15:07:27 mail-mta-test systemd[1]: Child 818 (umount) died (code=exited,
status=32/n/a)
Aug 28 15:07:27 mail-mta-test systemd[1]: Child 818 belongs to srv-mail.mount
Aug 28 15:07:27 mail-mta-test systemd[1]: srv-mail.mount mount process exited,
code=exited status=32
Aug 28 15:07:27 mail-mta-test systemd[1]: Sending failure: No such device
Aug 28 15:07:27 mail-mta-test systemd[1]: srv-mail.mount changed unmounting ->
failed
Aug 28 15:07:27 mail-mta-test systemd[1]: Unit srv-mail.mount entered failed
state.
Aug 28 15:07:27 mail-mta-test systemd[1]: Mounting /srv/mail...
Aug 28 15:07:27 mail-mta-test systemd[1]: About to execute: /bin/mount -n
nfs.test.pvl:mail /srv/mail -t nfs4 -o
defaults,auto,nodev,nosuid,noatime,x-systemd.automount
Aug 28 15:07:27 mail-mta-test systemd[1]: Forked /bin/mount as 821
Aug 28 15:07:27 mail-mta-test systemd[1]: srv-mail.mount changed failed ->
mounting
Aug 28 15:07:27 mail-mta-test systemd[1]: Received SIGCHLD from PID 802 (sshd).
Aug 28 15:07:27 mail-mta-test systemd[1]: Child 802 (sshd) died (code=exited,
status=255/n/a)
Aug 28 15:07:27 mail-mta-test systemd[1]: Child 754 (sshd) died (code=exited,
status=255/n/a)
Aug 28 15:07:27 mail-mta-test systemd[1]: Accepted new private connection.
Aug 28 15:07:27 mail-mta-test systemd[1]: Got message type=signal sender=n/a
destination=n/a object=/org/freedesktop/systemd1/agent
interface=org.freedesktop.systemd1.Agent member=Released cookie=1
reply_cookie=0 error=n/a
Aug 28 15:07:27 mail-mta-test systemd[1]: Got disconnect on private connection.
Aug 28 15:07:27 mail-mta-test systemd[821]: Executing: /bin/mount -n
nfs.test.pvl:mail /srv/mail -t nfs4 -o
defaults,auto,nodev,nosuid,noatime,x-systemd.autom
Aug 28 15:07:27 mail-mta-test sshd[801]: Connection closed by
2001:2060:41:a64::1d9 [preauth]
Aug 28 15:07:27 mail-mta-test sshd[753]: Connection closed by
2001:2060:41:a64::1d9 [preauth]
Aug 28 15:07:27 mail-mta-test umount[818]: umount: /srv/mail: target is busy
Aug 28 15:07:27 mail-mta-test umount[818]: (In some cases useful info about
processes that
Aug 28 15:07:27 mail-mta-test umount[818]: use the device is found by lsof(8)
or fuser(1).)
Aug 28 15:07:27 mail-mta-test systemd[1]: srv-mail.mount changed mounting ->
mounting-done
Aug 28 15:07:27 mail-mta-test systemd[1]: Job srv-mail.mount/start finished,
result=done
Aug 28 15:07:27 mail-mta-test systemd[1]: Mounted /srv/mail.
Aug 28 15:07:27 mail-mta-test systemd[1]: Received SIGCHLD from PID 821 (mount).
Aug 28 15:07:27 mail-mta-test systemd[1]: Child 821 (mount) died (code=exited,
status=0/SUCCESS)
Aug 28 15:07:27 mail-mta-test systemd[1]: Child 821 belongs to srv-mail.mount
Aug 28 15:07:27 mail-mta-test systemd[1]: srv-mail.mount mount process exited,
code=exited status=0
Aug 28 15:07:27 mail-mta-test systemd[1]: srv-mail.mount changed mounting-done
-> mounted
The NFS mount is now actually automounted.
--- End Message ---
--- Begin Message ---
Source: systemd
Source-Version: 233-1
We believe that the bug you reported is fixed in the latest version of
systemd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 835...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <mp...@debian.org> (supplier of updated systemd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 02 Mar 2017 17:10:09 +0100
Source: systemd
Binary: systemd systemd-sysv systemd-container systemd-journal-remote
systemd-coredump libpam-systemd libnss-myhostname libnss-mymachines
libnss-resolve libnss-systemd libsystemd0 libsystemd-dev udev libudev1
libudev-dev udev-udeb libudev1-udeb
Architecture: source
Version: 233-1
Distribution: experimental
Urgency: medium
Maintainer: Debian systemd Maintainers
<pkg-systemd-maintainers@lists.alioth.debian.org>
Changed-By: Martin Pitt <mp...@debian.org>
Description:
libnss-myhostname - nss module providing fallback resolution for the current
hostname
libnss-mymachines - nss module to resolve hostnames for local container
instances
libnss-resolve - nss module to resolve names via systemd-resolved
libnss-systemd - nss module providing dynamic user and group name resolution
libpam-systemd - system and service manager - PAM module
libsystemd-dev - systemd utility library - development files
libsystemd0 - systemd utility library
libudev-dev - libudev development files
libudev1 - libudev shared library
libudev1-udeb - libudev shared library (udeb)
systemd - system and service manager
systemd-container - systemd container/nspawn tools
systemd-coredump - tools for storing and retrieving coredumps
systemd-journal-remote - tools for sending and receiving remote journal logs
systemd-sysv - system and service manager - SysV links
udev - /dev/ and hotplug management daemon
udev-udeb - /dev/ and hotplug management daemon (udeb)
Closes: 758279 791944 805785 835810 839291 845442 849316 856306
Changes:
systemd (233-1) experimental; urgency=medium
.
[ Martin Pitt ]
* New upstream release 233:
- udev: Remove /run/udev/control on stop to avoid sendsigs to kill
udevd. (Closes: #791944)
- nspawn: Handle container directory symlinks. (Closes: #805785)
- Fix mount units to not become "active" when NFS mounts time out.
(Closes: #835810)
- hwdb: Rework path/priority comparison when loading files from /etc/
vs. /lib. (Closes: #845442)
- machinectl: Fix "list" command when failing to determine OS version.
(Closes: #849316)
- Support tilegx architecture. (Closes: #856306)
- systemd-sleep(8): Point out inhibitor interface as better alternative
for suspend integration. (Closes: #758279)
- journalctl: Improve error message wording when specifying boot
offset with ephemeral journal. (Closes: #839291)
* Install new systemd-umount and /usr/lib/environment.d/
* Use "make install-tests" for shipped unit tests
* Switch back to gold linker on mips*
Bug #851736 got fixed now.
* debian/rules: Drop obsolete SETCAP path
.
[ Michael Biebl ]
* Drop upstart jobs for udev
* Drop /sbin/udevadm compat symlink from udev-udeb and initramfs
* Drop Breaks and Replaces from pre-jessie
Checksums-Sha1:
7fd684f3f38ba7d0b1c8e56ead59465b6871abb0 4765 systemd_233-1.dsc
432ec4ce665f65d1d616558358fb7e7cba953930 4660737 systemd_233.orig.tar.gz
7aed2000980179480a5214ef8bf5315a44a56cee 127940 systemd_233-1.debian.tar.xz
a11fd97e225820cfefc22a36f57dfed21457c6fc 8440 systemd_233-1_source.buildinfo
Checksums-Sha256:
80025c9cc05627d830d5d65d4366e1831a568726a5150afffcd3e351fcca50fa 4765
systemd_233-1.dsc
8b3e99da3d4164b66581830a7f2436c0c8fe697b5fbdc3927bdb960646be0083 4660737
systemd_233.orig.tar.gz
03aa2ab8d112dd599a518f519d6998224cb048f2c99f0f5b372335478bafb7f7 127940
systemd_233-1.debian.tar.xz
7a1c02702d935e8478acb4a14db472cfcd2e7abf2f7ea0c699f59a8940519038 8440
systemd_233-1_source.buildinfo
Files:
a27bf1aa91cc1978903117df396a7b25 4765 admin optional systemd_233-1.dsc
11d3ff48f3361b8bdcfcdc076a31b537 4660737 admin optional systemd_233.orig.tar.gz
a4532ce09fd905a8bb622cc41bd762c0 127940 admin optional
systemd_233-1.debian.tar.xz
e6769b6474ea6476b0daed1fbb05e969 8440 admin optional
systemd_233-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEPbRrVe+lnUDmIyFI0U7xXa/hE0cFAli4RBoACgkQ0U7xXa/h
E0cdthAAx96yGrK80nDiiIw0D9z4g3QWLMdpbbGkCHRHQcNg0YVd9337LTEWlZrN
iudWTeg3cv3J1V3dwksKURBgq2UYKb8yIXecvSJqf5CXW4J4wKI3u3ZQKvHEgUcO
0TgeKp6gcQ2I4Dz0awLLeh4o8fPVLHrTm8vIIzhgNBQ8UZ6wQa1v+Rnv/MqWz2XU
TvjY6H7akKZtKwF7uu30udiix6nMekX+h4HaB+VPJKAsgbzTz36Av/w5lf5hPY0X
aTS4INXI4r1JOQ5qgnBnBObjYSE+g5yf+S/ATjg5irEzB0mkJHln3PXxhirngPMU
ghYOB+6PwyEvYYSYL5R55TX1Mxo+lqycXBILxiRolW4I1covR4EBcePPBAc6cTi2
H09X26bSCdo0lW3z6w+B8luzzEYvg0m2ysDqaEI7HJzo6Bw6z7UtTi47i2r0RGjJ
JfLUWCB9S3fQ+dAlMMtEW3U6TX9PY8v0n85oIjSkxZ2hX2HA0InYm6Pw1WM6IHvJ
ITcgm9TVmBPQDTv5IrOSDUVG5OaEjU+HltFfqcOLtBNj2NVivlFKGGo6F5VhUoFl
SipLEuweBypwumB8H3zds6awD+Y7rqkDpFbtPUl+kASFdTVRJxvWIxuMeFZLD0AB
Y3VwRbitY6+8abjTQHNtyg6ffOyKOuaIe7feJwXQCZFbsTcr/M8=
=dzSH
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers