I have tried several methods to start the systemd mount for a cifs drive that works after NetworkManager has completed startup. Unfortunately, all the documented methods did not work after trying updates to fstab and foo.mount files with _netdev, x-systemd.requires=network-online.target, and After=network-online.target. I even tried Retry=OnFailure in the foo.mount file but it did not retry after the network unreachable error.
Below are the foo.service file that I could find that would only work to start the network drive and the results of that file at startup. I chatted the group on #archlinux-arm and they said all I had tried should have worked. Are there any other suggestions I should try or is this a bug that needs to be reported somewhere?
$this->bbcode_second_pass_code('', '[Unit]
Description=Goddard NUC Share Drive Service to fix ALARM
Requires=systemd-networkd.service
Wants=network-online.target
After=NetworkManager-wait-online.service
')
$this->bbcode_second_pass_code('', 'journalctl -b | grep Goddard
Sep 08 12:43:39 FrankArch systemd[1]: Started Goddard NUC Share Drive Service to fix ALARM.
Sep 08 12:43:42 FrankArch NetworkManager[325]: <info> [1567961022.1292] policy: auto-activating connection 'Goddard Wi-Fi Network'
Sep 08 12:43:42 FrankArch NetworkManager[325]: <info> [1567961022.1308] device (wlan0): Activation: starting connection 'Goddard Wi-Fi Network'
Sep 08 12:43:42 FrankArch NetworkManager[325]: <info> [1567961022.6688] device (wlan0): Activation: (wifi) access point 'Goddard Wi-Fi Network' has security, but secrets are required.
Sep 08 12:43:42 FrankArch NetworkManager[325]: <info> [1567961022.6780] device (wlan0): Activation: (wifi) connection 'Goddard Wi-Fi Network' has security, and secrets exist. No new secrets needed.
Sep 08 12:43:42 FrankArch NetworkManager[325]: <info> [1567961022.6781] Config: added 'ssid' value 'Goddard Wi-Fi Network'
Sep 08 12:43:45 FrankArch systemd[1]: Stopped Goddard NUC Share Drive Service to fix ALARM.
Sep 08 12:43:45 FrankArch systemd[1]: Started Goddard NUC Share Drive Service to fix ALARM.
Sep 08 12:43:45 FrankArch wpa_supplicant[320]: wlan0: Trying to associate with SSID 'Goddard Wi-Fi Network'
Sep 08 12:43:47 FrankArch NetworkManager[325]: <info> [1567961027.9049] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "Goddard Wi-Fi Network"
Sep 08 12:43:48 FrankArch NetworkManager[325]: <info> [1567961028.0365] policy: set 'Goddard Wi-Fi Network' (wlan0) as default for IPv4 routing and DNS
Sep 08 12:44:28 FrankArch systemd[1]: Stopped Goddard NUC Share Drive Service to fix ALARM.
Sep 08 12:44:28 FrankArch systemd[1]: Started Goddard NUC Share Drive Service to fix ALARM.')