[lxc-users] lxd: Can't write to /dev/console

Matt Willsher matt at monki.org.uk
Thu Feb 4 13:31:31 UTC 2016


> On 4 Feb 2016, at 12:19, Stéphane Graber <stgraber at ubuntu.com> wrote:
> 
> On Thu, Feb 04, 2016 at 11:33:24AM +0000, Matt Willsher wrote:
>> 
>> Is there a way to make /dev/console writable?
>> 
> 
> raw.lxc: |
>    lxc.console=
>    lxc.cgroup.allow=c 5:1 rwx

I get the following errors with  those set in my profile:

            lxc 20160204132837.911 ERROR    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1526 - call to cgmanager_set_value_sync failed: invalid request
            lxc 20160204132837.911 ERROR    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1529 - Error setting cgroup allow:lxc/myvm13 limit type allow
            lxc 20160204132837.911 ERROR    lxc_start - start.c:lxc_spawn:1090 - failed to setup the cgroup limits for 'myvm13'
            lxc 20160204132837.941 ERROR    lxc_start - start.c:__lxc_start:1273 - failed to spawn 'myvm13'

> That or wait for lxd 2.0.0.beta2 (next Tuesday) which will have
> /dev/console writable again.

I can wait until this though and work around it for the time being.

Thanks for the help.

Matt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160204/853fa98f/attachment.sig>


More information about the lxc-users mailing list