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#35601 - Resolveconf generates an invalid resolv.conf file with extra commas
Attached to Project:
Arch Linux
Opened by Harsh Gupta (Geotarget) - Sunday, 02 June 2013, 08:38 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 04 June 2013, 17:29 GMT
Opened by Harsh Gupta (Geotarget) - Sunday, 02 June 2013, 08:38 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 04 June 2013, 17:29 GMT
|
DetailsI'm on Arch Linux, the latest version as of 2013 June 02.
Resolveconf generates an invalid "/etc/resolv.conf" file with entries as follows: nameserver 123.123.123.123, nameserver 123.123.123.123 As you can see the commas are unnecessary, and it breaks "pacman" updating, although ping works. This is because the network config is okay, but pacman apparently uses the "resolv.conf" data and the commas confuse it. Please stop adding commas to the "resolv.conf" file since this breaks important features on Arch Linux. I'm using the "netctl" network manager with a network static IP config file. I'm using multiple nameservers in the config file as follows: (not real data) DNS=('123.123.123.0', '123.123.123.1') |
This task depends upon
There's nothing to correct here except your understanding of the syntax. Config file parsers should not implement leniency under the expectation that users will fudge what's legitimately acceptable. As documented in netctl.profile(5):
"The files consist of variable definitions following the bash shell syntax"