Network manager will often not load on boot & causes problems with automountss

I have a problem with my network manager not loading at boot. The tray icon is often completely missing or it hangs for ages waiting to get a wifi connection. This would cause all my smb mounts to fail in quite odd ways, even in .automount mode.

I used to be quite happy using fstab but something happened (i cant remember now) but i had to switch over and learn as best i could to use systemd mounts/automounts. Now they seem to be causing a problem at boot

I found in the logs that there were a lot of ordering cycle errors for service dependencies. I would get a lot of these types of error Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start

The first thing i started to do was to see if disabling the services mentioned in the logs one at at time would solve it and then i could focus on that closer. I was informed that i could disable, try a reboot and then safely re-enable the NetworkManager-wait-online.service, so i tried that just to see if i could narrow it down a bit.

i tried a reboot a checked if the system was going to load the networkmanager after a boot and all the errors would be gone (which it didn’t). But when i re-enabled the NetworkManager-wait-online.service it would no longer start at boot.

These logs were of the wifi being delayed by a long time, but i think they are much the same errors when the network does not start at all.

❱journalctl -b -p 3
Sep 02 15:54:08 greg-venusseries kernel: pci 0000:00:07.2: DPC: RP PIO log size 0 is invalid
Sep 02 15:54:09 greg-venusseries systemd[1]: sockets.target: Job systemd-sysext.socket/start deleted to break ordering cycle starting with sockets.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Job systemd-update-done.service/start deleted to break ordering cycle starting wit>
Sep 02 15:54:09 greg-venusseries systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting >
Sep 02 15:54:09 greg-venusseries systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Job plymouth-read-write.service/start deleted to break ordering cycle starting wit>
Sep 02 15:54:09 greg-venusseries systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Job ldconfig.service/start deleted to break ordering cycle starting with gpg-agent>
Sep 02 15:54:09 greg-venusseries systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Job systemd-boot-random-seed.service/start deleted to break ordering cycle startin>
Sep 02 15:54:09 greg-venusseries systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Job systemd-binfmt.service/start deleted to break ordering cycle starting with gpg>
Sep 02 15:54:09 greg-venusseries systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Job systemd-journal-catalog-update.service/start deleted to break ordering cycle s>
Sep 02 15:54:09 greg-venusseries systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Job local-fs.target/start deleted to break ordering cycle starting with gpg-agent->
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job plymouth-read-write.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job ldconfig.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-binfmt.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-journal-catalog-update.service/start deleted to break ordering cycle starting with sysinit.target>
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: systemd-update-done.service: Job local-fs.target/start deleted to break ordering cycle starting with systemd-update-done.serv>
Sep 02 15:54:09 greg-venusseries systemd[1]: basic.target: Job sysinit.target/start deleted to break ordering cycle starting with basic.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: network-online.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with network-online.tar>
Sep 02 15:54:09 greg-venusseries systemd[1]: network-online.target: Job local-fs.target/start deleted to break ordering cycle starting with network-online.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: basic.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with basic.target/start
Sep 02 15:54:09 greg-venusseries systemd[1]: basic.target: Job local-fs.target/start deleted to break ordering cycle starting with basic.target/start
Sep 02 15:54:31 greg-venusseries wpa_supplicant[894]: bgscan simple: Failed to enable signal strength monitoring
Sep 02 15:54:40 greg-venusseries kernel: Bluetooth: hci0: command 0x0405 tx timeout
Sep 02 15:54:42 greg-venusseries kernel: Bluetooth: hci0: command 0x0405 tx timeout
Sep 02 15:55:18 greg-venusseries bluetoothd[799]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Connection timed out
Sep 02 15:55:19 greg-venusseries bluetoothd[799]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Connection timed out
Sep 02 15:55:24 greg-venusseries bluetoothd[799]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to B0:38:E2:51:B0:B4: Host is down (112)
❱sudo dmesg | grep -i network
[    0.680841] drop_monitor: Initializing network drop monitor service
[    2.741380] systemd[1]: sockets.target: Found dependency on network-online.target/start
[    2.741381] systemd[1]: sockets.target: Found dependency on NetworkManager-wait-online.service/start
[    2.741519] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on network-online.target/start
[    2.741519] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on NetworkManager-wait-online.service/start
[    2.741644] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on network-online.target/start
[    2.741645] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on NetworkManager-wait-online.service/start
[    2.741894] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on network-online.target/start
[    2.741894] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on NetworkManager-wait-online.service/start
[    2.742033] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on network-online.target/start
[    2.742034] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on NetworkManager-wait-online.service/start
[    2.742243] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on network-online.target/start
[    2.742244] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on NetworkManager-wait-online.service/start
[    2.742453] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on network-online.target/start
[    2.742454] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on NetworkManager-wait-online.service/start
[    2.742689] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on network-online.target/start
[    2.742690] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on NetworkManager-wait-online.service/start
[    2.742827] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on network-online.target/start
[    2.742828] systemd[1]: gpg-agent-extra@etc-pacman.d-gnupg.socket: Found dependency on NetworkManager-wait-online.service/start
❱sudo journalctl -b -p 3
Sep 03 00:44:45 greg-venusseries kernel: pci 0000:00:07.2: DPC: RP PIO log size 0 is invalid
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sockets.target: Job systemd-bootctl.socket/start deleted to break ordering cycle starting with sockets.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job local-fs.target/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: systemd-update-done.service: Job local-fs.target/start deleted to break ordering cycle starting with systemd-update-done.serv>
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: NetworkManager.service: Job systemd-firstboot.service/start deleted to break ordering cycle starting with NetworkManager.serv>
Sep 03 00:44:46 greg-venusseries systemd[1]: NetworkManager.service: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with NetworkManager.se>
Sep 03 00:44:46 greg-venusseries systemd[1]: NetworkManager.service: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with NetworkManager>
Sep 03 00:44:46 greg-venusseries systemd[1]: NetworkManager.service: Job systemd-update-done.service/start deleted to break ordering cycle starting with NetworkManager.se>
Sep 03 00:44:46 greg-venusseries systemd[1]: NetworkManager.service: Job local-fs.target/start deleted to break ordering cycle starting with NetworkManager.service/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: systemd-update-done.service: Job local-fs.target/start deleted to break ordering cycle starting with systemd-update-done.serv>
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: local-fs.target: Job local-fs.target/start deleted to break ordering cycle starting with local-fs.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-firstboot.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-utmp.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: systemd-update-done.service: Job local-fs.target/start deleted to break ordering cycle starting with systemd-update-done.serv>
Sep 03 00:44:46 greg-venusseries systemd[1]: systemd-firstboot.service: Job systemd-tmpfiles-setup.service/start deleted to break ordering cycle starting with systemd-fir>
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job systemd-update-done.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 00:44:46 greg-venusseries NetworkManager[719]: <error> [1725320686.7512] session-monitor: failed to create systemd-logind monitor: -2
Sep 03 00:45:17 greg-venusseries kernel: Bluetooth: hci0: command 0x0405 tx timeout
Sep 03 00:45:19 greg-venusseries kernel: Bluetooth: hci0: command 0x0405 tx timeout
Sep 03 00:45:55 greg-venusseries bluetoothd[720]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Connection timed out
Sep 03 00:45:56 greg-venusseries bluetoothd[720]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Connection timed out
Sep 03 00:45:56 greg-venusseries bluetoothd[720]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to B0:38:E2:51:B0:B4: Connection reset by peer (104)
Sep 03 00:46:02 greg-venusseries bluetoothd[720]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to B0:38:E2:51:B0:B4: Host is down (112)
Sep 03 00:46:13 greg-venusseries wpa_supplicant[861]: bgscan simple: Failed to enable signal strength monitoring

