2015-01-28 2:05 GMT+01:00 Lennart Poettering <lenn...@poettering.net>:
> On Tue, 20.01.15 11:24, Andrei Borzenkov (arvidj...@gmail.com) wrote:
>> - stop in emergency shell when mount fails
>> - fix /etc/fstab
>> - ^D to continue boot
>>
>> no more works, because /etc/fstab is not reevaluated so systemd will
>> still try the same broken mount again.
>
> Yeah, systemd will require a "systemctl daemon-reload" first. It might
> be a good idea if distros would mention that in a comment in the
> default fstab file they install.


Hm, I vaguely remember that we discussed quite a while ago. Wasn't the
idea to trigger the daemon-reload automatically when exiting the
emergency/rescue shell?

Could be as simple as changing emergency.service from

 ExecStart=-/bin/sh -c "/sbin/sulogin; /bin/systemctl --fail --no-block default"

to
 ExecStart=-/bin/sh -c "/sbin/sulogin; /bin/systemctl daemon-reload;
/bin/systemctl --fail --no-block default"


Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to