[Bug 875730] New: udev hot plug scripts for ISDN don't get executed
https://bugzilla.novell.com/show_bug.cgi?id=875730 https://bugzilla.novell.com/show_bug.cgi?id=875730#c0 Summary: udev hot plug scripts for ISDN don't get executed Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: PC OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dmitri.zoubkov@t-online.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 When a USB ISDN controller is plugged in (f.i. AVM FritzX) udev executes /usr/lib/udev/rules.d/45-isdn.rules, however rules in "ISDN USB" sections: SUBSYSTEM=="usb", ENV{PRODUCT}=="57c/c00*", RUN+="isdn.sh" all fail because of RUN instuction (s. below). As result - though the controller driver is recognized and loaded - CAPI subsystem is missing and ifup/ifdown scripts are not executed. The cause of the error lies in /etc/sysconfig/isdn/scripts/functions sourced at the beginning of /usr/lib/udev/isdn.sh. The functions script uses bash process substitution "<(command)" which is not POSIX compliant (s. http://www.linuxjournal.com/content/shell-process-redirection), and since isdn.sh is shebanged as "!/bin/sh" (Bash Man: "If bash is invoked with the name sh, it tries to mimic the startup behavior of historical versions of sh as closely as possible, while conforming to the POSIX standard as well...") it fails. Possible fixes: 1) shebang isdn.sh with "!/bin/bash" 2) enable process substitution in isdn.sh by "set +o posix" just before sourcing /etc/sysconfig/isdn/scripts/functions Reproducible: Always Steps to Reproduce: 1. plug in a USB ISDN controller 2. run capiinfo Actual Results: capiinfo says "capi not installed" Expected Results: capiinfo displays information on available controllers like: Number of Controllers : 1 Controller 1: Manufacturer: AVM GmbH CAPI Version: 2.0... -- 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=875730
https://bugzilla.novell.com/show_bug.cgi?id=875730#c
Xiyuan Liu
https://bugzilla.novell.com/show_bug.cgi?id=875730
https://bugzilla.novell.com/show_bug.cgi?id=875730#c
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=875730
http://bugzilla.novell.com/show_bug.cgi?id=875730#c1
Reinhard Max
http://bugzilla.novell.com/show_bug.cgi?id=875730
http://bugzilla.novell.com/show_bug.cgi?id=875730#c2
Dmitri Zoubkov
http://bugzilla.novell.com/show_bug.cgi?id=875730
http://bugzilla.novell.com/show_bug.cgi?id=875730#c3
Reinhard Max
http://bugzilla.novell.com/show_bug.cgi?id=875730
http://bugzilla.novell.com/show_bug.cgi?id=875730#c4
Robert Milasan
SLE12 already ships without ISDN support and the reason why it is still in openSUSE is probably just because nobody bothered taking it out yet. No, you won't have to throw away your telephony hardware if you still have a provider that gives you ISDN, but the days of those are also counted, AFAIK.
And if it is a general problem about udev we should pass it on to the udev maintainers.
Are you serious? Once you tell the reported that this is not supported and it's not worth your time and if that doesn't work, you throw it to udev/system maintainer? Isn't it clear what Dmitri wrote you, just fix isdn.sh? What is wrong with you? If SLE12 doesn't ship ISDN support, doesn't mean openSUSE wont. There wont be customer using ISDN on SLE12, but normal users will on openSUSE. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=875730
http://bugzilla.novell.com/show_bug.cgi?id=875730#c5
Robert Milasan
http://bugzilla.novell.com/show_bug.cgi?id=875730
http://bugzilla.novell.com/show_bug.cgi?id=875730#c6
--- Comment #6 from Robert Milasan
http://bugzilla.novell.com/show_bug.cgi?id=875730
http://bugzilla.novell.com/show_bug.cgi?id=875730#c9
--- Comment #9 from Reinhard Max
Are you serious? Once you tell the reported that this is not supported and it's not worth your time and if that doesn't work, you throw it to udev/system maintainer?
Well, Dimitri reopened it saying there is a generic problem with SUSE's udev. That's why I passed it on to the udev team, so that they can verify whether it affects other packages as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=875730
http://bugzilla.novell.com/show_bug.cgi?id=875730#c10
--- Comment #10 from Robert Milasan
participants (1)
-
bugzilla_noreply@novell.com