[systemd-devel] Mounting /dev/pts

Lennart Poettering lennart at poettering.net
Mon Jan 3 16:33:12 PST 2011

On Mon, 03.01.11 22:24, Gustavo Sverzut Barbieri (barbieri at profusion.mobi) wrote:

> > Anybody has a good reason why we shouldn't solve this with a
> > compile-time NSS lookup?
> don't complicate things, let's keep our regular "do the simple way,
> let's people report corner cases". It was done for other things, why
> not this? At most define a macro:
> #ifndef TTY_GID
> #define TTY_GID 5
> #endif
> and people can still provide it using CFLAGS.

Hmm, I guess a hard ifdef like this should be fine as all distros appear
to be using GID 5. Maybe add a configure option just to avoid any
discussions, but no NSS lookup. Anybody wants to prep a patch for that?


Lennart Poettering - Red Hat, Inc.

More information about the systemd-devel mailing list