lxcfs makes lxc's upstart job hang forever
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxcfs (Ubuntu) |
Fix Released
|
High
|
Stéphane Graber |
Bug Description
lxcfs' autopkgtests (https:/
$ sudo apt install lxcfs lxc
[...]
Setting up lxc (1.1.0~
and then hangs forever.
$ sudo initctl list|grep starting
lxc start/starting
$ sudo initctl status lxcfs
lxcfs start/running, process 3206
upstart doesn't have a lot of logging, but judging from which processes I have the gut feeling that /etc/init/
root 3206 0.0 0.1 22008 2380 ? Ss 08:08 0:00 /usr/bin/lxcfs -s -f -o allow_other /var/lib/lxcfs
Somehow the "start on started cgmanager and starting lxc" seems to cause havoc here.
Related branches
Changed in lxcfs (Ubuntu): | |
assignee: | nobody → Stéphane Graber (stgraber) |
importance: | Undecided → High |
tags: | added: autopkgtest qa-daily-testing |
Changed in lxcfs (Ubuntu): | |
status: | New → Fix Committed |
For fun I also tried this under systemd, but debian/rules is missing "--with systemd", so the lxcfs job is never enabled. Enabling it manually with
sudo systemctl enable lxcfs
sudo systemctl start lxcfs
fails:
$ sudo systemctl status lxcfs -l system/ lxcfs.service; enabled; vendor preset: enabled) /usr/bin/ lxcfs -s -o allow_other /var/lib/lxcfs/ (code=exited, status=255)
● lxcfs.service - FUSE filesystem for LXC
Loaded: loaded (/lib/systemd/
Active: failed (Result: start-limit) since Wed 2015-01-14 08:20:10 CET; 8s ago
Process: 3306 ExecStart=
Main PID: 3306 (code=exited, status=255)
Jan 14 08:20:10 autopkgtest systemd[1]: lxcfs.service holdoff time over, scheduling restart.
Jan 14 08:20:10 autopkgtest systemd[1]: Stopping FUSE filesystem for LXC...
Jan 14 08:20:10 autopkgtest systemd[1]: Starting FUSE filesystem for LXC...
Jan 14 08:20:10 autopkgtest systemd[1]: start request repeated too quickly for lxcfs.service
Jan 14 08:20:10 autopkgtest systemd[1]: Failed to start FUSE filesystem for LXC.
Jan 14 08:20:10 autopkgtest systemd[1]: Unit lxcfs.service entered failed state.
Jan 14 08:20:10 autopkgtest systemd[1]: lxcfs.service failed.
"fuse" and "libfuse2" are installed, but perhaps this is missing some other dependency?