This is what all my smb mounts looked like at the time:

❱sudo systemctl cat mnt-TRUENAS_home.mount
# /etc/systemd/system/mnt-TRUENAS_home.mount
[Unit]
Description=Mount SMB Share - TRUENAS home
After=network-online.target
Wants=network-online.target

[Mount]
What=//192.168.1.100/home
Where=/mnt/TRUENAS_home
Type=cifs
Options=vers=2.0,user,nofail,cache=loose,credentials=/home/greg/.smbcredentials-nas,iocharset=utf8,uid=1000,gid=1000,noperm,_netdev

[Install]
WantedBy=multi-user.target


⎼⎼⎼⎼⎼⎼⎼⎼⎼⎼ /home/greg ⎼⎼⎼⎼⎼⎼⎼⎼⎼⎼
❱sudo systemctl cat mnt-TRUENAS_home.automount
# /etc/systemd/system/mnt-TRUENAS_home.automount
[Unit]
Description=Automount SMB Share - TRUENAS Home
After=network-online.target
Wants=network-online.target

[Automount]
Where=/mnt/TRUENAS_home
TimeoutIdleSec=30

[Install]
WantedBy=multi-user.target

I could manually start the networkmanager service (if it had completely failed to start) after the system had loaded and it would start the network up, but it was random if it would start with the desktop automatically at boot.
I also found that it would seem to work more often from a cold boot rather than just a “reboot” but im not sure if that was just my bias.

