Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Add chroot support for dhcpcd



details:   https://anonhg.NetBSD.org/src/rev/271796863474
branches:  trunk
changeset: 746479:271796863474
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Apr 02 12:58:49 2020 +0000

description:
Add chroot support for dhcpcd

diffstat:

 etc/mtree/NetBSD.dist.base |  9 +++++++--
 etc/rc.d/dhcpcd            |  3 ++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r d9e17292767f -r 271796863474 etc/mtree/NetBSD.dist.base
--- a/etc/mtree/NetBSD.dist.base        Thu Apr 02 12:56:01 2020 +0000
+++ b/etc/mtree/NetBSD.dist.base        Thu Apr 02 12:58:49 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NetBSD.dist.base,v 1.212 2020/03/29 17:14:13 christos Exp $
+#      $NetBSD: NetBSD.dist.base,v 1.213 2020/04/02 12:58:49 roy Exp $
 #      @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
 
 # Do not customize this file as it may be overwritten on upgrades.
@@ -1277,6 +1277,12 @@
 ./var/at/spool                 mode=0700
 ./var/backups
 ./var/chroot
+./var/chroot/dhcpcd
+./var/chroot/dhcpcd/etc
+./var/chroot/dhcpcd/var
+./var/chroot/dhcpcd/var/run
+./var/chroot/dhcpcd/var/db
+./var/chroot/dhcpcd/var/db/dhcpcd      mode=0775 uname=_dhcpcd gname=_dhcpcd
 ./var/chroot/ftp-proxy         mode=0755
 ./var/chroot/named
 ./var/chroot/named/dev
@@ -1321,7 +1327,6 @@
 ./var/cron
 ./var/cron/tabs                        mode=0700
 ./var/db
-./var/db/dhcpcd
 ./var/db/ns
 ./var/db/obsolete
 ./var/db/postfix               uname=postfix gname=postfix mode=0755
diff -r d9e17292767f -r 271796863474 etc/rc.d/dhcpcd
--- a/etc/rc.d/dhcpcd   Thu Apr 02 12:56:01 2020 +0000
+++ b/etc/rc.d/dhcpcd   Thu Apr 02 12:58:49 2020 +0000
@@ -1,10 +1,11 @@
 #!/bin/sh
 
-# $NetBSD: dhcpcd,v 1.7 2020/02/22 11:55:43 roy Exp $
+# $NetBSD: dhcpcd,v 1.8 2020/04/02 12:58:49 roy Exp $
 
 # PROVIDE: dhcpcd
 # REQUIRE: network mountcritlocal
 # BEFORE:  NETWORKING
+# KEYWORD: chrootdir
 
 $_rc_subr_loaded . /etc/rc.subr
 



Home | Main Index | Thread Index | Old Index