commit: db815939b0820c83b07dd3cc9112fabc745abad9 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> AuthorDate: Wed Jun 10 18:25:47 2020 +0000 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> CommitDate: Wed Jun 10 18:27:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db815939
sys-libs/pam: create runtime directory for faillock Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> sys-libs/pam/pam-1.4.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-libs/pam/pam-1.4.0.ebuild b/sys-libs/pam/pam-1.4.0.ebuild index 618c8ca6467..3583a5ca60a 100644 --- a/sys-libs/pam/pam-1.4.0.ebuild +++ b/sys-libs/pam/pam-1.4.0.ebuild @@ -92,9 +92,13 @@ multilib_src_install() { multilib_src_install_all() { find "${ED}" -type f -name '*.la' -delete || die + dodir /usr/lib/tmpfiles.d + cat - > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}-:${SLOT}.conf <<EOF +d /var/run/faillock 0755 root root - +EOF + if use selinux; then - dodir /usr/lib/tmpfiles.d - cat - > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<EOF + cat - >> "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<EOF d /run/sepermit 0755 root root EOF fi