Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2004 16:53:46 -0800
From:      Nicholas Esborn <nick@netdot.net>
To:        freebsd-current@freebsd.org
Subject:   rc.subr patch to apply devfs rules to jail
Message-ID:  <20040109005345.GA1321@carbon.berkeley.netdot.net>

next in thread | raw e-mail | index | archive | help

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Not sure if I'm missing something, but devfs rules weren't being applied
to my jail's devfs.  Here's a patch that causes application.

Thanks,

-nick

-- 
"They that can give up essential liberty
  to obtain a little temporary safety
    deserve neither liberty nor safety."

   Benjamin Franklin
    Historical Review of Pennsylvania, 1759


--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="rc.subr.diff"

--- rc.subr.orig	Thu Jan  8 16:39:44 2004
+++ rc.subr	Thu Jan  8 16:49:30 2004
@@ -1231,6 +1231,7 @@
 	if [ -n "$rs" ]; then
 		devfs_init_rulesets
 		devfs_set_ruleset $rs $devdir
+		devfs_apply_ruleset $rs $devdir
 	fi
 	return 0
 }

--5mCyUwZo2JvN/JJP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040109005345.GA1321>