On 2016-12-01 04:29, Andrei Borzenkov wrote:
01.12.2016 01:51, Carlos E. R. пишет:
Well, today I assembled the two disks and connected them. Both went online as soon as each was powered up, despite the line in fstab being deactivated!
/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.
:-(
No, I don't mean mounted somewhere in /media via the desktop. No. They were mounted in the places that figured in the fstab file!
When systemd creates mount unit from /etc/fstab line with "auto" option, it adds Wants dependency from device to mount unit. Which means that as soon as device appears (is announced by udev) systemd tries to start mount unit.
Yes, I know that... but I did not expect "removed" lines in fstab to not be honored.
Seems things are getting worse in this respect in 42.2 than in 13.1 :-(
Well, systemd author believes it's a feature. If you can find arguments to convince him in the contrary ... I could not.
:-/
Workaround is to create mount units manually, without this dependency.
Sigh. I'll have to learn one day.
(the password for the encrypted disk is in a file on the encrypted home partition, so that part was not a surprise)
Could you send me output of
systemctl show '*'
Sure, but it has 9832 lines. Better I email that direct to you. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)