Bug 1005476

Summary: environment variables from /etc/sysconfig/lirc not passed to the daemon
Product: [Fedora] Fedora Reporter: George Machitidze <giomac>
Component: lircAssignee: Jarod Wilson <jarodwilson>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: bnocera, jarodwilson, opensource
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 15:46:22 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:

Description George Machitidze 2013-09-07 12:13:34 UTC
Description of problem:
Environment variables from /etc/sysconfig/lirc are not passed to the daemon when starting up with systemd

Version-Release number of selected component (if applicable):
lirc-0.9.0-11.fc19.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install lirc
2. Change environment variables in /etc/sysconfig/lirc
3. systemctl lirc start
4. ps auxwf|grep lirc|grep -v grep

Actual results:
/usr/sbin/lircd --driver=default --device=/dev/lirc0

Expected results:
same with different values

Additional info:
looks like there's nothing about /etc/sysconfig/lirc in systemd unit file:
[root@giomacdesk ~]# cat /usr/lib/systemd/system/lirc.service 
[Unit]
Description=LIRC Infrared Signal Decoder
After=network.target

[Service]
Type=forking
PIDFile=/run/lirc/lircd.pid
ExecStart=/usr/sbin/lircd --driver=default --device=/dev/lirc0 

[Install]
WantedBy=multi-user.target

Comment 1 Till Maas 2013-10-01 15:46:22 UTC

*** This bug has been marked as a duplicate of bug 881976 ***