His issue was he did the manual mount on /raid (already in fstab with
a different device) and systemd immediately unmounted it.  The mount
succeeds with no error, and the umount happens so fast you are left
confused about what is going on.    It did at least note it in
messages so long as you can guess the stupid action it took.  This
action of systemd is pretty badly designed, since it is overriding
what had to be someone/somethings explicit action (and even if this is
documented, documenting stupidity does not make it "right", it is
still wrong).

On Mon, May 25, 2020 at 7:25 AM Greg Woods <g...@gregandeva.net> wrote:
>
>
>
> On Mon, May 25, 2020, 3:29 AM Patrick O'Callaghan <pocallag...@gmail.com> 
> wrote:
>>
>> I wonder why systemd doesn't notice
>> that the file has changed and reload accordingly.
>
>
> The obvious as stupid answer is because it is not designed to work that way. 
> The process is actually documented; see for example 
> systemd-fstab-generator(8).
>
> I would guess that keeping an eye on dozens of config files to see if any of 
> them have changed would use a lot of system resources over time, but I expect 
> there are more serious and less obvious reasons why this is not done.
>
> In fairness to systemd, it has never been possible to edit /etc/fstab and 
> have your changes automatically applied. It has always been necessary to run 
> some sort of mount command (or reboot) after modifying fstab.
>
> --Greg
>
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to