Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 575352

Summary: app-emulation/lxc: service can "use lxcfs"
Product: Gentoo Linux Reporter: Erik Mackdanz <stasibear>
Component: Current packagesAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED FIXED    
Severity: normal CC: dev-zero, hwoarang, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik Mackdanz gentoo-dev 2016-02-22 04:41:36 UTC
Adding "use lxcfs" into files/lxc.initd.3 (in depend()) will activate lxcfs in the case the user has it installed and configured for that runlevel, while not requiring anything for users that don't have it or want it.

lxcfs is available as an optional service for lxc/lxd containers, so that guests see guest-specific output from `uptime` and /proc/cpuinfo, among other things.

lxcfs is developed by the same upstream as lxc/lxd, and integrates with both those products automatically.

lxd has "use lxcfs" in its init script:
https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/lxd/files/lxd-0.27.initd#n13

Presumably there is an equivalent "use lxcfs" for the systemd unit file.

Thanks.  Let me know if you have any questions.
Comment 1 Erik Mackdanz gentoo-dev 2016-05-19 04:27:50 UTC
Resolved in 2.0.1 for both openrc and systemd scripts.