libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.4-3.fc17.i686.PAE time: sab 07 lug 2012 18:26:19 CEST description: :SELinux is preventing /usr/sbin/cupsd from 'rename' accesses on the file /etc/cups/printers.conf. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If si desidera sistemare l'etichetta. :L'etichetta predefinita di /etc/cups/printers.conf dovrebbe essere cupsd_rw_etc_t. :Then è possibile avviare restorecon. :Do :# /sbin/restorecon -v /etc/cups/printers.conf : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If si crede che cupsd dovrebbe avere possibilità di accesso rename sui printers.conf file in modo predefinito. :Then si dovrebbe riportare il problema come bug. :E' possibile generare un modulo di politica locale per consentire questo accesso. :Do :consentire questo accesso per il momento eseguendo: :# grep cupsd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:cupsd_etc_t:s0 :Target Objects /etc/cups/printers.conf [ file ] :Source cupsd :Source Path /usr/sbin/cupsd :Port <Sconosciuto> :Host (removed) :Source RPM Packages cups-1.5.2-12.fc17.i686 :Target RPM Packages cups-1.5.2-12.fc17.i686 :Policy RPM selinux-policy-3.10.0-134.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.4.4-3.fc17.i686.PAE #1 SMP Tue : Jun 26 21:11:45 UTC 2012 i686 i686 :Alert Count 1 :First Seen sab 07 lug 2012 18:01:02 CEST :Last Seen sab 07 lug 2012 18:01:02 CEST :Local ID d0227eba-2c1b-4d28-b614-dae2b21b5634 : :Raw Audit Messages :type=AVC msg=audit(1341676862.306:83): avc: denied { rename } for pid=1251 comm="cupsd" name="printers.conf" dev="dm-1" ino=263790 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cupsd_etc_t:s0 tclass=file : : :type=SYSCALL msg=audit(1341676862.306:83): arch=i386 syscall=rename success=no exit=EACCES a0=bfcfbaec a1=bfcfb67c a2=b7760ff4 a3=bfcfbaec items=0 ppid=1 pid=1251 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=cupsd exe=/usr/sbin/cupsd subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) : :Hash: cupsd,cupsd_t,cupsd_etc_t,file,rename : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
# /sbin/restorecon -v /etc/cups/printers.conf
If you see it again, please reopen.