Description of problem: Hello, I was running the chage command to set parameters of one user account. Best regards Michal Ambroz SELinux is preventing /usr/bin/chage from using the 'transition' accesses on a process. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that chage should be allowed transition access on processes labeled nscd_t by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep chage /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 Target Context unconfined_u:system_r:nscd_t:s0-s0:c0.c1023 Target Objects /usr/sbin/nscd [ process ] Source chage Source Path /usr/bin/chage Port <Unknown> Host (removed) Source RPM Packages shadow-utils-4.1.5.1-2.fc18.x86_64 Target RPM Packages nscd-2.16-30.fc18.x86_64 Policy RPM selinux-policy-3.11.1-86.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.8.5-201.fc18.x86_64 #1 SMP Thu Mar 28 21:01:19 UTC 2013 x86_64 x86_64 Alert Count 4 First Seen 2013-04-04 22:55:38 CEST Last Seen 2013-04-04 23:18:29 CEST Local ID 1b217293-252c-4229-8e83-b21d2d82b365 Raw Audit Messages type=AVC msg=audit(1365110309.527:428): avc: denied { transition } for pid=2974 comm="chage" path="/usr/sbin/nscd" dev="dm-2" ino=303543 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:nscd_t:s0-s0:c0.c1023 tclass=process type=SYSCALL msg=audit(1365110309.527:428): arch=x86_64 syscall=execve success=no exit=EACCES a0=7f5bc7c3a525 a1=7fffc29ccc60 a2=7fffc29ccc50 a3=7f5bc7bf9a90 items=0 ppid=2972 pid=2974 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=2 tty=pts0 comm=chage exe=/usr/bin/chage subj=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 key=(null) Hash: chage,passwd_t,nscd_t,process,transition audit2allow #============= passwd_t ============== #!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. #Constraint rule: # Possible cause source context and target context 'role' differ[08] allow passwd_t nscd_t:process transition; audit2allow -R require { type nscd_t; type passwd_t; class process transition; } #============= passwd_t ============== #!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. #Constraint rule: # Possible cause source context and target context 'role' differ[08] allow passwd_t nscd_t:process transition; Additional info: hashmarkername: setroubleshoot kernel: 3.8.5-201.fc18.x86_64 type: libreport
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.