[Bug 450772] New: /etc/ppp/ip-up passes wrong parameters to scripts in /etc /ppp/ip-up.d/
https://bugzilla.novell.com/show_bug.cgi?id=450772 Summary: /etc/ppp/ip-up passes wrong parameters to scripts in /etc/ppp/ip-up.d/ Product: openSUSE 11.1 Version: RC 1 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: zrrr@bk.ru QAContact: qa@suse.de Found By: --- Created an attachment (id=257133) --> (https://bugzilla.novell.com/attachment.cgi?id=257133) add $@ to run_scripts parameters and shift inside I am using pppd to connect to my ISP pptp vpn network and some additional scripts in /etc/ppp/ip-up.d/ to set up extra routes on connection (probably should use yast, but that's the way it worked until now). After upgrading from 11.0 to 11.1-RC1 scripts stopped working. I found, that the only parameter, passed to scripts in /etc/ppp/ip-up.d/ is "ip-up". I am no bash expert, but probably this is caused by moving script invocation code into function. Bash $@ variable contains only function parameters ("ip-up" on start) and not script parameters. attached "patch" fixes problem for me. -- 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=450772
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=450772
Hendrik Vogelsang
https://bugzilla.novell.com/show_bug.cgi?id=450772
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450772#c1
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=450772
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450772#c2
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=450772
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450772#c3
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=450772
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450772#c4
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=450772
User aorlovskyy@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450772#c5
Alexander Orlovskyy
participants (1)
-
bugzilla_noreply@novell.com