[libvirt] lxc: setsid() usage

Daniel P. Berrange berrange at redhat.com
Tue Jun 23 12:22:52 UTC 2015


On Tue, Jun 23, 2015 at 02:20:54PM +0200, Richard Weinberger wrote:
> Am 22.06.2015 um 16:51 schrieb Daniel P. Berrange:
> > Also note systemd uses the device via /dev/console, not /dev/tty1
> > and with 'container_ttys' we've told it not to use /dev/tty1 for
> > gettys.  So maybe it deals with /dev/console in a different way
> > than it would if it were /dev/tty1
> 
> BTW: Why are /dev/console and /dev/tty1 symlinks?
> IMHO we could make them bind mounts to /dev/pts/XY.
> 
> That way one does not have to insert "pts/0" and such to /etc/securetty.

Again, just the way they happen to have been implemented historically.
If the bind mount works better we could certainly do that.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list