Hi,
I hope I can describe the problem sufficiently well, as I am not very familiar with the system components.
I have a CIFS automount configuration that allows me to access a remote share when connected to a VPN.
Since Fedora 37, the gdm login hangs for about two minutes after the laptop has been in idle-mode:
dmesg output:
CIFS: VFS: \\10.0.0.1 has not responded in 180 seconds. Reconnecting...
If I remove the automount configuration, the login works directly.
Here is the systemd configuration:
cat /etc/systemd/system/mnt-data.automount
[Unit]
Description=Automount /mnt/data
Requires=NetworkManager.service
After=network-online.target
Wants=network-online.target
DefaultDependencies=no
[Automount]
Where=/mnt/data
TimeoutIdleSec=10min
[Install]
WantedBy=multi-user.target
cat /etc/systemd/system/mnt-datpool.mount
[Unit]
Description=data mount
[Mount]
What=//10.0.0.1/data
Where=/mnt/data
Options=credentials=/home/user/.smbcreddata,noperm,vers=3.11,rw
Type=cifs
The error message makes sense because the VPN connection is not available. Is this now an error at all or desired behaviour of systemd + GDM?