From 0364bb2c84bff631e0f765254fc6bf3353950128 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Feb 2008 14:15:53 +0000 Subject: Add the nojail keyword which excludes services marked as such from the dependency tree when in a jail, #bug 22 --- init.d/fsck | 2 +- init.d/localmount | 1 + init.d/netmount | 1 + init.d/root | 1 + init.d/swap | 1 + init.d/urandom | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) (limited to 'init.d') diff --git a/init.d/fsck b/init.d/fsck index 3ee3b38b..4c184cf2 100644 --- a/init.d/fsck +++ b/init.d/fsck @@ -7,7 +7,7 @@ description="Check and repair filesystems according to /etc/fstab" depend() { after clock modules - keywords notimeout + keywords nojail notimeout } start() diff --git a/init.d/localmount b/init.d/localmount index 5b8e849c..999fa076 100755 --- a/init.d/localmount +++ b/init.d/localmount @@ -8,6 +8,7 @@ depend() { need fsck use modules mtab + keywords nojail } start() diff --git a/init.d/netmount b/init.d/netmount index dd149a96..bb97d88a 100755 --- a/init.d/netmount +++ b/init.d/netmount @@ -34,6 +34,7 @@ depend() config /etc/fstab need net ${pmap} use afc-client amd autofs dns nfs nfsmount portmap rpcbind rpc.statd + keywords nojail } start() diff --git a/init.d/root b/init.d/root index fa20ebd8..948826e5 100644 --- a/init.d/root +++ b/init.d/root @@ -7,6 +7,7 @@ description="Mount the root fs read/write" depend() { need fsck + keywords nojail } start() diff --git a/init.d/swap b/init.d/swap index 53cf45c6..c11abb55 100644 --- a/init.d/swap +++ b/init.d/swap @@ -5,6 +5,7 @@ depend() { need localmount + keywords nojail } start() diff --git a/init.d/urandom b/init.d/urandom index d02c66d0..bc1e7b7d 100755 --- a/init.d/urandom +++ b/init.d/urandom @@ -9,6 +9,7 @@ description="Initializes the random number generator." depend() { need localmount + keywords nojail } save_seed() -- cgit v1.2.3