Am 03.09.2015 um 20:59 schrieb Dewangga Bachrul Alam:
Hello!
On 09/04/2015 01:57 AM, Michael Friedrich wrote:
Am 03.09.2015 um 20:52 schrieb Dewangga Bachrul Alam:
No, I didn't. I just apply SELinux Policy from branch
`feature/rpm-selinux-8332`.
By default /var/lib/icinga2 file context was
$ ls -ldZ /var/lib/icinga2/
drwxr-x---. icinga icinga system_u:object_r:var_lib_t:s0
/var/lib/icinga2/
Did the policy came from github broke the icinga2 core function if
SELinux in enforcing mode ? Should I change this folder back to
var_lib_t ?
To clear things up: You did install the default release packages and
then manually applied the selinux policy from that branch? (note: the
most accurate version sits in git master for a while now).
Yes, it is. I install from default release packages, and apply selinux
policy that came up from git. My mistake, should I remove the policy and
set them back to default file context? Any advice?
Did it work without the policies being applied in the first place? If
so, remove the policy for now and file a bug.
What's the exact log line from audit.log when such notification script
cannot be executed?
That's the problem. There's nothing there when the script(s) can't be
executed. I can't track down the error :(
Hm. Try to copy those scripts into a different location, and execute
them from over there, e.g. PluginDir.
Other than that, please show 'ls -lah /etc/icinga2/scripts' just to be sure.
Kind regards,
Michael
Kind regards,
Michael
--
Michael Friedrich, DI (FH)
Senior Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de
** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
--
Michael Friedrich, DI (FH)
Senior Developer
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de
** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users