[Bug 152071] /etc/NetworkManager/dispatcher.d/ netcontrol_services regex too greedy
https://bugzilla.novell.com/show_bug.cgi?id=152071#c11 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jnelson-suse@jamponi.net Status|CLOSED |REOPENED Component|Network |Network Product|SUSE Linux 10.1 |openSUSE 10.3 Resolution|FIXED | Summary|/etc/NetworkManager/dispatcher.d/netcontrol_serv|/etc/NetworkManager/dispatcher.d/netcontrol_serv |ices harcodes interface |ices regex too greedy Version|Beta 4 |Final --- Comment #11 from Jon Nelson <jnelson-suse@jamponi.net> 2007-10-04 21:54:10 MST --- Regression in openSUSE 10.3? Same file, slightly different problem? In any case, I just upgraded to 10.3 and now my ifservices stuff doesn't work again. :-( The cause: the script /etc/NetworkManager/dispatcher.d/netcontrol_services uses this: E="`iwconfig ${1} 2>/dev/null | sed -n 's/^.*ESSID:\"\(.*\)\".*$/\1/p'`" When it should be using this (match ESSID:" then anything until the next double-quote): E="`iwconfig ${1} 2>/dev/null | sed -n 's/^.*ESSID:\"\([^\"]*\)\".*$/\1/p'`" Please fix. Otherwise, openSUSE 10.3 is looking and feeling GREAT so far (only a few hours as yet....) -- 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