<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/etc/rc.d/dhclient, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2018-07-28T20:36:23Z</updated>
<entry>
<title>Move rc startup scripts from etc/ to sbin/init/</title>
<updated>2018-07-28T20:36:23Z</updated>
<author>
<name>Brad Davis</name>
<email>brd@FreeBSD.org</email>
</author>
<published>2018-07-28T20:36:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c'/>
<id>urn:sha1:1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c</id>
<content type='text'>
This keeps most startup scripts as CONFS per discussion on src-committers from
back during BSDCan.

Approved by:	will (mentor)
Differential Revision:	https://reviews.freebsd.org/D16466
</content>
</entry>
<entry>
<title>Allow more services to run in vnet jails</title>
<updated>2017-07-08T09:28:31Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2017-07-08T09:28:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2ca5f390c4431a77ff9a3f735d7e12a3312d4c97'/>
<id>urn:sha1:2ca5f390c4431a77ff9a3f735d7e12a3312d4c97</id>
<content type='text'>
After some tests, here are the services that run into a vnet jail:
  - defaultroute
  - dhclient
  - ip6addrctl
  - natd
  - pf
  - pfsync
  - pflog (deamon runs, pflog0 interface usable, but /var/log/pflog not filled)
  - rarpd
  - route6d (do nothing anyway because obsolete)
  - routed (do nothing anyway because obsolete)
  - rtsold
  - static_arp
  - static_ndp

PR:		220530
Submitted by:	olivier@freebsd.org
</content>
</entry>
<entry>
<title>Fix indentation in dhclient rc.d script</title>
<updated>2016-05-31T18:40:47Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2016-05-31T18:40:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=dd6aada3364abfb8c4a893604e08ef0ad82612f9'/>
<id>urn:sha1:dd6aada3364abfb8c4a893604e08ef0ad82612f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Add descriptions to most of the rc scripts. Those are mostly taken from their</title>
<updated>2016-04-23T16:10:54Z</updated>
<author>
<name>Lars Engels</name>
<email>lme@FreeBSD.org</email>
</author>
<published>2016-04-23T16:10:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6c1a5e837d2d886042767bcc7b7255b81acc0965'/>
<id>urn:sha1:6c1a5e837d2d886042767bcc7b7255b81acc0965</id>
<content type='text'>
  daemon's manpage and probably improved.
- Consistently use "filesystem" not "file system".

Approved by:	bapt, brueffer
Differential Revision:	D452
</content>
</entry>
<entry>
<title>dhclient: don't use syslog for logging non-DHCP interface errors</title>
<updated>2012-01-20T17:19:50Z</updated>
<author>
<name>Eygene Ryabinkin</name>
<email>rea@FreeBSD.org</email>
</author>
<published>2012-01-20T17:19:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1eea470950b9a27f5a19e50796cbcef16e9d80b8'/>
<id>urn:sha1:1eea470950b9a27f5a19e50796cbcef16e9d80b8</id>
<content type='text'>
We should show the error to user, but it doesn't deserve syslog.

Approved by: jhb
</content>
</entry>
<entry>
<title>rc.d: document 'quiet' prefix and fix dhclient/devd interaction</title>
<updated>2012-01-12T06:48:11Z</updated>
<author>
<name>Eygene Ryabinkin</name>
<email>rea@FreeBSD.org</email>
</author>
<published>2012-01-12T06:48:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0113cca483828dfef7edf8897fbc5cda213ac524'/>
<id>urn:sha1:0113cca483828dfef7edf8897fbc5cda213ac524</id>
<content type='text'>
Document the current semantics of the 'quiet' command prefix
in the rc.subr(8).

Fix dhclient rc.d script: it should not call err() for
non-DHCP-enabled interface when it is called from devd, because the
latter just blindly calls 'service dhclient quietstart' on each "link
up" event.

Since the 'quietstart' will silence the message "Cannot 'start' &lt;foo&gt;.
Set &lt;foo&gt;_enable to YES in /etc/rc.conf or use 'onestart' instead of
'start'." and running dhclient on the non-DHCP-enabled interface is
the same thing as running the service &lt;foo&gt; without &lt;foo&gt;_enable set,
such modification is in sync with the current semantics of the 'quiet'
prefix.

Approved by: glebius
Reviewed by: freebsd-rc list
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Fix handling of rc_force in /etc/rc.d/dhclient</title>
<updated>2011-10-28T06:03:38Z</updated>
<author>
<name>Eygene Ryabinkin</name>
<email>rea@FreeBSD.org</email>
</author>
<published>2011-10-28T06:03:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0c4b17e1e79959bd2f7f3fb95fac15eabcafecc6'/>
<id>urn:sha1:0c4b17e1e79959bd2f7f3fb95fac15eabcafecc6</id>
<content type='text'>
Variable 'rc_force' is accessible only at the time of rc_run_command,
so it can't be examined from the script's main code.

Spotted by:	hrs
Reviewed by:	hrs, des
Approved by:	des
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>The rc_force test was inverted in the previous commit, so that dhclient ran</title>
<updated>2011-10-17T13:05:57Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2011-10-17T13:05:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=32ca8e078d02e271677449372a6e66e350cf6d90'/>
<id>urn:sha1:32ca8e078d02e271677449372a6e66e350cf6d90</id>
<content type='text'>
for interfaces which were not configured for DHCP *unless* rc_force was set;
the correct logic is to run dhclient for those interfaces *only if* rc_force
is set.

Broken by:	des@
Noticed by:	everybody and his dog
Submitted by:	rea@
PR:		bin/161733
</content>
</entry>
<entry>
<title>Make dhclient use a pid file.  Modify the rc script accordingly; while</title>
<updated>2011-10-13T17:20:45Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2011-10-13T17:20:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=23f39c906b9d1f2f10747684ecb240351c3237db'/>
<id>urn:sha1:23f39c906b9d1f2f10747684ecb240351c3237db</id>
<content type='text'>
there, clean it up and add some error checks.

Glanced at by:	brooks@
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>Add very limited support for the isc-dhclient.  It will almostly certaintly</title>
<updated>2008-04-15T23:03:35Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2008-04-15T23:03:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=688e303c19b4f5710ea896c08c63aaa6085bd035'/>
<id>urn:sha1:688e303c19b4f5710ea896c08c63aaa6085bd035</id>
<content type='text'>
only work if there's just one interface doing dhcp.  This version implements
the same logic as the version in the PR, but uses pgrep to be less verbose.

PR:		conf/95905
MFC after:	1 week
</content>
</entry>
</feed>
