[systemd-bugs] [Bug 89048] DOC: the man pages should clarify that "systemctl daemon-reload" is the way to make systemd reread /etc/fstab
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 10 09:14:16 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89048
--- Comment #4 from Milan Knížek <knizek.confy at gmail.com> ---
Hm, I did test it all again and this time it seems to work. I.e.
1. Modify fstab (added cifs automount in my case)
2. 'systemctl daemon-reload'
3. 'systemctl list-units --all | grep "automount"' lists the new mounts
4. 'systemctl start my-share.automount'
5. 'ls -la /path/to/my-share' shows the files
Similarly, it works for removing the shares from fstab and stopping the
automount service.
Sorry for the fuss. When I tested few days ago, I may have not used the '--all'
switch, otherwise I cannot explain it to myself. I have also updated the OS in
the meantime, though I guess it would be quite a coincidence if there was a bug
earlier and resolved now.
To sum it up, I'd propose to modify the man page to make it clear that point 2
and 4 must be run manually after fstab is modified.
Thanks for your work.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150210/5cce5557/attachment.html>
More information about the systemd-bugs
mailing list