Bug#811116: lxc-ls raises error messages

2016-03-26 Thread Patrice Pillot

Hi Evgeni,

Le 26/03/2016 13:59, Evgeni Golov a écrit :

Can you reproduce the issue with the current LXC 1.1.5 in Stretch?


No! Everything is now running smoothly! With or without cgmanager by the 
way: I just tried uninstalling it out of curiosity but it did not lead me to 
the spurious messages I once had.


Thanks a lot!!

phep



Bug#811116: lxc-ls raises error messages

2016-03-26 Thread Evgeni Golov
control: tags -1 + moreinfo
control: severity -1 minor

Hi Patrice,

On Fri, Jan 15, 2016 at 09:24:10PM +0100, Patrice Pillot wrote:

> When I run commands as lxc-ls, lxc-info, lxc-start, ... on my desktop
> the following error message is printed in host terminal :
> 
> lxc: cgmanager.c: lxc_list_controllers: 817 Error connecting to cgroup
> manager
> 
> Apart from this message, everything seems to run fine
>
> The strange thing is that this error message does not show on my laptop
> which is running stretch too, both machine being updated almost daily.

As already mentioned by others I've seen this messages when cgmanager was not 
running.
But you do have it installed.

Can you reproduce the issue with the current LXC 1.1.5 in Stretch?
/me has no cgmanager installed anymore and it is still working fine without any 
warnings.

Greets
Evgeni



Bug#811116: lxc-ls raises error messages

2016-01-26 Thread phep

Hi,

Le 25/01/2016 15:32, Sven Haardiek a écrit :

installing cgmanager solved it for me.


As you may see in my report, I do have cgmanager installed.

Regards,

phep



Bug#811116: lxc-ls raises error messages

2016-01-25 Thread Sven Haardiek
Hej,

installing cgmanager solved it for me.

Regards, 

Sven

On Fri, 15 Jan 2016 21:24:10 +0100 Patrice Pillot
 wrote:
> Package: lxc
> Version: 1:1.0.8-1
> Severity: normal
> 
> Dear Maintainer,
> 
> When I run commands as lxc-ls, lxc-info, lxc-start, ... on my desktop
> the following error message is printed in host terminal :
> 
> lxc: cgmanager.c: lxc_list_controllers: 817 Error connecting to cgroup
> manager
> 
> Apart from this message, everything seems to run fine :
> - creating containers (privileged, at least),
> - starting containers
> - stopping containers
> - using lxc-info or lxc-ls (except from the garbling effect of this
>   message)
> 
> This is the output of lxc-checkconfig:
> 
> 8<
> Kernel configuration not found at /proc/config.gz; searching...
> Kernel configuration found at /boot/config-4.3.0-1-amd64
> --- Namespaces ---
> Namespaces: enabled
> Utsname namespace: enabled
> Ipc namespace: enabled
> Pid namespace: enabled
> User namespace: enabled
> Network namespace: enabled
> Multiple /dev/pts instances: enabled
> 
> --- Control groups ---
> Cgroup: enabled
> Cgroup clone_children flag: enabled
> Cgroup device: enabled
> Cgroup sched: enabled
> Cgroup cpu account: enabled
> Cgroup memory controller: enabled
> Cgroup cpuset: enabled
> 
> --- Misc ---
> Veth pair device: enabled
> Macvlan: enabled
> Vlan: enabled
> Bridges: enabled
> Advanced netfilter: enabled
> CONFIG_NF_NAT_IPV4: enabled
> CONFIG_NF_NAT_IPV6: enabled
> CONFIG_IP_NF_TARGET_MASQUERADE: enabled
> CONFIG_IP6_NF_TARGET_MASQUERADE: enabled
> CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled
> 
> --- Checkpoint/Restore ---
> checkpoint restore: enabled
> CONFIG_FHANDLE: enabled
> CONFIG_EVENTFD: enabled
> CONFIG_EPOLL: enabled
> CONFIG_UNIX_DIAG: enabled



pgpqNvmC74I91.pgp
Description: OpenPGP digital signature


Bug#811116: lxc-ls raises error messages

2016-01-15 Thread Patrice Pillot
Package: lxc
Version: 1:1.0.8-1
Severity: normal

Dear Maintainer,

When I run commands as lxc-ls, lxc-info, lxc-start, ... on my desktop
the following error message is printed in host terminal :

lxc: cgmanager.c: lxc_list_controllers: 817 Error connecting to cgroup
manager

Apart from this message, everything seems to run fine :
- creating containers (privileged, at least),
- starting containers
- stopping containers
- using lxc-info or lxc-ls (except from the garbling effect of this
  message)

This is the output of lxc-checkconfig:

8<
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-4.3.0-1-amd64
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
Bridges: enabled
Advanced netfilter: enabled
CONFIG_NF_NAT_IPV4: enabled
CONFIG_NF_NAT_IPV6: enabled
CONFIG_IP_NF_TARGET_MASQUERADE: enabled
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled

--- Checkpoint/Restore ---
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities: enabled

Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig

8<

The strange thing is that this error message does not show on my laptop
which is running stretch too, both machine being updated almost daily.

I had a quick look at the source code around where this error is raised
and noticed this might be somehow related to dbus. I compared the
installed packages on both machines (using aptitude search dbus | grep
'^i') and they are identical.

Thanks in advance for fixing this annoying if not grave at all bug.

phep


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lxc depends on:
ii  init-system-helpers  1.24
ii  libapparmor1 2.10-2+b2
ii  libc62.21-6
ii  libcap2  1:2.24-12
ii  liblxc1  1:1.0.8-1
ii  libseccomp2  2.2.3-2
ii  libselinux1  2.4-3
ii  python3  3.4.3-7

Versions of packages lxc recommends:
ii  cgmanager0.39-2
ii  debootstrap  1.0.75
ii  openssl  1.0.2e-1
ii  rsync3.1.1-3

Versions of packages lxc suggests:
ii  lua5.2  5.2.4-1

-- Configuration Files:
/etc/lxc/default.conf [Errno 13] Permission non accordée: 
u'/etc/lxc/default.conf'

-- no debconf information