I'm not sure about the error type and message the user gets, though. It seems that the only way to do this currently is to return an approximate errno, which gets translated on the client side and the real message is then found in the error log.
Changes in v2: - move the funcionality to a common path, so uses with and without dbus are affected Jan Synacek (1): core: don't allow enabling if unit is masked src/shared/install.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 1.9.3 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel