summaryrefslogtreecommitdiffstats
path: root/etc/mtree
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-04-20 19:00:11 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-04-20 19:00:11 +0000
commit5e1dc7a023b928360790e59174e4ce94c8f3b60e (patch)
tree1a43b012371e12749cd65e3086f8e25bbe3e81e0 /etc/mtree
parentc5bca421d9f59f412886b51e99d578df72fa1269 (diff)
downloadFreeBSD-src-5e1dc7a023b928360790e59174e4ce94c8f3b60e.zip
FreeBSD-src-5e1dc7a023b928360790e59174e4ce94c8f3b60e.tar.gz
In my continuing crusade to make life better for non-sendmail users, avoid
the creation of /var/spool/clientmqueue and therefore the need for the smmsp user and group if NO_SENDMAIL is defined. This required breaking out the creation of the directory into a new BSD.sendmail.dist mtree file. MFC after: 1 week
Diffstat (limited to 'etc/mtree')
-rw-r--r--etc/mtree/BSD.sendmail.dist14
-rw-r--r--etc/mtree/BSD.var.dist2
2 files changed, 14 insertions, 2 deletions
diff --git a/etc/mtree/BSD.sendmail.dist b/etc/mtree/BSD.sendmail.dist
new file mode 100644
index 0000000..14fbd6f
--- /dev/null
+++ b/etc/mtree/BSD.sendmail.dist
@@ -0,0 +1,14 @@
+# $FreeBSD$
+#
+# Please see the file src/etc/mtree/README before making changes to this file.
+#
+
+/set type=dir uname=root gname=wheel mode=0755
+. nochange
+ var nochange
+ spool nochange
+ clientmqueue uname=smmsp gname=smmsp mode=0770
+ ..
+ ..
+ ..
+..
diff --git a/etc/mtree/BSD.var.dist b/etc/mtree/BSD.var.dist
index 7fe0f50..c7c6638 100644
--- a/etc/mtree/BSD.var.dist
+++ b/etc/mtree/BSD.var.dist
@@ -64,8 +64,6 @@
rwho gname=daemon mode=0775
..
spool
- clientmqueue uname=smmsp gname=smmsp mode=0770
- ..
lock uname=uucp gname=dialer mode=0775
..
/set gname=daemon
OpenPOWER on IntegriCloud