3 ms·
It is kinda funny how systemd will bail to the emergency console if it can't figure out the dependencies chain. but it will happily run something as root if tol
by digi_owl 9y ago
It is kinda funny how systemd will bail to the emergency console if it can't figure out the dependencies chain. but it will happily run something as root if told to not do so, but can't find the user account it it told to use.
- vbernat 9y agoIf you provide a valid username (by systemd definition) of a user who doesn't exist, systemd won't run the unit. The behavior is just consistent with unknown/invalid options (IMO, User= should be an exception to this).
- qb45 9y agoIt isn't even consistent with unknown options, because the option User is known. Once this is recognized, there should be no difference between nonexistent and invalid usernames. I don't even want to know how their code is written so that it allows such error to happen and remain undetected.