rc.subr patch to apply devfs rules to jail

Nicholas Esborn nick at netdot.net
Thu Jan 8 16:53:50 PST 2004


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

-------------- next part --------------
--- 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
 }


More information about the freebsd-current mailing list