Bug: https://bugs.gentoo.org/698722
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
# Omit all dbus. Upstream appears to require it because systemd, but
# lxcfs makes no direct use of dbus.
-RDEPEND="
- dev-libs/glib:2
- sys-fs/fuse:0
-"
+# acct-group/lxd needed for the fowners below.
+RDEPEND="dev-libs/glib:2
+ sys-fs/fuse:0"
DEPEND="${RDEPEND}"
BDEPEND="sys-apps/help2man"
src_install() {
default
- keepdir /var/lib/lxcfs
+ # Getting weird file collisions,
+ # keepdir /var/lib/lxcfs
+ # fowners -R root:lxd /var/lib/lxcfs
newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs