commit:     1aa6efcee944c0751b1c58a23ce79022d466124b
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 10 06:25:13 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Oct 10 06:28:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aa6efce

app-emulation/lxd: add fowners for the keepdir

Bug: https://bugs.gentoo.org/817287
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-emulation/lxd/{lxd-4.0.7-r1.ebuild => lxd-4.0.7-r2.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-emulation/lxd/lxd-4.0.7-r1.ebuild 
b/app-emulation/lxd/lxd-4.0.7-r2.ebuild
similarity index 97%
rename from app-emulation/lxd/lxd-4.0.7-r1.ebuild
rename to app-emulation/lxd/lxd-4.0.7-r2.ebuild
index 6741e169d8f..70a7841f123 100644
--- a/app-emulation/lxd/lxd-4.0.7-r1.ebuild
+++ b/app-emulation/lxd/lxd-4.0.7-r2.ebuild
@@ -15,7 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="apparmor ipv6 nls verify-sig"
 
-DEPEND="app-arch/xz-utils
+DEPEND="acct-group/lxd
+       app-arch/xz-utils
        >=app-emulation/lxc-3.0.0[apparmor?,seccomp(+)]
        dev-libs/dqlite
        dev-libs/lzo
@@ -23,7 +24,6 @@ DEPEND="app-arch/xz-utils
        >=dev-util/xdelta-3.0[lzma(+)]
        net-dns/dnsmasq[dhcp,ipv6?]"
 RDEPEND="${DEPEND}
-       acct-group/lxd
        net-firewall/ebtables
        net-firewall/iptables[ipv6?]
        sys-apps/iproute2[ipv6?]
@@ -151,7 +151,9 @@ src_install() {
        systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service 
lxd-containers.service
        systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
 
+       # Temporary fix for #817287
        keepdir /var/log/lxd
+       fowners root:lxd /var/log/lxd
 
        dodoc AUTHORS doc/*
        use nls && domo po/*.mo

Reply via email to