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

Victor Porton porton at narod.ru
Sat Jun 21 15:08:31 UTC 2014


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:

[   25.728703] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[   25.833946] systemd-logind[3841]: New session 3 of user www-data.
[   25.890668] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[   25.979450] systemd-logind[3841]: New session 4 of user www-data.
[   26.019892] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[   26.129855] systemd-logind[3841]: New session 5 of user www-data.
[   26.182389] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[   26.292765] systemd-logind[3841]: New session 6 of user www-data.
[   26.457195] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[   56.806139] usb 2-2: new high-speed USB device number 2 using xhci_hcd
[   57.001169] usb 2-2: Device not responding to set address.
[   57.202801] usb 2-2: Device not responding to set address.
[   57.406958] usb 2-2: device not accepting address 2, error -71
[  176.512371] usb 2-2: new high-speed USB device number 4 using xhci_hcd
[  176.614244] usb 2-2: Device not responding to set address.
[  176.816901] usb 2-2: Device not responding to set address.
[  177.021049] usb 2-2: device not accepting address 4, error -71
[  223.365398] usb 2-2: new high-speed USB device number 6 using xhci_hcd
[  223.560399] usb 2-2: Device not responding to set address.
[  223.762070] usb 2-2: Device not responding to set address.
[  223.966237] usb 2-2: device not accepting address 6, error -71
[  278.545945] systemd-hostnamed[5361]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[  373.549951] usb 2-2: new high-speed USB device number 8 using xhci_hcd
[  378.556891] xhci_hcd 0000:06:00.0: Timeout while waiting for address device command
[  383.768132] xhci_hcd 0000:06:00.0: Timeout while waiting for address device command
[  383.972401] usb 2-2: device not accepting address 8, error -62
[  383.972495] xhci_hcd 0000:06:00.0: Bad Slot ID 1
[  383.972498] xhci_hcd 0000:06:00.0: Could not allocate xHCI USB device data structures
[  383.972502] hub 2-0:1.0: couldn't allocate port 2 usb_device

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

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages selinux-basics depends on:
ii  checkpolicy      2.3-1
ii  policycoreutils  2.3-1
pn  python:any       <none>
ii  selinux-utils    2.3-1

Versions of packages selinux-basics recommends:
ii  selinux-policy-default  2:2.20140421-1
ii  setools                 3.3.8-3

Versions of packages selinux-basics suggests:
pn  logcheck        <none>
pn  syslog-summary  <none>

-- no debconf information



More information about the SELinux-devel mailing list