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.