sys-fs/lxcfs: temporarily disable keepdir due to weird file collisions
authorJoonas Niilola <juippis@gentoo.org>
Fri, 15 May 2020 13:55:27 +0000 (16:55 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Fri, 15 May 2020 13:55:43 +0000 (16:55 +0300)
Bug: https://bugs.gentoo.org/698722
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
sys-fs/lxcfs/lxcfs-4.0.3.ebuild

index 726fa0659d7cf50efb162fe7ef3a64f35704daa3..2c44e836a2c6b9338ff5e909b9ce07540aeb20cb 100644 (file)
@@ -15,10 +15,9 @@ KEYWORDS="~amd64"
 
 # 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"
 
@@ -44,7 +43,9 @@ src_test() {
 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