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#10653 - update dnsmasq to support /etc/conf.d

Attached to Project: Arch Linux
Opened by Rhys Rhaven (rhys_rhaven) - Friday, 13 June 2008, 18:31 GMT
Last edited by Greg (dolby) - Tuesday, 17 June 2008, 10:48 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Could someone please update the dnsmasq package so that /etc/rc.d/dnsmasq init script sources /etc/conf.d/dnsmasq, such as gentoo does.

This can be added easily by "[ -f /etc/conf.d/dnsmasq ] && ./etc/conf.d/dnsmasq" to the top of the init script and then $DNSMASQ_OPTS to the line which runs the executable. Thanks.

(from the gentoo wiki discussing it. openntpd, lighthttpd, etc, all do this so configuration is easier to look at.)
------------------------------------
File: /etc/dnsmasq.conf

# The DHCP server needs somewhere on disk to keep its lease database.
# This defaults to a sane location, but if you want to change it, use
# the line below.
dhcp-leasefile=/var/lib/misc/dnsmasq.leases

2. Alter /etc/conf.d/dnsmasq
File: /etc/conf.d/dnsmasq

DNSMASQ_OPTS="-l /var/lib/misc/dnsmasq.leases"

The '-l' option tells dnsmasq to look to the leases file for hostnames. So now you don't have to worry about maintaining a static hosts file.

This task depends upon

Closed by  Greg (dolby)
Tuesday, 17 June 2008, 10:48 GMT
Reason for closing:  Won't implement
Comment by Glenn Matthys (RedShift) - Saturday, 14 June 2008, 14:45 GMT
DNS masq has it's own configuration file in /etc/dnsmasq.conf

Loading...