mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sys-apps/systemd-utils: disable auto-cleanup of /tmp and /var/tmp
This can go awry when people have non-standard mount options for these paths. Closes: https://bugs.gentoo.org/910233 Bug: https://bugs.gentoo.org/916623 Closes: https://bugs.gentoo.org/917777 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
2
sys-apps/systemd-utils/files/tmp.conf
Normal file
2
sys-apps/systemd-utils/files/tmp.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
q /tmp 1777 root root
|
||||
q /var/tmp 1777 root root
|
||||
@@ -517,8 +517,8 @@ multilib_src_install_all() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins shell-completion/zsh/_systemd-tmpfiles
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
doins tmpfiles.d/{tmp,x11}.conf
|
||||
doins "${FILESDIR}"/legacy.conf
|
||||
doins tmpfiles.d/x11.conf
|
||||
doins "${FILESDIR}"/{legacy,tmp}.conf
|
||||
fi
|
||||
if use udev; then
|
||||
doheader src/libudev/libudev.h
|
||||
@@ -518,8 +518,8 @@ multilib_src_install_all() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins shell-completion/zsh/_systemd-tmpfiles
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
doins tmpfiles.d/{tmp,x11}.conf
|
||||
doins "${FILESDIR}"/legacy.conf
|
||||
doins tmpfiles.d/x11.conf
|
||||
doins "${FILESDIR}"/{legacy,tmp}.conf
|
||||
fi
|
||||
if use udev; then
|
||||
doheader src/libudev/libudev.h
|
||||
@@ -517,8 +517,8 @@ multilib_src_install_all() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins shell-completion/zsh/_systemd-tmpfiles
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
doins tmpfiles.d/{tmp,x11}.conf
|
||||
doins "${FILESDIR}"/legacy.conf
|
||||
doins tmpfiles.d/x11.conf
|
||||
doins "${FILESDIR}"/{legacy,tmp}.conf
|
||||
fi
|
||||
if use udev; then
|
||||
doheader src/libudev/libudev.h
|
||||
|
||||
Reference in New Issue
Block a user