[systemd-devel] PrivateDevices=true blocks use of ttys?

Matthias Urlichs matthias at urlichs.de
Fri Dec 26 14:38:29 PST 2014


Alison Chaiken:
> Isn't /dev/tty0 a pseudo TTY?

It's an alias to the current real TTY, which is not exactly the same thing.

IMHO "PrivateDevices=yes" is supposed to make sure that this job cannot
mess up any "real" device. Writing junk to /dev/tty0 can mess up my console
quite easily. Therefore, blocking /dev/tty0 is correct.

-- Matthias Urlichs

More information about the systemd-devel mailing list