[syslog-ng] Subsys Dead, syslog-ng and SELinux
Zeb Fletcher
zeb.fletcher at gmail.com
Fri May 13 03:37:21 CEST 2005
Anand Shankar wrote:
>I recently installed syslog-ng successfully on a FC3-SELinux enabled
> box. Everything is fine except that:
>
> # service syslog-ng status
>
> syslog-ng dead but subsys locked
>
> # ls --context /var/lock/subsys/syslog-ng
>
> -rw------- root root root:object_r:var_lock_t syslog-ng
>
> The root:object_r:var_lock_t should have been
> user_u:object_r:var_lock_t, and that is what is causing syslog-ng
> daemon to die. Also, the file permissions generally are 666.
>
> One easy way is to switch off SELinux for syslog-ng, but is there a
> better way?? Why are the permissions wrong??
>
> ----
>
>
> Anand Shankar
>_______________________________________________
>syslog-ng maillist - syslog-ng at lists.balabit.hu
>https://lists.balabit.hu/mailman/listinfo/syslog-ng
>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
>
>
Check the context of the file the error is telling you that the file is
in the root context and should be user_u. look at the command chcon to
fix this.
Zeb
More information about the syslog-ng
mailing list