<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/rc/rc.d, branch releng/14.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-11-07T08:09:54Z</updated>
<entry>
<title>nuageinit: add support for OpenStack network config</title>
<updated>2024-11-07T08:09:54Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-10-29T13:17:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea310d18b222047caf6cb07f6bdc37020dc672b6'/>
<id>urn:sha1:ea310d18b222047caf6cb07f6bdc37020dc672b6</id>
<content type='text'>
Add naive support for openstack network config.
if no config driver have been found, try to detect that we are running a
VM on openstack via the smbios information, use the first iface
available and temporary activate dhcp on it, to be able to fetch the
necessary informations for cloudinit.

While here make the rc script execute after devmatch, some ethernet
device might be attached via devmatch and may be needed for cloudinit.

Tested on OVHCloud Public Cloud.

Approved by: 	re (cperviva)
MFC after:	3 weeks
Sponsored by:	OVHCloud

(cherry picked from commit 2775b9b0bcc278dd4183b57784953c26a3fcdc89)
(cherry picked from commit 6c682f5c3860a49cd0440599fffe1106c00ff830)
</content>
</entry>
<entry>
<title>libexec/rc/rc.d/netif: Typo fix</title>
<updated>2024-10-31T00:49:57Z</updated>
<author>
<name>Robert William Vesterman</name>
<email>bob@vesterman.com</email>
</author>
<published>2024-10-18T02:54:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fb03ddbce076a24808f95846ddfcf0f2b7508bb'/>
<id>urn:sha1:6fb03ddbce076a24808f95846ddfcf0f2b7508bb</id>
<content type='text'>
Just fixing a typo ("configuriing" =&gt; "configuring").

Pull Request:	https://github.com/freebsd/freebsd-src/pull/1484

(cherry picked from commit 65691b2dafda23691c3989749def755a98e731ec)
</content>
</entry>
<entry>
<title>rc.d/sendmail: Fix stopping service during shutdown</title>
<updated>2024-10-14T10:23:46Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2024-10-04T12:26:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f94127e3ee9181f60576c823ecee6c85625b96e1'/>
<id>urn:sha1:f94127e3ee9181f60576c823ecee6c85625b96e1</id>
<content type='text'>
The sendmail service script needs to be stopped during shutdown
to ensure a clean shutdown of active SMTP connections (and writing
any in memory queue files).

rcorder(8) requires the rcorder block to be an uninterrupted sequence of
REQUIRE, PROVIDE, BEFORE, and KEYWORD lines. Having a comment in between
REQUIRE and KEYWORD makes rcorder stop parsing the block when it reaches
the comment.

Fix that by moving the comment out from the rcorder block.

Reviewed by:	bnovkov, christos, gshapiro, markj
Approved by:	bnovkov (mentor), christos (mentor), markj (mentor)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D46924

(cherry picked from commit 8751fbe36ff02ed695f02132ee6eac723d2bbe3f)
</content>
</entry>
<entry>
<title>nuageinit: Silence an fstyp(8) warning</title>
<updated>2024-10-08T07:04:01Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2024-07-26T01:59:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c96dbfbd1b5274cd0cdcdffacfe365f7be1d2d79'/>
<id>urn:sha1:c96dbfbd1b5274cd0cdcdffacfe365f7be1d2d79</id>
<content type='text'>
Silence a warning emitted by fread(3) in fstyp(8)'s read_buf(), when
detecting the file system type of the cloud-init device:

    % fstyp /dev/iso9660/cidata
    fstyp: fread: Invalid argument
    cd9660

Also rephrase slightly a comment while here.

Signed-off-by: Jose Luis Duran &lt;jlduran@gmail.com&gt;
(cherry picked from commit d71e2c037c942dbe2a9fd2630d5cf155dd1bf7db)
</content>
</entry>
<entry>
<title>rc.d/dnctl: Chmod +x for consistency with other rc scripts</title>
<updated>2024-10-02T09:11:20Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2024-09-22T11:35:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2ab84513e93076331aa698e36ca8781c02b3c3ed'/>
<id>urn:sha1:2ab84513e93076331aa698e36ca8781c02b3c3ed</id>
<content type='text'>
MFC after:	1 week
Approved by:	bnovkov

