Bug 25335 - lircd can't start on 64 bit system due to the wrong path for the plugin-dir /usr/lib/lirc/plugins i.s.o. /usr/lib64/lirc/plugins
Summary: lircd can't start on 64 bit system due to the wrong path for the plugin-dir /...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-20 22:00 CEST by Rob Teng
Modified: 2021-09-07 14:09 CEST (History)
4 users (show)

See Also:
Source RPM: lirc.0.10.1-7.mga7
CVE:
Status comment:


Attachments

Description Rob Teng 2019-08-20 22:00:25 CEST
Description of problem:
Upgrade to Mageia 7 (from 6) - lirc / remote control functionality broke

Version-Release number of selected component (if applicable):
lirc.0.10.1-7.mga7

How reproducible:
Always.

Steps to Reproduce:
1.
Use system with lirc remote control
2.
Find that 
systemctl status lircd
gives this:
Aug 20 21:32:03 zurich lircd-0.10.1[27956]: Info: Cannot open plugindir /usr/lib/lirc/plugins
Aug 20 21:32:03 zurich lircd[27956]: Driver `default' not found or not loadable (wrong or missing -U/--plugindir?).
Aug 20 21:32:03 zurich lircd[27956]: Available drivers:
Aug 20 21:32:03 zurich lircd-0.10.1[27956]: Info: Cannot open plugindir /usr/lib/lirc/plugins

3.
Make link from /usr/lib/lirc/plugins to /usr/lib64/lirc/plugins

cd /usr/lib/lirc/
ln -s /usr/lib64/lirc/plugins .

then
systemctl restart lircd

and find that it works.

systemctl status lircd 
* lircd.service - Flexible IR remote input/output application support
   Loaded: loaded (/usr/lib/systemd/system/lircd.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2019-08-20 21:58:56 CEST; 2s ago
Comment 1 Lewis Smith 2019-08-21 21:56:43 CEST
Thank you Rob for your helpful report.
Assigning globally in the absence of a specific maintainer; CC'ing some people who have dealt with this package before.

Assignee: bugsquad => pkg-bugs
CC: (none) => anssi.hannula, geiger.david68210, pterjan

Comment 2 Jani Välimaa 2019-08-22 08:12:49 CEST
Please check /etc/lirc/lirc_options.conf. It should have:

plugindir       = /usr/lib64/lirc/plugins

Config files under /etc/lirc/ are tagged as %config(noreplace) so if you have made some modifications in the past they will be kept on pkg update and new config files shipped with lirc are named with .rpmnew extension. So also check if there are .rpmnew files in /etc/lirc/.

CC: (none) => jani.valimaa

Comment 3 Jani Välimaa 2019-08-22 08:18:50 CEST
x86_64 mga6's lirc_options.conf:
plugindir	= /usr/lib/lirc/plugins

x86_64 mga7's lirc_options.conf:
plugindir	= /usr/lib64/lirc/plugins

It looks like that plugindir was 'libified' in mga7 dev cycle.
Comment 4 Rob Teng 2019-08-25 22:45:36 CEST
Sorry guys, I indeed confirm, the file lirc_options.conf.rpmnew from Feb 16 2019 indeed has the new lib64 path.
Comment 5 Aurelien Oudelet 2021-07-06 13:14:11 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 6 Marja Van Waes 2021-09-07 14:09:57 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Resolution: (none) => OLD
Status: NEW => RESOLVED


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