[Lxc-users] Setting up tty correctly / Correctly handling system upgrades

Andreas Feldner lxc-admin at flying-snail.de
Sat Jan 28 20:03:39 UTC 2012


Hi Daniel,

the /dev/console definition was confused with what is actually the /dev/ptmx definition, and the /dev/tty definition was lacking altogether.

And with the new version util-linux, indeed system updates are working again!

Thanks a lot!

Andreas.

Am 23.01.2012 um 22:35 schrieb Daniel Baumann:

> On 01/23/2012 08:00 PM, Andreas Feldner wrote:
>> some tools (e.g. sudo) are claiming a lack of tty:
> 
> regarding tty and stuff, make sure you have all of the following:
> 
> # /dev/console
> lxc.cgroup.devices.allow                = c 5:1 rwm
> # /dev/ptmx
> lxc.cgroup.devices.allow                = c 5:2 rwm
> # /dev/pts/*
> lxc.cgroup.devices.allow                = c 136:* rwm
> # /dev/tty
> lxc.cgroup.devices.allow                = c 5:0 rwm
> 
>> the configuration of util-linux is running into an error, I assume it has to do with removing inappropriate services by linux-continers:
> 
> no, you just hit #473202 in util-linux.
> 
>> But how does the linux-container package's magic service disabling work together with system updates?
> 
> update-rc.d disable is respected, but that only works is if the package
> (util-linux) is not broken, see above referenced bug.
> 
> -- 
> Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
> Email:          daniel.baumann at progress-technologies.net
> Internet:       http://people.progress-technologies.net/~daniel.baumann/
> 
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users






More information about the lxc-users mailing list