Bug 540914 - SELinux is preventing hwclock (hwclock_t) "ioctl" var_t.
Summary: SELinux is preventing hwclock (hwclock_t) "ioctl" var_t.
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:409dec140f2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-24 14:12 UTC by Gaetan Cambier
Modified: 2009-11-24 14:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-24 14:49:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gaetan Cambier 2009-11-24 14:12:21 UTC
Résumé:

SELinux is preventing hwclock (hwclock_t) "ioctl" var_t.

Description détaillée:

[SELinux est en mode permissif. Cet accès n'a pas été refusé.]

SELinux denied access requested by hwclock. It is not expected that this access
is required by hwclock and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Autoriser l'accès:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Informations complémentaires:

Contexte source               system_u:system_r:hwclock_t:s0
Contexte cible                system_u:object_r:var_t:s0
Objets du contexte            /var/webmin/miniserv.error [ file ]
source                        hwclock
Chemin de la source           /sbin/hwclock
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         util-linux-ng-2.14.2-11.fc11
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.12-85.fc11
Selinux activé               True
Type de politique             targeted
Mode strict                   Permissive
Nom du plugin                 catchall
Nom de l'hôte                (removed)
Plateforme                    Linux (removed)
                              2.6.29.6-217.2.16.fc11.i686.PAE #1 SMP Mon Aug 24
                              17:16:21 EDT 2009 i686 athlon
Compteur d'alertes            1
Première alerte              jeu 22 oct 2009 14:32:46 CEST
Dernière alerte              jeu 22 oct 2009 14:32:46 CEST
ID local                      d755050e-495e-4822-9ae5-3400d89cc5e0
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1256214766.524:3169): avc:  denied  { ioctl } for  pid=27006 comm="hwclock" path="/var/webmin/miniserv.error" dev=dm-4 ino=204609 scontext=system_u:system_r:hwclock_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1256214766.524:3169): arch=40000003 syscall=54 success=no exit=-25 a0=2 a1=5401 a2=bfde14ec a3=bfde1608 items=0 ppid=26992 pid=27006 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="hwclock" exe="/sbin/hwclock" subj=system_u:system_r:hwclock_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-85.fc11,catchall,hwclock,hwclock_t,var_t,file,ioctl
audit2allow suggests:

#============= hwclock_t ==============
allow hwclock_t var_t:file ioctl;

Comment 1 Daniel Walsh 2009-11-24 14:49:55 UTC

*** This bug has been marked as a duplicate of bug 538428 ***


Note You need to log in before you can comment on or make changes to this bug.