Bug 1573722 - External USB mouse/keyboard does not work with selinux enabled
Summary: External USB mouse/keyboard does not work with selinux enabled
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-02 06:49 UTC by Miroslav Suchý
Modified: 2019-05-28 18:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-28 18:57:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miroslav Suchý 2018-05-02 06:49:56 UTC
Description of problem:
I have ThinkPad with docking station and external keyboard and mouse does not work with selinux enabled.
I detach mouse and then I plug it in (does not matter if into docking station or thinkpad directly) then I get:

[root@dri//home/msuchy]130# setenforce 1
[root@dri//home/msuchy]# journalctl -f                                                                                                                              
-- Logs begin at Tue 2018-04-17 10:29:26 CEST. --                                                                                                                   
kvě 02 08:38:33 dri kernel: usb 1-1: New USB device found, idVendor=046d, idProduct=c069                                                                            
kvě 02 08:38:33 dri kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0                                                                       
kvě 02 08:38:33 dri kernel: usb 1-1: Product: USB Laser Mouse                                                                                                       
kvě 02 08:38:33 dri kernel: usb 1-1: Manufacturer: Logitech                                                                                                         
kvě 02 08:38:33 dri kernel: input: Logitech USB Laser Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:046D:C069.0009/input/input27                  
kvě 02 08:38:33 dri kernel: hid-generic 0003:046D:C069.0009: input,hidraw0: USB HID v1.10 Mouse [Logitech USB Laser Mouse] on usb-0000:00:14.0-1/input0             
kvě 02 08:38:33 dri mtp-probe[9717]: checking bus 1, device 14: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"                                                     
kvě 02 08:38:33 dri mtp-probe[9717]: bus: 1, device: 14 was not an MTP device                                                                                       
kvě 02 08:38:33 dri audit[979]: USER_AVC pid=979 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=error error_name=org.freedesktop.systemd1.NoSuchDynamicUser dest=:1.95 spid=1 tpid=9726 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tclass=dbus permissive=0                                                                                                              
                                  exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'                                                                 
kvě 02 08:38:36 dri kernel: usb 1-1: USB disconnect, device number 14 

When I set `setenforce 0` and plug it again, then everything starts working.


Version-Release number of selected component (if applicable):
systemd-238-7.fc28.1.x86_64

How reproducible:
deterministic

Steps to Reproduce:
1. fully updated F28
2. use external mouse/keyboard with selinux in enforcing mode

Comment 1 Lukas Holecek 2018-09-17 16:25:03 UTC
For me this issue was fixed by some recent update.

Comment 2 Ben Cotton 2019-05-02 20:55:10 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2019-05-28 18:57:57 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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