Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#35801 - [ppp] /etc/ppp/ip-up.d/00-dns.sh script doesn't work
Attached to Project:
Arch Linux
Opened by Tomasz Kalicki (TKalicki) - Saturday, 15 June 2013, 09:59 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 19 June 2013, 21:38 GMT
Opened by Tomasz Kalicki (TKalicki) - Saturday, 15 June 2013, 09:59 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 19 June 2013, 21:38 GMT
|
DetailsDescription:
/etc/ppp/ip-up.d/00-dns.sh script is invalid sh script due to bash "elif" keyword. Patch: --- 00-dns.sh.old 2013-06-15 11:50:50.384583425 +0200 +++ 00-dns.sh 2013-06-15 11:47:29.786295039 +0200 @@ -3,7 +3,7 @@ if [ "$USEPEERDNS" = "1" -a -f /etc/ppp/resolv.conf ]; then if [ -x /usr/bin/resolvconf ]; then /usr/bin/resolvconf -a ${IFNAME} </etc/ppp/resolv.conf - elif + else [ -e /etc/resolv.conf ] && mv /etc/resolv.conf /etc/resolv.conf.backup.${IFNAME} mv /etc/ppp/resolv.conf /etc/resolv.conf chmod 644 /etc/resolv.conf Additional info: * version: ppp 2.4.5-7 Steps to reproduce: Always |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 19 June 2013, 21:38 GMT
Reason for closing: Fixed
Additional comments about closing: ppp 2.4.5-8
Wednesday, 19 June 2013, 21:38 GMT
Reason for closing: Fixed
Additional comments about closing: ppp 2.4.5-8
Comment by Thomas Bächler (brain0) -
Saturday, 15 June 2013, 23:08 GMT
Ouch, that's a stupid mistake. Will fix.
Comment by Thomas Bächler (brain0) -
Sunday, 16 June 2013, 08:54 GMT
Fixed in ppp 2.4.5-8.