summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-01-27 15:14:50 -0500
committerMike Gilbert <floppym@gentoo.org>2023-01-27 15:16:45 -0500
commit18e0da7d0aa16d3e64ddc9782a8d4c29330b5b5b (patch)
treeec048678f005ef74a6b7b67dcb87b9e4e2498a66 /net-fs
parentnet-fs/samba: drop keepdir /var/lock/samba (diff)
downloadgentoo-18e0da7d0aa16d3e64ddc9782a8d4c29330b5b5b.tar.gz
gentoo-18e0da7d0aa16d3e64ddc9782a8d4c29330b5b5b.tar.bz2
gentoo-18e0da7d0aa16d3e64ddc9782a8d4c29330b5b5b.zip
net-fs/samba: move more keepdirs to tmpfiles
Closes: https://bugs.gentoo.org/602352 Closes: https://bugs.gentoo.org/520612 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/files/samba.conf11
-rw-r--r--net-fs/samba/samba-4.15.12-r3.ebuild5
-rw-r--r--net-fs/samba/samba-4.16.7-r3.ebuild5
3 files changed, 8 insertions, 13 deletions
diff --git a/net-fs/samba/files/samba.conf b/net-fs/samba/files/samba.conf
index a7f4946fb07c..8e6e9dd8a158 100644
--- a/net-fs/samba/files/samba.conf
+++ b/net-fs/samba/files/samba.conf
@@ -1,3 +1,8 @@
-D /run/samba 0755 root root
-D /run/ctdb 0755 root root
-D /run/lock/samba 0755 root root
+d /run/samba
+d /run/ctdb
+d /run/lock/samba
+d /var/cache/samba
+d /var/lib/ctdb
+d /var/lib/samba/bind-dns
+d /var/lib/samba/private
+d /var/log/samba
diff --git a/net-fs/samba/samba-4.15.12-r3.ebuild b/net-fs/samba/samba-4.15.12-r3.ebuild
index 647db70b0f64..7cd4ba9cba8b 100644
--- a/net-fs/samba/samba-4.15.12-r3.ebuild
+++ b/net-fs/samba/samba-4.15.12-r3.ebuild
@@ -318,11 +318,6 @@ multilib_src_install() {
insinto /etc/security
doins examples/pam_winbind/pam_winbind.conf
fi
-
- keepdir /var/cache/samba
- keepdir /var/lib/ctdb
- keepdir /var/lib/samba/{bind-dns,private}
- keepdir /var/log/samba
}
multilib_src_test() {
diff --git a/net-fs/samba/samba-4.16.7-r3.ebuild b/net-fs/samba/samba-4.16.7-r3.ebuild
index 2029be6f6ff9..3f91c4f83dab 100644
--- a/net-fs/samba/samba-4.16.7-r3.ebuild
+++ b/net-fs/samba/samba-4.16.7-r3.ebuild
@@ -358,11 +358,6 @@ multilib_src_install() {
insinto /etc/security
doins examples/pam_winbind/pam_winbind.conf
fi
-
- keepdir /var/cache/samba
- keepdir /var/lib/ctdb
- keepdir /var/lib/samba/{bind-dns,private}
- keepdir /var/log/samba
}
pkg_postinst() {