rsync --daemon is long running, and can be run from an init script.
This commit is contained in:
parent
de8af9dc65
commit
de940877f1
@ -1,3 +1,5 @@
|
|||||||
|
- Rsync can be long running from init,
|
||||||
|
added rules to allow this.
|
||||||
- Add polyinstantiation build option.
|
- Add polyinstantiation build option.
|
||||||
- Add setcontext to the association object class.
|
- Add setcontext to the association object class.
|
||||||
- Add apache relay and db connect tunables.
|
- Add apache relay and db connect tunables.
|
||||||
|
@ -8,8 +8,7 @@ policy_module(rsync,1.1.0)
|
|||||||
|
|
||||||
type rsync_t;
|
type rsync_t;
|
||||||
type rsync_exec_t;
|
type rsync_exec_t;
|
||||||
|
init_daemon_domain(rsync_t,rsync_exec_t)
|
||||||
inetd_service_domain(rsync_t,rsync_exec_t)
|
|
||||||
role system_r types rsync_t;
|
role system_r types rsync_t;
|
||||||
|
|
||||||
type rsync_data_t;
|
type rsync_data_t;
|
||||||
@ -92,6 +91,10 @@ optional_policy(`kerberos',`
|
|||||||
kerberos_use(rsync_t)
|
kerberos_use(rsync_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
optional_policy(`inetd',`
|
||||||
|
inetd_service_domain(rsync_t,rsync_exec_t)
|
||||||
|
')
|
||||||
|
|
||||||
optional_policy(`nis',`
|
optional_policy(`nis',`
|
||||||
nis_use_ypbind(rsync_t)
|
nis_use_ypbind(rsync_t)
|
||||||
')
|
')
|
||||||
|
Loading…
Reference in New Issue
Block a user