Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxcfs not starting since 4.0.4 #3

Closed
lemonzest79 opened this issue Jul 4, 2020 · 7 comments
Closed

lxcfs not starting since 4.0.4 #3

lemonzest79 opened this issue Jul 4, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@lemonzest79
Copy link

Hiya, running fedora 32 with your copr enabled and getting this from systemctl status lxcfs.service

lxcfs.service - FUSE filesystem for LXC
Loaded: loaded (/usr/lib/systemd/system/lxcfs.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2020-07-04 07:27:23 BST; 2h 13min ago
Docs: man:lxcfs(1)
Process: 966 ExecStart=/usr/bin/lxcfs /var/lib/lxcfs (code=exited, status=1/FAILURE)
Process: 968 ExecStopPost=/bin/fusermount -u /var/lib/lxcfs (code=exited, status=203/EXEC)
Main PID: 966 (code=exited, status=1/FAILURE)

Jul 04 07:27:23 electronicbox systemd[1]: lxcfs.service: Scheduled restart job, restart counter is at 5.
Jul 04 07:27:23 electronicbox systemd[1]: Stopped FUSE filesystem for LXC.
Jul 04 07:27:23 electronicbox systemd[1]: lxcfs.service: Start request repeated too quickly.
Jul 04 07:27:23 electronicbox systemd[1]: lxcfs.service: Failed with result 'exit-code'.
Jul 04 07:27:23 electronicbox systemd[1]: Failed to start FUSE filesystem for LXC.

@lemonzest79
Copy link
Author

rolled back to fedora 32 provided 4.0.1 and it starts up fine, as did previous lxc4 copr build

@ganto
Copy link
Owner

ganto commented Jul 5, 2020

I can reproduce the error also on Fedora 31. lxcfs fails to start with:

Jul 05 23:08:14 host.example.com systemd[1]: Started FUSE filesystem for LXC.
Jul 05 23:08:14 host.example.com lxcfs[184173]: /usr/lib64/lxcfs/liblxcfs.so: undefined symbol: lxcfs_clone - Failed to open liblxcfs.so
Jul 05 23:08:14 host.example.com systemd[1]: lxcfs.service: Main process exited, code=exited, status=1/FAILURE

Not exactly sure what's going on here. Will investigate...

@ganto
Copy link
Owner

ganto commented Jul 5, 2020

Created upstream issue lxc/lxcfs#420

@ganto ganto added the bug Something isn't working label Jul 5, 2020
@brauner
Copy link

brauner commented Jul 6, 2020

Sent a fix for this just now.

@ganto
Copy link
Owner

ganto commented Jul 6, 2020

I just released lxcfs-4.0.4-0.2 with the upstream fix included. Now I cannot reproduce the issue any more.

@brauner
Copy link

brauner commented Jul 7, 2020

I just released lxcfs-4.0.4-0.2 with the upstream fix included. Now I cannot reproduce the issue any more.

Excellent, thank you!

@lemonzest79
Copy link
Author

Loads up fine now :)

lxcfs.service - FUSE filesystem for LXC
Loaded: loaded (/usr/lib/systemd/system/lxcfs.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2020-07-07 06:15:26 BST; 8h ago
Docs: man:lxcfs(1)
Main PID: 832 (lxcfs)
Tasks: 3 (limit: 57704)
Memory: 1.7M
CGroup: /system.slice/lxcfs.service
└─832 /usr/bin/lxcfs /var/lib/lxcfs

Jul 07 06:15:26 electronicbox lxcfs[832]: - proc_diskstats
Jul 07 06:15:26 electronicbox lxcfs[832]: - proc_loadavg
Jul 07 06:15:26 electronicbox lxcfs[832]: - proc_meminfo
Jul 07 06:15:26 electronicbox lxcfs[832]: - proc_stat
Jul 07 06:15:26 electronicbox lxcfs[832]: - proc_swaps
Jul 07 06:15:26 electronicbox lxcfs[832]: - proc_uptime
Jul 07 06:15:26 electronicbox lxcfs[832]: - shared_pidns
Jul 07 06:15:26 electronicbox lxcfs[832]: - cpuview_daemon
Jul 07 06:15:26 electronicbox lxcfs[832]: - loadavg_daemon
Jul 07 06:15:26 electronicbox lxcfs[832]: - pidfds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants