Bug#891836: systemd: systemctl start/stop/restart valid-template at invalid-instance doesn't cause errors

Michael Biebl biebl at debian.org
Fri Mar 2 13:21:03 GMT 2018


Am 02.03.2018 um 13:45 schrieb Christoph Berg:

> I agree that it is not helpful that it doesn't raise an error here,
> but I think it is working as intended by systemd. Or should we rather
> be using AssertFileExists here? But starting the non-existing "foo"
> service doesn't put "foo" into a permanent error state either.

Why not just drop the Condition altogether?
This way you'd get a proper error message from posgresql, and it would
be easier to diagnose what's going wrong?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180302/a1a2f207/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list