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

Victor Porton porton at narod.ru
Sun Jun 22 10:17:12 UTC 2014


21.06.2014, 23:30, "Laurent Bigonville" <bigon at debian.org>:
> 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.

sshfs -o password_stdin www-data at localhost:/var/www/sites/demo ~/mnt/demo -o sshfs_sync,cache=no,password_stdin,idmap=user,uid=1000,gid=1000
and similar commands in my Bash profile.

After a reboot it now works in SELINUX=permissive mode.

I do not know what happened earlier.



More information about the SELinux-devel mailing list