On 05/28/2013 09:05 AM, Vaclav Pavlin wrote:
From: Václav Pavlín<[email protected]>

systemctl set-default NAME links the default.target to the given unit,
get-default prints out the path to the currently set default target.

Is this not a bit tricky as in dont we need a way to detect ( introduce Bootable=yes in target units? ) if the administrator(s) are linking to a non bootable target and error out gracefully as in

Something like...

systemctl set-default nfs.target

nfs.target not bootable target exiting...

Or

Bootable dependency in target not meet
nfs.target not bootable target exiting...

otherwise users/administrators might risk linking to a non bootable target, reboot and find themselves with an un-bootable host ( which might be easy to deal with locally but not so much remotely )?

JBG
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to