[Bug 1216060] SELinux preventing Keepalived stats file - "Unable to change file permission of /tmp/keepalived.stats - errno 13 (Permission denied)"
https://bugzilla.suse.com/show_bug.cgi?id=1216060 https://bugzilla.suse.com/show_bug.cgi?id=1216060#c10 Hu <cathy.hu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(jsegitz@suse.com) CC| |jsegitz@suse.com --- Comment #10 from Hu <cathy.hu@suse.com> --- After way too long debugging, I found out that it only happens if using the build setup for SLE Micro. I don't know how this is possible. Build the keepalived factory content with the leap/sle micro setup (on tumbleweed): osc co openSUSE:Factory/keepalived osc -A https://api.suse.de co SUSE:SLE-15-SP4:Update/keepalived cd SUSE:SLE-15-SP4:Update/keepalived rm * cp ../../openSUSE:Factory/keepalived/* . osc addremove osc build --clean sudo zypper in -f <rpm that was built> cd /usr/sbin sudo runcon -r system_r -u system_u -t keepalived_t -l s0 /usr/sbin/keepalived --dont-fork -> the AVC gets triggered -> then build the regular openSUSE:Factory/keepalived, install, execute as above, avc does not get triggered Maybe maybe this is caused by some dependency? @Johannes did you ever encounter such a problem? I am kind of stuck with this -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com