Bug 1308911
Summary: | adcli fails to update /etc/krb5.keytab for keytab renewal | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Niranjan Mallapadi Raghavender <mniranja> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.8 | CC: | dwalsh, jhrozek, lvrabec, mgrepl, mmalik, mniranja, plautrba, pvrabec, ssekidde |
Target Milestone: | rc | Keywords: | TestBlocker |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-10 20:05:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Niranjan Mallapadi Raghavender
2016-02-16 12:52:29 UTC
Please, re-run your scenario in permissive mode, collect SELinux denials and attach them here. Below is the selinux denial when in permissive mode. type=AVC msg=audit(1455722015.945:4696): avc: denied { write } for pid=11647 comm="adcli" name="krb5.keytab" dev=dm-0 ino=131196 scontext=unconfined_u:system_r:sssd_t:s0 tcontext=unconfined_u:object_r:krb5_keytab_t:s0 tclass=file type=SYSCALL msg=audit(1455722015.945:4696): arch=c000003e syscall=2 success=yes exit=6 a0=fbc580 a1=2 a2=1b6 a3=0 items=0 ppid=11632 pid=11647 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="adcli" exe="/usr/sbin/adcli" subj=unconfined_u:system_r:sssd_t:s0 key=(null) You can create the following local policy as a workaround for now ---- # cat mysssd.te policy_module(mysssd,1.0) require{ type sssd_t; } kerberos_rw_keytab(sssd_t) ---- and execute # make -f /usr/share/selinux/Devel/Makefile mysssd.pp # semodule -i mysssd.pp To remove this local policy, please execute # semodule -r mysssd Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0763.html |