wiki:experiences:igraltist:jail_syslog-ng
=>  Releases

Current version
Git/Latestdiff: 1.5.6

Latest Snapshots
Produced after each commit or rebase to new upstream version

GIT
RSBAC source code, can be unstable sometimes

=>  Events

No events planned

This is an old revision of the document!


--- syslog-ng_org	2008-07-14 02:42:13.000000000 +0200
+++ syslog-ng	2008-07-14 02:42:33.000000000 +0200
@@ -36,7 +36,7 @@
 	checkconfig || return 1
 	ebegin "Starting syslog-ng"
 	[ -n "${SYSLOG_NG_OPTS}" ] && SYSLOG_NG_OPTS="-- ${SYSLOG_NG_OPTS}"
-	start-stop-daemon --start --quiet --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS}
+	run-jail syslog-ng start-stop-daemon --start --quiet --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS}
 	eend $? "Failed to start syslog-ng"
 }
 
@@ -54,7 +54,7 @@
 	fi
 	checkconfig || return 1
 	ebegin "Reloading configuration and re-opening log files"
-	start-stop-daemon --stop --oknodo --signal HUP \
+	run-jail syslog-ng start-stop-daemon --stop --oknodo --signal HUP \
 	    --pidfile /var/run/syslog-ng.pid
 	eend $?
 }
;
; RSBAC JAIL definition for syslog-ng
; 20081407
;
; Tested by:
; igraltist on gentoo
 
""
"0.0.0.0"
(allow-dev-write
 allow-dev-read
 this-is-syslog
 allow-tty-open
 allow-ipc-parent)
()
()
()
This is execute now:
rsbac_jail  -D -d -Y -t -P start-stop-daemon  --start --quiet --exec /usr/sbin/syslog-ng
//
wiki/experiences/igraltist/jail_syslog-ng.1216002878.txt.gz · Last modified: 2008/07/14 04:34 by 127.0.0.1

wiki/experiences/igraltist/jail_syslog-ng.1216002878.txt.gz · Last modified: 2008/07/14 04:34 by 127.0.0.1
This website is kindly hosted by m-privacy