Bug 1245364
| Summary: | /dev/lirc0 has incorrect permissions after clean install of f22 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | dwgoldfarb |
| Component: | lirc | Assignee: | Alec Leamas <leamas.alec> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | bnocera, fedora, jarodwilson, leamas.alec, raveit65.sun, redhat-bugzilla |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.9.3-5.fc23 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-19 18:55:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
dwgoldfarb
2015-07-21 21:18:58 UTC
I have released previews of 0.9.3 at https://copr.fedoraproject.org/coprs/leamas/lirc-0.9.3preview including this patch. Unless requested, I don't plan to make new 0.9.2 release just for this issue. (In reply to Alec Leamas from comment #1) > I have released previews of 0.9.3 at > https://copr.fedoraproject.org/coprs/leamas/lirc-0.9.3preview including this > patch. Unless requested, I don't plan to make new 0.9.2 release just for > this issue. Thanks for the preview release. Note that if you do end up adding this udev rule to a 0.9.2 package, the OWNER of the device node will also have to be set to "lirc", not just GROUP. 0.9.2 calls setuid() but leaves its groups alone; it looks like a call to setgid() is introduced in 0.9.3. I bring this up because I will soon be raising a bug report against selinux-policy-targeted to make these setuid() and setgid() calls actually succeed. With the current policy on F22 they are denied, which means if SELinux is enforcing lircd is unable to drop privileges and it keeps running as root. Thanks for bringing this up! I don't think setting the owner is necessary. 0.9.3 also sets the groups and gid, see https://sourceforge.net/p/lirc/git/ci/58374e7b290997925b4b and https://sourceforge.net/p/lirc/git/ci/58374e7 lirc-0.9.3-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15207 lirc-0.9.3-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15228 lirc-0.9.3-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update lirc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15207 lirc-0.9.3-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15270 lirc-0.9.3-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update lirc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15270 lirc-0.9.3-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update lirc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15228 lirc-0.9.3-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15465 lirc-0.9.3-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update lirc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15465 @Michael (on a sidenote): Before you file any selinux bugs, perhaps you could have a look at http://ur1.ca/nt3x8 where I try to cope with the obvious selinux problems? TBH, I havn't really used the selinux stuff until now, so I probably make all kinds of errors. lirc-0.9.3-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. Hi! Just upgraded to Fedora 22. Just hit this bug. Can workaround with a manual chmod, of course. But any chance we can get the fix pushed for F22 also (as it was the original bug-filed version). I'm not planning on F23'ing any time soon. Thanks! |