Bug#859220: Confirm bug and fix

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#859220: Confirm bug and fix

Sven Velt-4
Hi!

I discovered this bug, too:

,---
| # echo /var/lib/lxcfs/cgroup/*
| /var/lib/lxcfs/cgroup/*
`---

And I can confirm that the small fix also works for me.

Bye

Sven

--
Leukämie     -> http://de.wikipedia.org/wiki/Leuk%C3%A4mie
Heilung      -> http://de.wikipedia.org/wiki/Knochenmark#Knochenmarkspende
Typisierung  -> http://www.knochenmarkspende.de/page.php?id=12
Warum&Fragen -> [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#859220: Script /usr/share/lxcfs/lxc.mount.hook fails with mount command error 32 and causes lxc-start to fail

Evgeni Golov-2
Hi Tony, Sven,

On Sat, Jun 17, 2017 at 09:36:32PM +0200, Sven Velt wrote:
> ,---
> | # echo /var/lib/lxcfs/cgroup/*
> | /var/lib/lxcfs/cgroup/*
> `---
>
> And I can confirm that the small fix also works for me.

One thing I wonder, though: how do you two end up with an empty /var/lib/lxcfs/cgroup/?
When lxcfs is not running, /var/lib/lxcfs/cgroup/ does not exist and thus [1] prevents the code from running.
And when it runs, the folder has entries.

Cheers
Evgeni

[1] https://github.com/lxc/lxcfs/blob/master/share/lxc.mount.hook.in#L33

Reply | Threaded
Open this post in threaded view
|

Bug#859220: [pkg-lxc-devel] Bug#859220: Script /usr/share/lxcfs/lxc.mount.hook fails with mount command error 32 and causes lxc-start to fail

Evgeni Golov-2
On Sun, Jun 18, 2017 at 03:23:20PM +0200, Evgeni Golov wrote:

> Hi Tony, Sven,
>
> On Sat, Jun 17, 2017 at 09:36:32PM +0200, Sven Velt wrote:
> > ,---
> > | # echo /var/lib/lxcfs/cgroup/*
> > | /var/lib/lxcfs/cgroup/*
> > `---
> >
> > And I can confirm that the small fix also works for me.
>
> One thing I wonder, though: how do you two end up with an empty /var/lib/lxcfs/cgroup/?
> When lxcfs is not running, /var/lib/lxcfs/cgroup/ does not exist and thus [1] prevents the code from running.
> And when it runs, the folder has entries.

Could you post the output of
  systemctl status lxcfs -n 100
  cat /proc/self/cgroups
  findmnt
?

Thanks

Reply | Threaded
Open this post in threaded view
|

Bug#859220: Script /usr/share/lxcfs/lxc.mount.hook fails with mount command error 32 and causes lxc-start to fail

Evgeni Golov-2
In reply to this post by Evgeni Golov-2
Hi Tony,

On Sun, Jun 18, 2017 at 09:45:00PM -0500, Tony Thedford wrote:
> Hello Evgeni, Well I do not use systemd on my systems.. could that have
> anything to do with it? Other than that, everything else is standard Debian
> 8 system structures.

LXC and LXCFS should work just fine w/o systemd as pid1.

Can you provide the output of
  cat /proc/self/cgroups
  findmnt
  dpkg -l cgroupfs-mount

Cheers
Evgeni