[systemd-devel] Github systemd issue 6237

Oliver Neukum oneukum at suse.com
Thu Jul 6 06:53:02 UTC 2017


Am Mittwoch, den 05.07.2017, 20:10 +1000 schrieb Michael Chapman:
> I'm pretty sure you'll find that it does. Specifically, it will fail when 
> the child process for the command being executed attempts to map the 
> username to a UID.
> 
> The issue being discussed here is that systemd considers "0day" to be 
> _syntactically_ invalid for a username. See the valid_user_group_name() 
> function in basic/user-util.c.

What a valid username is, is defined in POSIX. If systemd wants
to support only a subset of those, fair enough, but then it must
totally fail anything that uses such a name. Falling back to
another user is not acceptable. It being root is especially bad.

	Regards
		Oliver



More information about the systemd-devel mailing list