Summary: | =sys-fs/lxcfs-5.0.2-r1: Broken /var/lib/lxc path in lxc.mount.hook script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alix <alix.gentoo> |
Component: | Current packages | Assignee: | Joonas Niilola <juippis> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | virtualization |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Example of lxc.mount.hook with incorrect paths |
Description
Alix
2022-10-29 09:42:33 UTC
Created attachment 825801 [details]
Example of lxc.mount.hook with incorrect paths
Oh, and this wrong path effectively means that lxcfs is silently not getting enabled for lxc containers where it is enabled via mount script hook. Our meson.eclass sets: --localstatedir "${EPREFIX}/var/lib" and lxcfs's meson.build sets: conf.set_quoted('LXCFSTARGETDIR', join_paths(localstatedir, 'lib/lxcfs')) combined it becomes: ${EPREFIX}/var/lib/lib/lxcfs. Now I wonder who's in the wrong here. The eclass, upstream meson.build or me with the ebuilds trying to switch the directory into /var/lib/lxcfs. Gonna investigate this a bit more. Thanks for the report! Filed bug #878913 - but I'm going to define it in the ebuild as a temporary fix. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97acc1924aeab37ac145082102cc83eacc76d6b1 commit 97acc1924aeab37ac145082102cc83eacc76d6b1 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-11-01 12:17:24 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-11-01 12:19:17 +0000 app-containers/lxc: define and fix --localstatedir Closes: https://bugs.gentoo.org/878603 Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-containers/lxc/{lxc-5.0.1-r1.ebuild => lxc-5.0.1-r2.ebuild} | 2 ++ 1 file changed, 2 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde0a13355f738dfaf3031ec81b47c5e7bb91a20 commit cde0a13355f738dfaf3031ec81b47c5e7bb91a20 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-11-01 11:19:04 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-11-01 12:19:17 +0000 sys-fs/lxcfs: define and fix --localstatedir Closes: https://bugs.gentoo.org/878603 Signed-off-by: Joonas Niilola <juippis@gentoo.org> sys-fs/lxcfs/{lxcfs-5.0.2-r1.ebuild => lxcfs-5.0.2-r2.ebuild} | 2 ++ 1 file changed, 2 insertions(+) |