Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Filed from caserun https://tcms.engineering.redhat.com/run/257964/#caserun_10670108
Version-Release number of selected component (if applicable):
RHEL-7.2-20150820.0
Steps to Reproduce:
run /CoreOS/udev/Security/bz174845-CVE-2005-3631-dev_input-incorrect-permissions
Actual results:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: Test permissions
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ FAIL ] :: Are the perms of /dev/input//by-path/platform-i8042-serio-0-event-kbd target equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//by-path/platform-i8042-serio-0-event-kbd target equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//by-path/platform-i8042-serio-0-event-kbd target equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//by-path/platform-i8042-serio-1-event-mouse target equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//by-path/platform-i8042-serio-1-event-mouse target equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//by-path/platform-i8042-serio-1-event-mouse target equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//by-path/platform-i8042-serio-1-mouse target equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//by-path/platform-i8042-serio-1-mouse target equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//by-path/platform-i8042-serio-1-mouse target equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//by-path/platform-pcspkr-event-spkr target equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//by-path/platform-pcspkr-event-spkr target equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//by-path/platform-pcspkr-event-spkr target equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//event0 equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//event0 equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//event0 equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//event1 equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//event1 equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//event1 equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//event2 equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//event2 equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//event2 equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//event3 equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//event3 equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//event3 equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//mice equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//mice equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//mice equal to root? (Assert: 'input' should equal 'root')
:: [ FAIL ] :: Are the perms of /dev/input//mouse0 equal to 600? (Assert: '660' should equal '600')
:: [ PASS ] :: Is the user of /dev/input//mouse0 equal to root? (Assert: 'root' should equal 'root')
:: [ FAIL ] :: Is the group of /dev/input//mouse0 equal to root? (Assert: 'input' should equal 'root')
:: [ LOG ] :: Duration: 1s
:: [ LOG ] :: Assertions: 10 good, 20 bad
:: [ FAIL ] :: RESULT: Test permissions
Expected results:
the permissions should be 600, as per discussion in bug 1072324
Due to the systemd rebase we now have a newer systemd, which has assigned group "input" assigned to /dev/input/* and thus permission 0660.
This follows the systemd upstream behaviour and is the same on newer Fedora.
(In reply to Harald Hoyer from comment #3)
> Due to the systemd rebase we now have a newer systemd, which has assigned
> group "input" assigned to /dev/input/* and thus permission 0660.
this is a change of behaviour within the scope of one major release of RHEL
I believe it deserves better explanation than "due to systemd", especially considering the fact that it had already been decided to set the permissions in some different way in the past - what has changed so that the previous decision is now wrong?
if nothing else, this has to be documented
> if nothing else, this has to be documented
It is.
https://access.redhat.com/articles/1611383
A new system group "input" has been introduced, and all input device nodes get this group assigned. This enables for system-level software to get access to input devices and complements what is already provided for "audio" and "video".
(In reply to Lukáš Nykrýn from comment #6)
> > if nothing else, this has to be documented
>
> It is.
>
> https://access.redhat.com/articles/1611383
ah, ok, thanks
once upon a time, there used to be such info in Doc text in Bugzilla ...
*** This bug has been marked as a duplicate of bug 1199644 ***