Description of problem: There is no access into /var/lock directory for users, even if I give them lock permission. Looks like all apps should lock devices in /var/lock/lockdev. Please, try to add this configure option: --with-lockdir=/var/lock/lockdev Also you can try to include lockdev in requires, which should make autodetection working. Here is autodetection from koji build log: Summary of selected options: ---------------------------------------- prefix: /usr lockdir: /var/lock Version-Release number of selected component (if applicable): lirc-core-0.10.0-2.fc26.x86_64 Same problem with older version too. How reproducible: always Steps to Reproduce: 1. configure irman 2. start lircd Actual results: aug 20 16:42:07 home.salstar.sk lircd[5468]: lircd-0.10.0[5468]: could not create lock file "/var/lock/LCK..ttyS0": Permission denied aug 20 16:42:07 home.salstar.sk lircd[5468]: lircd-0.10.0[5468]: Error: could not create lock files
Looks like: BuildRequires: lockdev has no effekt, but using: --with-lockdir=%{_var}/lock/lockdev works. Also there is an selinux problem with locking. #============= lircd_t ============== allow lircd_t lockdev_lock_t:dir { add_name write }; allow lircd_t lockdev_lock_t:file { create write };
Hm... thanks for reporting! Actually, the configure script looks for /var/lock/lockdev and uses it by default if it exists. Seems that the builders (no longer?) has this directory available. This is a continuing effort, more and more of the auto-probing fails on the utterly stripped down build hosts. Sigh. Will issue a fix. Also need to file a bug against the selinux policy. Stay tuned.
lirc-0.10.0-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2002828cea
Filed selinux bug #1483336.
lirc-0.10.0-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2002828cea
lirc-0.10.0-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
Looks like this was applied to F26 and master branches, but not applied to f27. Please merge. Thank you.
lirc-0.10.0-4.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cdd0694ae2
lirc-0.10.0-4.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cdd0694ae2
lirc-0.10.0-4.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.