On 2016-12-01 14:48, Anton Aylward wrote:
On 11/30/2016 10:29 PM, Andrei Borzenkov wrote:
/etc/fstab is read once when systemd is started. Editing it after that has no effect unless you reload systemd (systemctl daemon-reload) and even then previous units may be carried over.
Hmmm. It occurs to me that what systemd actually does is run a converter that generated unit files for each mount .
I see they are in /run/systemd/generator/
Oh, and I see that the generator also produces dependencies in /run/systemd/generator/local-fs.target.requires
Take a look on your own system and see what you have :-)
Well, now the comments are removed in fstab, so at this point I can't check the difference.
So if you edit /etc/fstab you will need to get the generator re-run, as Andrei says, by restarting systemd.
It seems so.
HOWEVER I see no reason that the old mount files will be deleted.
Perhaps this constituents a bug? What do the systemd experts think?
It appears to be intentional, so bug reports are ignored. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)