Arch Linux

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!
Tasklist

FS#32601 - [netcfg] DNSOPTIONS creating wrongly named "option" instead of "options" in resolv.conf

Attached to Project: Arch Linux
Opened by Moritz Bunkus (mbunkus) - Sunday, 11 November 2012, 14:51 GMT
Last edited by Jouke Witteveen (jouke) - Tuesday, 13 November 2012, 21:25 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Recently a patch was applied to netcfg which adds new a profile option called DNS_OPTIONS. Here's the corresponding ticket:
https://bugs.archlinux.org/task/31740

Unfortunately that patch wasn't applied properly. /usr/lib/network/connections/ethernet actually contains these lines now:

for dnsoption in "${DNS_OPTIONS[@]}"; do
echo "option $dnsoption" >>/etc/resolv.conf
done

However, "man resolv.conf" says that the thing must be named "options" and not "option". I can confirm that "option single-request" doesn't work while "options single-request" works as expected (confirmed with tcpdump).

Additional info:
* netcfg 3.0-1


Steps to reproduce:
- Install netcfg
- Observe /usr/lib/network/connections/ethernet, search for "option"
- Compare with "man resolv.conf"
This task depends upon

Closed by  Jouke Witteveen (jouke)
Tuesday, 13 November 2012, 21:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  f7d58
Comment by Moritz Bunkus (mbunkus) - Sunday, 11 November 2012, 14:53 GMT
Actually, my subject is slightly wrong; the profile option is called "DNS_OPTIONS". That's also what I use in my profile, meaning I do get a line "option single-request" in /etc/resolv.conf.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 11 November 2012, 19:21 GMT
This package is currently an orphan, but archboot in [extra] depends on it.
Assigning to the current maintainer of archboot.
Comment by Tobias Powalowski (tpowa) - Monday, 12 November 2012, 07:51 GMT
Sorry i don't develop netcfg, archboot depends on it because it uses it as default network configuration program.

Loading...