I don’t know what that means and apparently no one else did in the last thread, either. We need more details.

I think you may have misunderstood what I mentioned in your last thread. Forgive me if I wasn’t clear.

In your last thread, you were asking about your attempted solution rather than your actual problem. This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.

:information_source: This thread will be temporarily unlisted (hidden from the public) until you edit both the topic title and first post to reflect the issue you’re having.

Please help us help you:

Please see → [root tip] [How To] systemd mount unit samples

These lines is likely to cause issues. Please remove them from both files

When the mount unit specifices _netdev it is implied by systemd the units require network to be functional.

Move the credentials to /etc/samba. The argument for not storing in the users home is availability of the device or partition where the user’s home is located.

Use file_mode=0666,dir_mode=0777 instead

in this context - of no use - remove

in this context - of no use - remove

Hi,

So this is all my mounts now.

❱cat /etc/systemd/system/mnt-TRUE*.m*
[Unit]
Description=Mount SMB Share - TRUENAS Cavern
#After=network-online.target
#Wants=network-online.target

[Mount]
What=//192.168.1.100/cavern
Where=/mnt/TRUENAS_cavern
Type=cifs
Options=vers=2.0,credentials=/etc/samba/.smbcredentials-nas,iocharset=utf8,file_mode=0666,dir_mode=0777,_netdev

[Install]
WantedBy=multi-user.target
[Unit]
Description=Mount SMB Share - TRUENAS home
#After=network-online.target
#Wants=network-online.target

[Mount]
What=//192.168.1.100/home
Where=/mnt/TRUENAS_home
Type=cifs
Options=vers=2.0,credentials=/etc/samba/.smbcredentials-nas,iocharset=utf8,file_mode=0666,dir_mode=0777,_netdev

[Install]
WantedBy=multi-user.target

[Unit]
Description=Mount SMB Share - TRUENAS mandie
#After=network-online.target
#Wants=network-online.target

[Mount]
What=//192.168.1.100/mandie
Where=/mnt/TRUENAS_mandie
Type=cifs
Options=vers=2.0,credentials=/etc/samba/.smbcredentials-mandie,iocharset=utf8,file_mode=0666,dir_mode=0777,_netdev

[Install]
WantedBy=multi-user.target
[Unit]
Description=Mount SMB Share - manjaro_home Mount
#After=network-online.target
#Wants=network-online.target

[Mount]
What=//192.168.1.100/manjaro-home
Where=/mnt/TRUENAS_manjaro_home
Type=cifs
Options=vers=2.0,credentials=/etc/samba/.smbcredentials-nas,iocharset=utf8,file_mode=0666,dir_mode=0777,_netdev