(cherry picked from commit 91fac46bf7cff03c3471422c67281041c5fa0f1f)
</content>
</entry>
<entry>
<title>rc.d/devmatch: Silence sysctl hw.bus.devctl_nomatch_enabled=1</title>
<updated>2024-09-07T00:03:16Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2024-08-28T23:26:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=11d7aa07eb31d94cd72044f5108b2335d46db44e'/>
<id>urn:sha1:11d7aa07eb31d94cd72044f5108b2335d46db44e</id>
<content type='text'>
As with various other rc scripts, we don't want the output from this
being visible in the boot log.

Fixes:		6437872c1d66 ("New sysctl to disable NOMATCH until devmatch runs")
MFC after:	1 week

(cherry picked from commit 62775aebf725a79703592f3276118245a74afdac)
</content>
</entry>
<entry>
<title>rc.d/ldconfig: Compute ldconfig paths in a function</title>
<updated>2024-08-27T18:15:48Z</updated>
<author>
<name>Konrad Witaszczyk</name>
<email>def@FreeBSD.org</email>
</author>
<published>2024-04-12T21:34:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ee104259c72c24ca2495f7d7c4aac2672c010478'/>
<id>urn:sha1:ee104259c72c24ca2495f7d7c4aac2672c010478</id>
<content type='text'>
Move logic that computes paths passed to ldconfig(8) to a
ldconfig_paths() function that can be called for multiple ABIs.

Reviewed by:	olce, kib
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D44751

(cherry picked from commit e6e38bc522e29de6299536b547bf11dab11e9679)
</content>
</entry>
<entry>
<title>dhclient: rc.conf option to disable ARP resolution</title>
<updated>2024-08-20T04:57:09Z</updated>
<author>
<name>Isaac Cilia Attard</name>
<email>icattard@FreeBSD.org</email>
</author>
<published>2024-07-13T10:07:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54bd53672395c9902058da58cf7c9d4443785e5a'/>
<id>urn:sha1:54bd53672395c9902058da58cf7c9d4443785e5a</id>
<content type='text'>
Introduce a new rc.conf option to not wait for ARP resolution within
dhclient. This is plausible on many modern networks where it is possible
to trust the DHCP server to know whether an IP address is available.

Sponsored by:	Google LLC (GSoC 2024)
Signed-off-by:	Isaac Cilia Attard &lt;icattard@FreeBSD.org&gt;
MFC after:	10 days
Reviwed by:	cperciva, brooks, Tom Hukins, Alexander Ziaee
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1368

(cherry picked from commit 503adcdf1db35eab0f3d35392947a6da3bd19539)
</content>
</entry>
<entry>
<title>Remove "All Rights Reserved" from FreeBSD Foundation copyrights</title>
<updated>2024-08-06T19:39:53Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2024-07-30T16:02:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f06d322e9d925ab56a4aa8210a67637d4d341ab6'/>
<id>urn:sha1:f06d322e9d925ab56a4aa8210a67637d4d341ab6</id>
<content type='text'>
These ones were unambiguous cases where the Foundation was the only
listed copyright holder.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 5c2bc3db201a4fe8d7911cf816bea104d5dc2138)
</content>
</entry>
<entry>
<title>rc.subr(8): MFC: introduce ${name}_offcmd</title>
<updated>2024-06-17T04:57:53Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2024-06-02T19:13:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=efb1717d21c2cc488955914cb4fe9f3683b9cbe5'/>
<id>urn:sha1:efb1717d21c2cc488955914cb4fe9f3683b9cbe5</id>
<content type='text'>
New variable ${name}_offcmd may be used to supply commands
executed if named service is not enabled. Previously start_precmd
could be used for such a task but now rc.subr(8) does not call it
if a service is not enabled.

Fix devd startup script to use it instead of start_precmd.

PR:		279198
Reported by:	Dmitry S. Lukhtionov
Tested by:	Dmitry S. Lukhtionov

(cherry picked from commit 32a579e4fc69a65e8901111ad5f65ec56a97dfab)
(cherry picked from commit c2db3a0c7d31116028b38b426a9b139d26cbc7e5)
</content>
</entry>
</feed>
