NetBSD.dist.base: Nix /var/run/named.

/var/run is emptied at boot time by /etc/rc.d/mountcritlocal, so
there's no point in creating this at install time -- it has to be
created on the fly after /var/run is cleared on every boot anyway.

Mark /var/run/named obsolete in the set lists.  XXX This isn't quite
right, because it is legitimate for /var/run/named to exist in a
running installation, but it doesn't exist in a freshly installed
system any more.  Maybe we should just remove the entry from the set
lists and add a note to UPDATING about deleting it manually from the
destdir in incremental builds.

PR misc/57877
This commit is contained in:
riastradh 2024-01-27 21:06:09 +00:00
parent 220d69d827
commit bbd1e6c887
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1330 2024/01/01 18:56:53 kim Exp $
# $NetBSD: mi,v 1.1331 2024/01/27 21:06:09 riastradh Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@ -6342,7 +6342,7 @@
./var/quotas base-util-root
./var/run base-sys-root
./var/run/lwresd base-obsolete obsolete
./var/run/named base-bind-root
./var/run/named base-obsolete obsolete
./var/rwho base-netutil-root
./var/shm base-sys-root
./var/spool base-sys-root

View File

@ -1,4 +1,4 @@
# $NetBSD: NetBSD.dist.base,v 1.254 2024/01/27 21:01:08 riastradh Exp $
# $NetBSD: NetBSD.dist.base,v 1.255 2024/01/27 21:06:09 riastradh Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
# Do not customize this file as it may be overwritten on upgrades.
@ -1449,7 +1449,6 @@
./var/preserve
./var/quotas gname=operator mode=0750
./var/run
./var/run/named mode=0775 uname=named gname=named
./var/rwho uname=_rwhod gname=_rwhod
./var/shm mode=01777
./var/spool