[oS-en] systemd automount issue
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I observe the following sequence in the log, repeating a lot: <3.6> 2024-04-18T10:09:40.679783+02:00 Isengard systemd 1 - - Started PackageKit Daemon. <3.6> 2024-04-18T10:09:42.567209+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:09:42.577250+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.6> 2024-04-18T10:10:01.813934+02:00 Isengard systemd 1 - - Started Session c5215 of User cer. <3.4> 2024-04-18T10:11:12.589162+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:11:12.590212+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:11:12.590668+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:11:12.591878+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages. <3.6> 2024-04-18T10:11:12.593624+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:11:12.606923+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.4> 2024-04-18T10:12:42.839132+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:12:42.840079+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:12:42.840549+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:12:42.841541+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages. <3.6> 2024-04-18T10:12:43.996226+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:12:44.006046+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.4> 2024-04-18T10:14:14.089072+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:14:14.089971+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:14:14.090373+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:14:14.090842+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages. However: Isengard:~ # ls /var/cache/zypp/packages Ext_Packman google-chrome repo-backports-update repo-oss repo-sle-update Isengard:~ # So the mount has no problem when triggered by root on the terminal. The definition in fstab is this: telcontar.valinor:/data/storage_c/repositorios_zypp/ /var/cache/zypp/nfs_packages nfs noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=300,_netdev,nfsvers=4 0 0 telcontar.valinor:/data/storage_c/repositorios_zypp/15_5 /var/cache/zypp/packages nfs noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=300,_netdev,nfsvers=4 0 0 And the automount service automatically generated is this: Isengard:~ # systemctl cat var-cache-zypp-packages.automount # /run/systemd/generator/var-cache-zypp-packages.automount # Automatically generated by systemd-fstab-generator [Unit] SourcePath=/etc/fstab Documentation=man:fstab(5) man:systemd-fstab-generator(8) [Automount] Where=/var/cache/zypp/packages TimeoutIdleSec=5min Isengard:~ # It actually mounts: Isengard:~ # mount | grep nfs nfsd on /proc/fs/nfsd type nfsd (rw,relatime) systemd-1 on /var/cache/zypp/nfs_packages type autofs (rw,relatime,fd=54,pgrp=1,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=19214) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) telcontar.valinor:/data/storage_c/repositorios_zypp/15_5 on /var/cache/zypp/packages type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.16,local_lock=none,addr=192.168.1.14,_netdev) Isengard:~ # This is using Leap 15.5 (I don't know how to find if this is a known issue, I failed google foo 101) - -- Cheers Carlos E. R. (from 15.5 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZiD5CRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV20cAnjGFzKsdOiVOqjNDXg4Q Rlt5n1yKAJsE1zPlKO4RjERR2pdWh1i9KbEOLg== =uZRx -----END PGP SIGNATURE-----
On Thu, Apr 18, 2024 at 1:43 PM Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I observe the following sequence in the log, repeating a lot:
<3.6> 2024-04-18T10:09:40.679783+02:00 Isengard systemd 1 - - Started PackageKit Daemon. <3.6> 2024-04-18T10:09:42.567209+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:09:42.577250+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.6> 2024-04-18T10:10:01.813934+02:00 Isengard systemd 1 - - Started Session c5215 of User cer. <3.4> 2024-04-18T10:11:12.589162+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:11:12.590212+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:11:12.590668+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:11:12.591878+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages. <3.6> 2024-04-18T10:11:12.593624+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:11:12.606923+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.4> 2024-04-18T10:12:42.839132+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:12:42.840079+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:12:42.840549+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:12:42.841541+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages. <3.6> 2024-04-18T10:12:43.996226+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:12:44.006046+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.4> 2024-04-18T10:14:14.089072+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:14:14.089971+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:14:14.090373+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:14:14.090842+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages.
systemctl cat var-cache-zypp-packages.mount could be useful.
However:
Isengard:~ # ls /var/cache/zypp/packages Ext_Packman google-chrome repo-backports-update repo-oss repo-sle-update Isengard:~ #
So the mount has no problem when triggered by root on the terminal.
The definition in fstab is this:
telcontar.valinor:/data/storage_c/repositorios_zypp/ /var/cache/zypp/nfs_packages nfs noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=300,_netdev,nfsvers=4 0 0 telcontar.valinor:/data/storage_c/repositorios_zypp/15_5 /var/cache/zypp/packages nfs noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=300,_netdev,nfsvers=4 0 0
And the automount service automatically generated is this:
Isengard:~ # systemctl cat var-cache-zypp-packages.automount # /run/systemd/generator/var-cache-zypp-packages.automount # Automatically generated by systemd-fstab-generator
[Unit] SourcePath=/etc/fstab Documentation=man:fstab(5) man:systemd-fstab-generator(8)
[Automount] Where=/var/cache/zypp/packages TimeoutIdleSec=5min Isengard:~ #
It actually mounts:
Isengard:~ # mount | grep nfs nfsd on /proc/fs/nfsd type nfsd (rw,relatime) systemd-1 on /var/cache/zypp/nfs_packages type autofs (rw,relatime,fd=54,pgrp=1,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=19214) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) telcontar.valinor:/data/storage_c/repositorios_zypp/15_5 on /var/cache/zypp/packages type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.16,local_lock=none,addr=192.168.1.14,_netdev) Isengard:~ #
This is using Leap 15.5
(I don't know how to find if this is a known issue, I failed google foo 101)
- -- Cheers
Carlos E. R. (from 15.5 x86_64 at Telcontar)
-----BEGIN PGP SIGNATURE-----
iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZiD5CRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV20cAnjGFzKsdOiVOqjNDXg4Q Rlt5n1yKAJsE1zPlKO4RjERR2pdWh1i9KbEOLg== =uZRx -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2024-04-18 a las 14:29 +0300, Andrei Borzenkov escribió:
On Thu, Apr 18, 2024 at 1:43 PM Carlos E. R. <...> wrote:
Hi,
I observe the following sequence in the log, repeating a lot:
<3.6> 2024-04-18T10:09:40.679783+02:00 Isengard systemd 1 - - Started PackageKit Daemon. <3.6> 2024-04-18T10:09:42.567209+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:09:42.577250+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.6> 2024-04-18T10:10:01.813934+02:00 Isengard systemd 1 - - Started Session c5215 of User cer. <3.4> 2024-04-18T10:11:12.589162+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:11:12.590212+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:11:12.590668+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:11:12.591878+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages. <3.6> 2024-04-18T10:11:12.593624+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:11:12.606923+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.4> 2024-04-18T10:12:42.839132+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:12:42.840079+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:12:42.840549+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:12:42.841541+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages. <3.6> 2024-04-18T10:12:43.996226+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:12:44.006046+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.4> 2024-04-18T10:14:14.089072+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:14:14.089971+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:14:14.090373+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:14:14.090842+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages.
systemctl cat var-cache-zypp-packages.mount
could be useful.
Isengard:~ # systemctl cat var-cache-zypp-packages.mount # /run/systemd/generator/var-cache-zypp-packages.mount # Automatically generated by systemd-fstab-generator [Unit] Documentation=man:fstab(5) man:systemd-fstab-generator(8) SourcePath=/etc/fstab [Mount] Where=/var/cache/zypp/packages What=telcontar.valinor:/data/storage_c/repositorios_zypp/15_5 Type=nfs Options=noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=300,_netdev,nfsvers=4 Isengard:~ # - -- Cheers, Carlos E. R. (from openSUSE 15.5 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZiElvhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVUL8An3E0EZUYGwP+Y33xiQLp zKKaG6O8AJ4ibkhAx8vdfOU9iOaGq6Ez0dFYWQ== =L1ap -----END PGP SIGNATURE-----
On 2024-04-18 12:42, Carlos E. R. wrote:
Hi,
I observe the following sequence in the log, repeating a lot:
<3.6> 2024-04-18T10:09:40.679783+02:00 Isengard systemd 1 - - Started PackageKit Daemon. <3.6> 2024-04-18T10:09:42.567209+02:00 Isengard systemd 1 - - var-cache-zypp-packages.automount: Got automount request for /var/cache/zypp/packages, triggered by 20752 (PK-Backend) <3.6> 2024-04-18T10:09:42.577250+02:00 Isengard systemd 1 - - Mounting /var/cache/zypp/packages... <3.6> 2024-04-18T10:10:01.813934+02:00 Isengard systemd 1 - - Started Session c5215 of User cer. <3.4> 2024-04-18T10:11:12.589162+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mounting timed out. Terminating. <3.4> 2024-04-18T10:11:12.590212+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Mount process exited, code=killed, status=15/TERM <3.4> 2024-04-18T10:11:12.590668+02:00 Isengard systemd 1 - - var-cache-zypp-packages.mount: Failed with result 'timeout'. <3.3> 2024-04-18T10:11:12.591878+02:00 Isengard systemd 1 - - Failed to mount /var/cache/zypp/packages.
...
It actually mounts:
This is using Leap 15.5
(I don't know how to find if this is a known issue, I failed google foo 101)
Well, I'm blocking the noise by having a terminal constantly opened on that path. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
participants (2)
-
Andrei Borzenkov
-
Carlos E. R.