Bug 646206 - SELinux empêche l'accès en « mounton » à /lib/udev/ipod-set-info on /var/run/libgpod/ipodRl
Summary: SELinux empêche l'accès en « mounton » à /lib/udev/ipod-set-info on /var...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:2097f294927...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-25 00:12 UTC by Carl G.
Modified: 2010-11-01 20:51 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.7-7.fc14
Clone Of:
Environment:
Last Closed: 2010-11-01 20:51:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Carl G. 2010-10-25 00:12:44 UTC
Résumé:

SELinux empêche l'accès en « mounton » à /lib/udev/ipod-set-info on
/var/run/libgpod/ipodRl

Description détaillée:

SELinux a refusé l'accès demandé par ipod-set-info. Il n'est pas prévu que cet
accès soit requis par ipod-set-info et cet accès peut signaler une tentative
d'intrusion. Il est également possible que cette version ou cette configuration
spécifique de l'application provoque cette demande d'accès supplémenta

Autoriser l'accès:

Vous pouvez créer un module de stratégie locale pour autoriser cet accès - lisez
la FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Merci de
remplir un rapport de bogue.

Informations complémentaires:

Contexte source               system_u:system_r:udev_t:s0-s0:c0.c1023
Contexte cible                system_u:object_r:udev_var_run_t:s0
Objets du contexte            /var/run/libgpod/ipodRlnsHu [ dir ]
source                        ipod-set-info
Chemin de la source           /lib/udev/ipod-set-info
Port                          <Inconnu>
Hôte                          (supprimé)
Paquetages RPM source         libgpod-0.8.0-1.fc14
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.9.7-4.fc14
Selinux activé                True
Type de politique             targeted
Mode strict                   Enforcing
Nom du plugin                 catchall
Nom de l'hôte                 (supprimé)
Plateforme                    Linux (supprimé) 2.6.35.6-46.fc14.x86_64 #1 SMP
                              Tue Oct 19 02:58:56 UTC 2010 x86_64 x86_64
Compteur d'alertes            2
Première alerte               dim 24 oct 2010 18:22:52 EDT
Dernière alerte               dim 24 oct 2010 18:22:52 EDT
ID local                      74127ac8-340b-4daa-b473-439132de460e
Numéros des lignes            

Messages d'audit bruts        

node=(supprimé) type=AVC msg=audit(1287958972.370:27644): avc:  denied  { mounton } for  pid=5124 comm="ipod-set-info" path="/var/run/libgpod/ipodRlnsHu" dev=dm-1 ino=412317 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:udev_var_run_t:s0 tclass=dir

node=(supprimé) type=SYSCALL msg=audit(1287958972.370:27644): arch=c000003e syscall=165 success=no exit=-13 a0=7fff6f865a2f a1=11fb510 a2=7fff6f865e6a a3=0 items=0 ppid=4108 pid=5124 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ipod-set-info" exe="/lib/udev/ipod-set-info" subj=system_u:system_r:udev_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,ipod-set-info,udev_t,udev_var_run_t,dir,mounton
audit2allow suggests:

#============= udev_t ==============
allow udev_t udev_var_run_t:dir mounton;

Comment 1 Daniel Walsh 2010-10-25 15:58:32 UTC
You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.9.7-7.fc14

Comment 2 Fedora Update System 2010-10-28 20:13:11 UTC
selinux-policy-3.9.7-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-7.fc14

Comment 3 Fedora Update System 2010-10-29 20:39:21 UTC
selinux-policy-3.9.7-7.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-7.fc14

Comment 4 Fedora Update System 2010-11-01 20:50:37 UTC
selinux-policy-3.9.7-7.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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