commit:     978462b1245d2bb8575622e00aeeeed337b83d88
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 17:36:04 2022 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 17:36:40 2022 +0000
URL:        https://gitweb.gentoo.org/proj/grs.git/commit/?id=978462b1

samba: create /var/log/samba for samba-4.15.7

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 core/var/log/samba/.keep | 0
 scripts/clean.sh         | 6 ++++++
 2 files changed, 6 insertions(+)

diff --git a/core/var/log/samba/.keep b/core/var/log/samba/.keep
deleted file mode 100644
index e69de29..0000000

diff --git a/scripts/clean.sh b/scripts/clean.sh
index 2022316..8b757b5 100644
--- a/scripts/clean.sh
+++ b/scripts/clean.sh
@@ -4,3 +4,9 @@ for d in /tmp /var/tmp /var/log; do
     find ${d} -mindepth 1 -exec rm -rf {} +
 done
 rm -rf /etc/resolv.conf
+
+# BUG: samba-4.15.7 can't create /var/log/samba
+# on startup, so we will.  We should remove this
+# when samba is fixed, although it shouldn't cause
+# a problem.
+mkdir -p /var/log/samba

Reply via email to