Bug 583016 - SELinux is preventing /bin/umount "unmount" access .
Summary: SELinux is preventing /bin/umount "unmount" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:4a546eec6e6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-16 12:58 UTC by Michel Duquaine
Modified: 2010-04-28 03:07 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.19-6.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-28 03:07:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michel Duquaine 2010-04-16 12:58:02 UTC
Résumé:

SELinux is preventing /bin/umount "unmount" access .

Description détaillée:

SELinux denied access requested by umount. It is not expected that this access
is required by umount 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Informations complémentaires:

Contexte source               system_u:system_r:mount_t:s0-s0:c0.c1023
Contexte cible                system_u:object_r:unlabeled_t:s0
Objets du contexte            None [ filesystem ]
source                        umount
Chemin de la source           /bin/umount
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         util-linux-ng-2.17.1-5.fc13
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.7.15-4.fc13
Selinux activé               True
Type de politique             targeted
Mode strict                   Enforcing
Nom du plugin                 catchall
Nom de l'hôte                (removed)
Plateforme                    Linux (removed) 2.6.33.1-24.fc13.i686
                              #1 SMP Tue Mar 30 18:49:12 UTC 2010 i686 i686
Compteur d'alertes            6
Première alerte              mer 14 avr 2010 21:32:25 CEST
Dernière alerte              mer 14 avr 2010 21:40:15 CEST
ID local                      7bf11613-c8f9-4152-8159-4239bb63c666
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1271274015.728:24): avc:  denied  { unmount } for  pid=2701 comm="umount" scontext=system_u:system_r:mount_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem

node=(removed) type=SYSCALL msg=audit(1271274015.728:24): arch=40000003 syscall=22 success=no exit=-13 a0=1e7e7e8 a1=bfd97970 a2=1ef1c8 a3=1e7e7e9 items=0 ppid=1934 pid=2701 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="umount" exe="/bin/umount" subj=system_u:system_r:mount_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,umount,mount_t,unlabeled_t,filesystem,unmount
audit2allow suggests:

#============= mount_t ==============
allow mount_t unlabeled_t:filesystem unmount;

Comment 1 Daniel Walsh 2010-04-16 13:15:11 UTC
How did you get this to happen?

Comment 2 Michel Duquaine 2010-04-17 10:12:14 UTC
I use F13 Beta Live/Gnome on an USB stick with a laptop on wich there is a dual boot (XP + Scientific Linux).
The message appears directly when I log in my "liveuser" session.

Comment 3 Daniel Walsh 2010-04-20 12:56:03 UTC
Fixed in selinux-policy-3.7.19-3.fc13.noarch

Comment 4 Fedora Update System 2010-04-26 19:51:55 UTC
selinux-policy-3.7.19-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-6.fc13

Comment 5 Fedora Update System 2010-04-27 05:49:08 UTC
selinux-policy-3.7.19-6.fc13 has been pushed to the Fedora 13 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: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-6.fc13

Comment 6 Fedora Update System 2010-04-28 03:06:32 UTC
selinux-policy-3.7.19-6.fc13 has been pushed to the Fedora 13 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.