[DSE-Dev] Bug#752245: Bug#752245: selinux-basics: An USB 3.0 disk does not work with SELinux

Laurent Bigonville bigon at debian.org
Sat Jun 21 20:30:18 UTC 2014


Le Sat, 21 Jun 2014 18:08:31 +0300,
Victor Porton <porton at narod.ru> a écrit :

> Package: selinux-basics
> Version: 0.5.2
> Severity: important
> 
> Dear Maintainer,
> 
> With
> 
> SELINUX=permissive
> 
> it does not work.
> 
> However it works with
> 
> SELINUX=disabled
> 
> This happens when SELINUX=permissive and I attach an USB 3.0 disk:
[...]

First general question why is www-data user opening an logind session?
That should only happen for real user, not users used by daemons. But
this is probably out of topic here.

> 
> The disk is not autmatically mounted at /media/* (when SELinux is
> permissive).

Is the device in /dev even created, is the device in /dev/bus/usb/
created (could try to use lsusb to see this) could you try to mount the
disk manually? What is the FS used on the disk? Do you know what is
supposed to mount the disk (udisks/udisks2)? What's the version of
libselinux1 installed on your system?

And then are you seeing any AVC denials related to this?

To be honest I'm puzzled by this bug.

Cheers,

Laurent Bigonville



More information about the SELinux-devel mailing list