Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33432 - [smbnetfs] Service restart required after each reboot
Attached to Project:
Community Packages
Opened by Andrea Amorosi (AndreaA) - Friday, 18 January 2013, 11:50 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 January 2016, 16:58 GMT
Opened by Andrea Amorosi (AndreaA) - Friday, 18 January 2013, 11:50 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 January 2016, 16:58 GMT
|
DetailsDescription:
I've configured smbnetfs as explained in the samba wiki page. If I run systemctl after reboot, smbnetfs.service appears in the loaded active running status, but samba shared remote directories are not mounted until I run systemctl restart smbnetfs. After that it works properly but only till the next reboot. Additional info: * package version(s): 0.5.3a-5 |
This task depends upon
https://wiki.archlinux.org/index.php/Networkmanager#Enable_NetworkManager_Wait_Online
After reboot /mnt/smbnet does not work.
But it works after the restart smbnetfs.service unit.
Solution on this page http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
smbnetfs.service required add:
After=network-online.target
Wants=network-online.target
Additional info:
* 0.6.0-1
Steps to reproduce:
systemctl disable NetworkManager-wait-online.service # disabled by default
systemctl disable systemd-networkd-wait-online.service # disabled by default
reboot
cd /mnt/smbnet
ls #empty
systemctl edit smbnetfs
and adding to Wants network service that you use.