Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575352 - app-emulation/lxc: service can "use lxcfs"
Summary: app-emulation/lxc: service can "use lxcfs"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-22 04:41 UTC by Erik Mackdanz
Modified: 2016-05-19 04:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.