[Install]
WantedBy=multi-user.target
[Unit]
Description=Mount SMB Share - TRUENAS media
#After=network-online.target
#Wants=network-online.target

[Mount]
What=//192.168.1.100/media
Where=/mnt/TRUENAS_media
Type=cifs
Options=vers=2.0,credentials=/etc/samba/.smbcredentials-media,iocharset=utf8,file_mode=0666,dir_mode=0777,_netdev

[Install]
WantedBy=multi-user.target

I tried a reboot. It did get the network but hung at trying to get wifi. I assume this affected the mounts because they were acting odd too. I tried to go to one of the mounts in dolphin, it worked for a few seconds and then then said Current location changed, /mnt/TRUENAS_mandie is no longer accessible. and pushed up a level to the /mnt folder (screen shot). The mounts kinda work, sometimes you can select them and browse through them but then it might kick you out in the way shown on the screenshot or it might just fail to load them at all.

❱sudo journalctl -b -p 3
[sudo] password for greg: 
Sep 03 08:42:25 greg-venusseries kernel: pci 0000:00:07.2: DPC: RP PIO log size 0 is invalid
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-journal-catalog-update.service/start deleted to break ordering cycle starting with sysinit.target>
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-binfmt.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sockets.target: Job systemd-bootctl.socket/start deleted to break ordering cycle starting with sockets.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-journal-catalog-update.service/start deleted to break ordering cycle starting with sysinit.target>
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-binfmt.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: basic.target: Job sysinit.target/start deleted to break ordering cycle starting with basic.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: systemd-journal-catalog-update.service: Job local-fs.target/start deleted to break ordering cycle starting with systemd-journ>
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-journal-catalog-update.service/start deleted to break ordering cycle starting with sysinit.target>
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: systemd-boot-random-seed.service: Job local-fs.target/start deleted to break ordering cycle starting with systemd-boot-random>
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job systemd-boot-random-seed.service/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: sysinit.target: Job local-fs.target/start deleted to break ordering cycle starting with sysinit.target/start
Sep 03 08:42:26 greg-venusseries systemd[1]: systemd-boot-random-seed.service: Job local-fs.target/start deleted to break ordering cycle starting with systemd-boot-random>
Sep 03 08:42:48 greg-venusseries wpa_supplicant[888]: bgscan simple: Failed to enable signal strength monitoring
Sep 03 08:42:55 greg-venusseries kernel: Bluetooth: hci0: command 0x0405 tx timeout
Sep 03 08:42:57 greg-venusseries kernel: Bluetooth: hci0: command 0x0405 tx timeout
❱sudo journalctl -b -u NetworkManager
Sep 03 08:42:27 greg-venusseries systemd[1]: Starting Network Manager...
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.0865] NetworkManager (version 1.48.8-1) is starting... (boot:e774d077-3d1b-4078-a999-586ea869437>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.0866] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf)
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.0926] manager[0x64be63cce3e0]: monitoring kernel firmware directory '/lib/firmware'.
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1145] hostname: hostname: using hostnamed
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1146] hostname: static hostname changed from (none) to "greg-venusseries"
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1147] dns-mgr: init: dns=default,systemd-resolved rc-manager=symlink
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1152] manager[0x64be63cce3e0]: rfkill: Wi-Fi hardware radio set enabled
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1152] manager[0x64be63cce3e0]: rfkill: WWAN hardware radio set enabled
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1188] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/1.48.8-1/libnm-device-plugin-a>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1209] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.48.8-1/libnm-device-plugin>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1215] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/1.48.8-1/libnm-device-plugin-o>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1390] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/1.48.8-1/libnm-device-plugin->
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1400] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/1.48.8-1/libnm-device-plugin->
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1405] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/1.48.8-1/libnm-device-plugin->
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1407] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1408] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1408] manager: Networking is enabled by state file
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1411] settings: Loaded settings plugin: keyfile (internal)
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1435] dhcp: init: Using DHCP client 'internal'
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1437] manager: (lo): new Loopback device (/org/freedesktop/NetworkManager/Devices/1)
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1446] device (lo): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-ifac>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1449] device (lo): state change: unavailable -> disconnected (reason 'connection-assumed', sys-i>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1455] device (lo): Activation: starting connection 'lo' (69c0fc6e-3da5-4e86-a399-4ffc9933d713)
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1470] manager: (enp86s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1479] settings: (enp86s0): created default wired connection 'Wired connection 1'
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1479] device (enp86s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-stat>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1782] manager: (enp88s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1791] settings: (enp88s0): created default wired connection 'Wired connection 2'
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.1791] device (enp88s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-stat>
Sep 03 08:42:27 greg-venusseries systemd[1]: Started Network Manager.
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2142] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2148] ovsdb: disconnected from ovsdb
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2149] device (lo): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'exter>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2150] device (lo): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2151] device (lo): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2155] device (lo): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'externa>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2166] device (lo): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'exter>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2169] modem-manager: ModemManager available
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2169] device (lo): state change: secondaries -> activated (reason 'none', sys-iface-state: 'exte>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.2171] device (lo): Activation: successful, device activated.
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.5211] device (wlan0): driver supports Access Point (AP) mode
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.5217] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/4)
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.5224] rfkill2: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:1d.3/0000:59:00.>
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.5228] device (wlan0): interface index 4 renamed iface from 'wlan0' to 'wlp89s0'
Sep 03 08:42:27 greg-venusseries NetworkManager[788]: <info>  [1725349347.5280] device (wlp89s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-stat>
Sep 03 08:42:28 greg-venusseries NetworkManager[788]: <info>  [1725349348.2072] device (wlp89s0): supplicant interface state: internal-starting -> disconnected
Sep 03 08:42:28 greg-venusseries NetworkManager[788]: <info>  [1725349348.2073] Wi-Fi P2P device controlled by interface wlp89s0 created
Sep 03 08:42:28 greg-venusseries NetworkManager[788]: <info>  [1725349348.2076] manager: (p2p-dev-wlp89s0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/D>
Sep 03 08:42:28 greg-venusseries NetworkManager[788]: <info>  [1725349348.2078] device (p2p-dev-wlp89s0): state change: unmanaged -> unavailable (reason 'managed', sys-if>
Sep 03 08:42:28 greg-venusseries NetworkManager[788]: <info>  [1725349348.2081] device (wlp89s0): state change: unavailable -> disconnected (reason 'supplicant-available'>
Sep 03 08:42:28 greg-venusseries NetworkManager[788]: <info>  [1725349348.2085] device (p2p-dev-wlp89s0): state change: unavailable -> disconnected (reason 'none', sys-if>
Sep 03 08:42:30 greg-venusseries NetworkManager[788]: <info>  [1725349350.1386] agent-manager: agent[ccbc0411b44a45ed,:1.26/org.kde.plasma.networkmanagement/1000]: agent >
Sep 03 08:42:30 greg-venusseries NetworkManager[788]: <info>  [1725349350.5740] audit: op="statistics" interface="enp86s0" ifindex=2 args="500" pid=1161 uid=1000 result=">
Sep 03 08:42:30 greg-venusseries NetworkManager[788]: <info>  [1725349350.5770] audit: op="statistics" interface="enp88s0" ifindex=3 args="500" pid=1161 uid=1000 result=">
Sep 03 08:42:30 greg-venusseries NetworkManager[788]: <info>  [1725349350.5810] audit: op="statistics" interface="wlp89s0" ifindex=4 args="500" pid=1161 uid=1000 result=">
Sep 03 08:42:30 greg-venusseries NetworkManager[788]: <info>  [1725349350.5848] audit: op="statistics" interface="enp88s0" ifindex=3 args="500" pid=1161 uid=1000 result=">
Sep 03 08:42:30 greg-venusseries NetworkManager[788]: <info>  [1725349350.5887] audit: op="statistics" interface="enp88s0" ifindex=3 args="500" pid=1161 uid=1000 result=">
Sep 03 08:42:34 greg-venusseries NetworkManager[788]: <info>  [1725349354.4993] manager: startup complete
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4732] policy: auto-activating connection 'TP-Link_E013_5G' (ecd22448-e1d7-484b-a43f-4479c300964c)
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4737] device (wlp89s0): Activation: starting connection 'TP-Link_E013_5G' (ecd22448-e1d7-484b-a4>
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4739] device (wlp89s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: '>
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4741] manager: NetworkManager state is now CONNECTING
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4743] device (wlp89s0): state change: prepare -> config (reason 'none', sys-iface-state: 'manage>
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4745] device (wlp89s0): Activation: (wifi) access point 'TP-Link_E013_5G' has security, but secr>
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4745] device (wlp89s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'mana>
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4897] device (wlp89s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'man>
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4899] device (wlp89s0): state change: prepare -> config (reason 'none', sys-iface-state: 'manage>
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4902] device (wlp89s0): Activation: (wifi) connection 'TP-Link_E013_5G' has security, and secret>
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4902] Config: added 'ssid' value 'TP-Link_E013_5G'
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4902] Config: added 'scan_ssid' value '1'
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4902] Config: added 'bgscan' value 'simple:30:-70:86400'
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4902] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE'
Sep 03 08:42:46 greg-venusseries NetworkManager[788]: <info>  [1725349366.4902] Config: added 'psk' value '<hidden>'
Sep 03 08:42:47 greg-venusseries NetworkManager[788]: <info>  [1725349367.0229] device (wlp89s0): supplicant interface state: disconnected -> authenticating
Sep 03 08:42:47 greg-venusseries NetworkManager[788]: <info>  [1725349367.0229] device (p2p-dev-wlp89s0): supplicant management interface state: disconnected -> authentic>
Sep 03 08:42:47 greg-venusseries NetworkManager[788]: <info>  [1725349367.0259] device (wlp89s0): supplicant interface state: authenticating -> associating
Sep 03 08:42:47 greg-venusseries NetworkManager[788]: <info>  [1725349367.0260] device (p2p-dev-wlp89s0): supplicant management interface state: authenticating -> associa>
Sep 03 08:42:47 greg-venusseries NetworkManager[788]: <info>  [1725349367.0734] device (wlp89s0): supplicant interface state: associating -> 4way_handshake
Sep 03 08:42:47 greg-venusseries NetworkManager[788]: <info>  [1725349367.0735] device (p2p-dev-wlp89s0): supplicant management interface state: associating -> 4way_hands>
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.2203] device (wlp89s0): supplicant interface state: 4way_handshake -> completed
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.2204] device (wlp89s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected>
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.2204] device (p2p-dev-wlp89s0): supplicant management interface state: 4way_handshake -> complet>
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.2238] device (wlp89s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'mana>
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.2244] dhcp4 (wlp89s0): activation: beginning transaction (timeout in 45 seconds)
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.2764] dhcp4 (wlp89s0): state changed new lease, address=192.168.1.114, acd pending
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.4422] dhcp4 (wlp89s0): state changed new lease, address=192.168.1.114
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.4429] policy: set 'TP-Link_E013_5G' (wlp89s0) as default for IPv4 routing and DNS
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.4829] device (wlp89s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'ma>
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.5450] device (wlp89s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: '>
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.5452] device (wlp89s0): state change: secondaries -> activated (reason 'none', sys-iface-state: >
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.5456] manager: NetworkManager state is now CONNECTED_SITE
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.5504] device (wlp89s0): Activation: successful, device activated.
Sep 03 08:42:48 greg-venusseries NetworkManager[788]: <info>  [1725349368.6262] manager: NetworkManager state is now CONNECTED_GLOBAL
Sep 03 08:42:50 greg-venusseries NetworkManager[788]: <info>  [1725349370.1264] dhcp6 (wlp89s0): activation: beginning transaction (timeout in 45 seconds)
lines 4-95/95 (END)

