Thu Dec 8 01:15:03 2011 UTC ()
According to /etc/rc.d/mdnsd, /var/run/mdnsd is owned by _mdnsd:_mdnsd
if it created.  So, set owner/group of /var/run/mdnsd.

It stop a useless warning in /etc/security.


(taca)
diff -r1.139 -r1.140 src/etc/mtree/special

cvs diff -r1.139 -r1.140 src/etc/mtree/special (expand / switch to unified diff)

--- src/etc/mtree/special 2011/11/26 01:17:17 1.139
+++ src/etc/mtree/special 2011/12/08 01:15:02 1.140
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: special,v 1.139 2011/11/26 01:17:17 tls Exp $ 1# $NetBSD: special,v 1.140 2011/12/08 01:15:02 taca Exp $
2# @(#)special 8.2 (Berkeley) 1/23/94 2# @(#)special 8.2 (Berkeley) 1/23/94
3# 3#
4# This file may be overwritten on upgrades. 4# This file may be overwritten on upgrades.
5# Put your custom specifications in /etc/mtree/special.local instead. 5# Put your custom specifications in /etc/mtree/special.local instead.
6# See security.conf(5) for details. 6# See security.conf(5) for details.
7 7
8# 8#
9# /etc/security checks: 9# /etc/security checks:
10# - All of these are checked if $check_mtree is enabled. 10# - All of these are checked if $check_mtree is enabled.
11# - Files with "nodiff" tags are highlighted if they change. 11# - Files with "nodiff" tags are highlighted if they change.
12# - Files without "nodiff" or "exclude" tags are displayed 12# - Files without "nodiff" or "exclude" tags are displayed
13# with diff(1)s if $check_changelist is enabled. 13# with diff(1)s if $check_changelist is enabled.
14# 14#
@@ -396,27 +396,27 @@ @@ -396,27 +396,27 @@
396./var/cron type=dir mode=0755 396./var/cron type=dir mode=0755
397./var/cron/tabs type=dir mode=0700 397./var/cron/tabs type=dir mode=0700
398./var/cron/tabs/root type=file mode=0600 398./var/cron/tabs/root type=file mode=0600
399./var/db type=dir mode=0755 399./var/db type=dir mode=0755
400./var/log type=dir mode=0755 400./var/log type=dir mode=0755
401./var/log/authlog type=file mode=0600 optional tags=exclude 401./var/log/authlog type=file mode=0600 optional tags=exclude
402./var/log/lastlog type=file mode=0664 gname=utmp tags=exclude 402./var/log/lastlog type=file mode=0664 gname=utmp tags=exclude
403./var/log/lastlogx type=file mode=0664 gname=utmp tags=exclude 403./var/log/lastlogx type=file mode=0664 gname=utmp tags=exclude
404./var/log/wtmp type=file mode=0664 gname=utmp tags=exclude 404./var/log/wtmp type=file mode=0664 gname=utmp tags=exclude
405./var/log/wtmpx type=file mode=0664 gname=utmp tags=exclude 405./var/log/wtmpx type=file mode=0664 gname=utmp tags=exclude
406./var/mail type=dir mode=1777 ignore 406./var/mail type=dir mode=1777 ignore
407./var/preserve type=dir mode=0755 ignore 407./var/preserve type=dir mode=0755 ignore
408./var/run type=dir mode=0755 408./var/run type=dir mode=0755
409./var/run/mdnsd type=dir mode=0755 optional 409./var/run/mdnsd type=dir mode=0755 gname=_mdnsd uname=_mdnsd optional
410./var/run/utmp type=file mode=0664 gname=utmp tags=exclude 410./var/run/utmp type=file mode=0664 gname=utmp tags=exclude
411./var/run/utmpx type=file mode=0664 gname=utmp tags=exclude 411./var/run/utmpx type=file mode=0664 gname=utmp tags=exclude
412./var/spool type=dir mode=0755 412./var/spool type=dir mode=0755
413./var/spool/ftp type=dir mode=0755 optional 413./var/spool/ftp type=dir mode=0755 optional
414./var/spool/ftp/bin type=dir mode=0755 optional 414./var/spool/ftp/bin type=dir mode=0755 optional
415./var/spool/ftp/bin/ls type=file mode=0555 optional 415./var/spool/ftp/bin/ls type=file mode=0555 optional
416./var/spool/ftp/etc type=dir mode=0755 optional 416./var/spool/ftp/etc type=dir mode=0755 optional
417./var/spool/ftp/etc/group type=file mode=0644 optional 417./var/spool/ftp/etc/group type=file mode=0644 optional
418./var/spool/ftp/etc/localtime type=file mode=0644 optional 418./var/spool/ftp/etc/localtime type=file mode=0644 optional
419./var/spool/ftp/etc/master.passwd type=file mode=0600 optional 419./var/spool/ftp/etc/master.passwd type=file mode=0600 optional
420./var/spool/ftp/etc/passwd type=file mode=0644 optional 420./var/spool/ftp/etc/passwd type=file mode=0644 optional
421./var/spool/ftp/hidden type=dir mode=0111 ignore optional 421./var/spool/ftp/hidden type=dir mode=0111 ignore optional
422./var/spool/ftp/pub type=dir mode=0775 ignore optional 422./var/spool/ftp/pub type=dir mode=0775 ignore optional