<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/dhcp, branch 2016.02</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.02</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.02'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2015-12-24T14:06:47+00:00</updated>
<entry>
<title>package/dhcp: remove sleep from SysV init scripts restart</title>
<updated>2015-12-24T14:06:47+00:00</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit@wsystem.com</email>
</author>
<published>2015-10-25T00:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=77cdeaa929d88b9b1736ee503c3f647f967791a9'/>
<id>urn:sha1:77cdeaa929d88b9b1736ee503c3f647f967791a9</id>
<content type='text'>
No sleep is required for the restart and force-reload operations to
succeed.

Signed-off-by: Benoît Thébaudeau &lt;benoit@wsystem.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/dhcp: fix SysV init scripts output text</title>
<updated>2015-12-24T14:04:54+00:00</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit@wsystem.com</email>
</author>
<published>2015-10-25T00:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=c11a296dfabb52d32158158782c4da023042763a'/>
<id>urn:sha1:c11a296dfabb52d32158158782c4da023042763a</id>
<content type='text'>
Fix various messages displayed by these scripts:
 - make start-stop-daemon quiet in order to avoid extra messages like
   "stopped /usr/sbin/dhcpd (pid 174)" being output between the command
   description and its result,
 - fix the script names in the usage strings.

Signed-off-by: Benoît Thébaudeau &lt;benoit@wsystem.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/dhcp/S80dhcp-server: allow empty INTERFACES</title>
<updated>2015-12-24T14:02:25+00:00</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit@wsystem.com</email>
</author>
<published>2015-10-25T00:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=12590c7d21925093a701b323261afc50a7961438'/>
<id>urn:sha1:12590c7d21925093a701b323261afc50a7961438</id>
<content type='text'>
The dhcpd daemon does not require network interface names to be
specified on the command line.

&gt;From dhcpd(8):
"The names of the network interfaces on which dhcpd should listen for
broadcasts may be specified on the command line.  This should be done
on systems where dhcpd is unable to identify non-broadcast interfaces,
but should not be required on other systems.  If no interface names
are specified on the command line dhcpd will identify all network
interfaces which are up, eliminating non-broadcast interfaces if
possible, and listen for DHCP broadcasts on each interface."

dhcpd exits with "Not configured to listen on any interfaces!" only if
no requested (those in INTERFACES, or all if empty) non-broadcast
interfaces matching the subnet declarations in dhcpd.conf are up.

Signed-off-by: Benoît Thébaudeau &lt;benoit@wsystem.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/dhcp: systemd: support extra options</title>
<updated>2015-12-24T14:01:33+00:00</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit.thebaudeau.dev@gmail.com</email>
</author>
<published>2015-10-25T00:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b998c876c32e6ea7d15a10544db02ecb9e700183'/>
<id>urn:sha1:b998c876c32e6ea7d15a10544db02ecb9e700183</id>
<content type='text'>
Add an OPTIONS configuration variable in order to make it possible to
pass custom extra options to dhcpd. This keeps the systemd support
consistent with the SysV init script.

Signed-off-by: Benoît Thébaudeau &lt;benoit.thebaudeau.dev@gmail.com&gt;
Reviewed-by:  "Maxime Hadjinlian" &lt;maxime.hadjinlian@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/dhcp/S80dhcp-server: support extra options</title>
<updated>2015-12-24T14:00:38+00:00</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit@wsystem.com</email>
</author>
<published>2015-10-25T00:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=80965e30eb492c8453e94f44adbc2ecf233ad465'/>
<id>urn:sha1:80965e30eb492c8453e94f44adbc2ecf233ad465</id>
<content type='text'>
Add an OPTIONS configuration variable in order to make it possible to
pass custom extra options to dhcpd.

Signed-off-by: Benoît Thébaudeau &lt;benoit@wsystem.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/dhcp: make S80dhcp-relay read a file from /etc/default/</title>
<updated>2015-12-24T13:57:17+00:00</updated>
<author>
<name>Benoît Thébaudeau</name>
<email>benoit@wsystem.com</email>
</author>
<published>2015-10-25T00:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=0bc15867dad61c24769d635c31c8263695ed92c0'/>
<id>urn:sha1:0bc15867dad61c24769d635c31c8263695ed92c0</id>
<content type='text'>
The S80dhcp-relay init script has configuration variables like
INTERFACES whose contents have to be passed to the daemon. These
variables are initialized as empty strings, but some of them are not
allowed to be empty and there was no means of filling them apart from
creating a root FS overlay to overwrite these scripts.

This commit adds support for reading dhcrelay under /etc/default/ to
set these configuration variables.

[Thomas: adapt to patch only S80dhcp-relay, since S80dhcp-server has
already been changed by previous commits.]

Signed-off-by: Benoît Thébaudeau &lt;benoit@wsystem.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>dhcp: misc improvements to S80dhcp-server</title>
<updated>2015-12-24T13:54:01+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2015-12-24T13:54:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=a118f32e9a72994d46818b8a3374f7905967c52d'/>
<id>urn:sha1:a118f32e9a72994d46818b8a3374f7905967c52d</id>
<content type='text'>
This commit does misc improvements to the S80dhcp-server init script:

 - Use more variables: NAME, DAEMON, CFG_FILE

 - Read the configuration file in /etc/default/ in a more usual way
   (as done in S21rngd for example)

 - Remove leftover dhcpd3 string in the stopping action.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>dhcp: read /etc/default/dhcpd, not /etc/default/dhcpd.conf</title>
<updated>2015-12-24T13:48:28+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2015-12-24T13:48:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6f81baaf47e3f47b131ec2b1c6c5f7d062a48d84'/>
<id>urn:sha1:6f81baaf47e3f47b131ec2b1c6c5f7d062a48d84</id>
<content type='text'>
All daemons that read a file from /etc/default/ have it named just
after the name of daemon, without any extension. This commit fixes the
dhcp package to do the same.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>dhcp: S80dhcp-server: also source /etc/default/dhcpd.conf for INTERFACES</title>
<updated>2015-11-09T22:20:48+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2015-11-09T22:20:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5eb54fc0950825664824aa4ef100036efd3b5be6'/>
<id>urn:sha1:5eb54fc0950825664824aa4ef100036efd3b5be6</id>
<content type='text'>
Similar to how we do it for dhcpd.service. The file should really have been
named /etc/default/dhcpd instead, but changing it now would break existing
systemd setups so leave it as it is.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>dhcp: dhcpd.service: /etc/default/dhcpd.conf is optional</title>
<updated>2015-11-09T22:18:25+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2015-11-09T22:18:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=21aa707a126155533748998f4fae328b1c63d1d6'/>
<id>urn:sha1:21aa707a126155533748998f4fae328b1c63d1d6</id>
<content type='text'>
The environment file is for optional customization, so don't error out if it
isn't present.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