It appears that you have network issues - which will reflect on access to network shares - that is usually not caused by properly configured mount units or in fstab - but cifs in fstab are notoriously difficult.

There is some important things to understand

  • network mounts depends on network
    • so if network is flaky
    • you shouldn’t add random options to the unit
    • fix the network issue
  • The systemd mount unit will create the folder if it does not exist
  • The same is not true for the automount
    • add a condition to the automount
    • it should only execute if the folder exist

Always test a mount once

  • start
  • check status for any message
  • ensure mountpoint is populated
  • stop

Add a timeout to prevent the service from hanging your system if network becomes inaccessible - flaky network.

# /etc/systemd/system/mnt-TRUENAS_home.mount
[Unit]
Description=Mount SMB Share - TRUENAS home

[Mount]
What=//192.168.1.100/home
Where=/mnt/TRUENAS_home
Type=cifs
TimeoutSec=30
Options=_netdev,vers=2.0,credentials=/etc/samba/.smbcredentials-nas,iocharset=utf8,file_mask=0666,dir_mask=0777

[Install]
WantedBy=multi-user.target

auto mount with path condition
always test once

  • start .automount
  • check status - for any message
  • access path
  • verify it gets populated
  • only on success you can enable the automount
# /etc/systemd/system/mnt-TRUENAS_home.automount
[Unit]
Description=Automount SMB Share - TRUENAS Home
ConditionPathExists=/mnt/TRUENAS_home

