On Tue, 04.01.11 01:01, Michael Biebl ([email protected]) wrote: > > 2011/1/4 Lennart Poettering <[email protected]>: > > On Tue, 04.01.11 00:24, Wulf C. Krueger ([email protected]) wrote: > > > >> Hello, > >> > >> currently, /dev/pts is mounted without the usual options by systemd. > > > > Normally, additional parameters listed in /etc/fstab should be applied > > on boot with remount-api-vfs.service unit. However, there seems to be a > > bug right now and this is not done properly. > > On Debian and Ubuntu /dev/pts is mounted with noexec,nosuid,gid=tty,mode=0620. > > In Debian it is done via the mountdevsubfs sysv init script, in Ubuntu > it is done by mountall. > On both systems /dev/pts is *not* defined in /etc/fstab. > > I guess Wulf's point isn't, that options in /etc/fstab are not applied > but rather that systemd should mount /dev/pts with those options.
Hmm, I normally would be happy to do that, but I am a bit concerned about the gid=tty parameter. Before we pass that off to the kernel we'd have to look that up and pass a numeric gid on. But doing NSS queries from PID 1 is a little bit dangerous. Hence I'd actually prefer if people apply this in /etc/fstab. Ideas? Suggestions? Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
