[Bug 661841] New: lirc has problems parsing the -l option
https://bugzilla.novell.com/show_bug.cgi?id=661841 https://bugzilla.novell.com/show_bug.cgi?id=661841#c0 Summary: lirc has problems parsing the -l option Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dsieben@7-srv.de QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=406582) --> (http://bugzilla.novell.com/attachment.cgi?id=406582) Patch for lirc init script User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13 If you set a listen port in /etc/sysconfig/lirc like this: LIRCD_LISTENPORT="8765" lirc will output an error message like: could not open config file '8765'. Same can be triggered if you run the command on the command line: /usr/sbin/lircd -H default -d /dev/lirc0 -l 8765 It seems like the parsing is broken and the port number is taken as config file instead of argument to the -l part. If the full argument --listen is used, everything works fine. So either the command line parsing in lircd should be fixed or the full argument should be used in the init file (I've attached a diff which does the latter). Reproducible: Always Steps to Reproduce: 1. Add listen port to lirc Actual Results: lirc doesn't start correctly due to error message in log file Expected Results: lirc should start correctly -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661841 https://bugzilla.novell.com/show_bug.cgi?id=661841#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |lnussel@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661841 https://bugzilla.novell.com/show_bug.cgi?id=661841#c1 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |Factory --- Comment #1 from Ludwig Nussel <lnussel@novell.com> 2011-01-10 09:39:34 CET --- fixed for Factory/11.4 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com