[Automount]
Where=/mnt/TRUENAS_home
TimeoutIdleSec=30

[Install]
WantedBy=multi-user.target

If for some reason a unit fails - check status

systemctl status my-mount.mount

or

 systemctl status my-mount.automount

yes, there is something very odd going on, this is what im saying. At boot it will often not be able to even start the network manager at all, not just the wifi the whole thing.

I have multiple OS’s on this computer, none of them have any issues. Many devices in the house and many years of network from current router with no problems. Its only on this OS.

This is why iv been tinkering with trying to get it to wait for the network to be available but i couldn’t figure it.

They all definitely exist. but i added the ConditionPathExists to all.

Another reboot… the network started normally this time.

You know i think there is some kind of hardware problem with this brand new £1k computer. I cant be sure because as i say there are other os’s on it. They dont have mounts but if there were network hardware issues i would have thought it would show on some of the other os’s even if they don’t mount any nas.

It just seems that sometimes, especially from reboot rather than cold boot, that the network drivers/hardware/kernel (i dunno) is somewhat ehh.

❱sudo journalctl -b -p 3
Sep 03 09:51:58 greg-venusseries kernel: pci 0000:00:07.2: DPC: RP PIO log size 0 is invalid
Sep 03 09:52:05 greg-venusseries wpa_supplicant[876]: bgscan simple: Failed to enable signal strength monitoring
Sep 03 09:52:31 greg-venusseries kernel: Bluetooth: hci0: command 0x0405 tx timeout
Sep 03 09:52:33 greg-venusseries kernel: Bluetooth: hci0: command 0x0405 tx timeout
Sep 03 09:53:10 greg-venusseries bluetoothd[764]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Connection timed out
Sep 03 09:53:10 greg-venusseries bluetoothd[764]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Connection timed out
Sep 03 09:53:15 greg-venusseries bluetoothd[764]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to B0:38:E2:51:B0:B4: Host is down (112)

Well, it’s all working fine this boot cycle, no reams of ordering cycle errors, but I’m sure within the next boot or two it’ll start annoying me again, but i don’t know what else to do.

Thank you for your time :slight_smile:

Bluetooth and wifi is usually on the same device.

You say - multiboot - I’d say - possible cause of trouble.

On EFI systems the OS can write various devices states to NVRAM and it has occurred that a device cease to function in one OS but continues to work in another.

My general advise is to avoid booting several OS on the same system as this may cause more pain than gain.