[SCM] Samba Shared Repository - branch master updated
Andreas Schneider
asn at samba.org
Tue Oct 9 09:11:04 MDT 2012
The branch, master has been updated
via 66018ea packaging: Add config for systemd-tmpfiles.
from 2f0753b samba-tool: skip chown in sysvolreset when it would fail on a GID
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 66018ea4fbe290cad6aef54454c1f0703f0dff40
Author: Andreas Schneider <asn at cryptomilk.org>
Date: Tue Oct 9 14:25:29 2012 +0200
packaging: Add config for systemd-tmpfiles.
Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date(master): Tue Oct 9 17:10:53 CEST 2012 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
packaging/systemd/README | 14 ++++++++++++++
packaging/systemd/samba.conf.tmp | 1 +
2 files changed, 15 insertions(+), 0 deletions(-)
create mode 100644 packaging/systemd/README
create mode 100644 packaging/systemd/samba.conf.tmp
Changeset truncated at 500 lines:
diff --git a/packaging/systemd/README b/packaging/systemd/README
new file mode 100644
index 0000000..c185b2c
--- /dev/null
+++ b/packaging/systemd/README
@@ -0,0 +1,14 @@
+With systemd the /run or /var/run are tmpfs filesystems. This means
+the direcories required by samba need to be created during startup.
+This can be done with a config file for tmpfiles, see samba.conf.tmp.
+You need to copy this file to the directoy systemd-tmpfiles is looking
+for its config files e.g.:
+
+install -d -m 0755 /etc/tmpfiles.d/
+install -m644 samba.conf.tmp /etc/tmpfiles.d/samba.conf
+
+If you're a packager don't forget to run the systemd-tmpfiles binary
+in the script after samba has been installed. This makes sure the
+directory exists and you can start samba directly after the installation.
+
+/usr/bin/systemd-tmpfiles --create /etc/tmpfiles.d/samba.conf
diff --git a/packaging/systemd/samba.conf.tmp b/packaging/systemd/samba.conf.tmp
new file mode 100644
index 0000000..8a29577
--- /dev/null
+++ b/packaging/systemd/samba.conf.tmp
@@ -0,0 +1 @@
+d /var/run/samba 755 root root
--
Samba Shared Repository
More information about the samba-cvs
mailing list