<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/rc, branch release/13.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-07-22T02:37:03Z</updated>
<entry>
<title>rc.conf: Leap-seconds sources: Add IANA back</title>
<updated>2024-07-22T02:37:03Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-07-19T18:04:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=176f8488e167ec3943108965c7c0e3e98fe167da'/>
<id>urn:sha1:176f8488e167ec3943108965c7c0e3e98fe167da</id>
<content type='text'>
11da791920ba switched Leap-seconds source from IANA to IERS, as IERS
is the canonoical source. The problem ist that IERS is not accessible
from IPv6 only networks. To work around this we must add IANA back in
order to provide IPv6-only users a source for leap-seconds fetch.

PR:		279413
Fixes:		11da791920ba

(cherry picked from commit 66f360515d2829d261c0ad7bd516e9dd18c2dd83)
</content>
</entry>
<entry>
<title>rc.subr: improve description for ${name}_offcmd</title>
<updated>2024-06-21T08:29:53Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2024-06-18T09:11:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=73d1f732cea18de474b58783b562b11a28f1dd99'/>
<id>urn:sha1:73d1f732cea18de474b58783b562b11a28f1dd99</id>
<content type='text'>
Clarify that ${name}_offcmd is for method start.

(cherry picked from commit af1b0aa5b957bbfedc929167aa3459ad2d8b6653)
</content>
</entry>
<entry>
<title>rc.subr(8): MFC: introduce ${name}_offcmd</title>
<updated>2024-06-17T05:06:59Z</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=61d43332e6882c6c3c3be1473d38db3a9803b32d'/>
<id>urn:sha1:61d43332e6882c6c3c3be1473d38db3a9803b32d</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>
<entry>
<title>kdc: Add restart option</title>
<updated>2024-04-29T12:51:11Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-04-18T18:56:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e750111ced0370a90f585467a79a773d20f14360'/>
<id>urn:sha1:e750111ced0370a90f585467a79a773d20f14360</id>
<content type='text'>
Add a new kdc_restart rc variable that manages kdc (or krb5kdc) under
daemon(8). This automatically restarts the kdc should it fail, i.e.
when it's configured to use LDAP as a backend and cannot connect to its
LDAP directory.

Set kdc_restart="YES" to auto restart kdc on abnormal termination.

Set kdc_restart_delay="N" to the number of seconds to delay before
restarting the kdc. The daemon(8) default seconds applies when not set.

Reported by:		Lexi Winter &lt;lexi.freebsd@le-fay.org&gt;
PR:			278395
Differential Revision:	https://reviews.freebsd.org/D44898

(cherry picked from commit 9e248b7f645cdf05615a49cc15295df49b54d659)
</content>
</entry>
<entry>
<title>leapseconds: Update to the canonical place.</title>
<updated>2024-02-08T05:15:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-02-06T23:11:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0eea8292ae8c8e9119520ce54aa82cae491d83b9'/>
<id>urn:sha1:0eea8292ae8c8e9119520ce54aa82cae491d83b9</id>
<content type='text'>
IERS is the source of truth for leap seconds. Their leapsecond file is
updated most quickly and is always right (unlike the IANA one which
often lags). IERS operates this public service for the express purpose
of random people downloading it. Their terms of service are compatible
with open source (we could include this in our release). Rather than
fighting with questions around this because the IANA one changed
locations or the auto update script broken, just use this.

This is in preference to the NIST ftp copy. NIST is in the process of
retiring their FTP services.

Sponsored by:		Netflix
Reviewed by:		philip, delphij, cy
Differential Revision:	https://reviews.freebsd.org/D43752

(cherry picked from commit 11da791920ba285f0832f09cb504ac81e35ff8d1)
</content>
</entry>
<entry>
<title>rc.d/kdc: Support start of MIT krb5kdc</title>
<updated>2024-01-29T00:26:13Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-01-20T13:52:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=02f097e7f34199813201b940ad2b608b6f36bd83'/>
<id>urn:sha1:02f097e7f34199813201b940ad2b608b6f36bd83</id>
<content type='text'>
Some users wishing to use the MIT krb5kdc have discovered the
kdc script workaround applied to the MIT krb5 ports is insufficient.
Let's build into this rc script the smarts to determine whether
base or ports Hiemdal kdc is being invoked or the MIT krb5kdc.

While at it, remove kdc_start_precmd(). This will simplify a future
jail patch.

Suggested by:		netchild
Original patch:		netchild
Reviewed by:		emaste, netchild
Differential Revision:	https://reviews.freebsd.org/D43523

(cherry picked from commit 91f78c32befa08bf4010db7afd4407277a3e585f)
</content>
</entry>
<entry>
<title>rc.conf: correct $ntp_leapfile_sources</title>
<updated>2023-12-16T02:33:58Z</updated>
<author>
<name>Philip Paeps</name>
<email>philip@FreeBSD.org</email>
</author>
<published>2023-12-07T05:48:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=74a8c6da4f28e691c169aa502713a5aaebc00584'/>
<id>urn:sha1:74a8c6da4f28e691c169aa502713a5aaebc00584</id>
<content type='text'>
IETF is no longer serving leap-seconds.list.  Point at IANA instead.

This fixes "service ntpd fetch".

(cherry picked from commit b1c95af45488bef649e9a84890e2414ff80b3a00)
</content>
</entry>
<entry>
<title>rc.conf(5): add &lt;service&gt;_umask to run the service using this value</title>
<updated>2023-12-02T08:15:52Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2022-08-28T05:45:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d6a03dd43c758cdd7c7dd9590459d1aa77d4333'/>
<id>urn:sha1:2d6a03dd43c758cdd7c7dd9590459d1aa77d4333</id>
<content type='text'>
None of tools working with login classes change umask(1)
and we had no ways to specify non-default umask for a service
not touching its startup script. This change makes in possible.

Some file-sharing services that create new files may benefit from it.

Differential:	https://reviews.freebsd.org/D36309

(cherry picked from commit 160a2f2cdda806e104c0d3194bfb84b208ad1ae8)
</content>
</entry>
<entry>
<title>rc: add ${name}_setup script support</title>
<updated>2023-12-02T08:03:49Z</updated>
<author>
<name>Franco Fichtner</name>
<email>franco@opnsense.org</email>
</author>
<published>2022-08-15T14:41:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed36613e65ab59ba8e9c2ca73ca8188457b51d01'/>
<id>urn:sha1:ed36613e65ab59ba8e9c2ca73ca8188457b51d01</id>
<content type='text'>
Run a service-based setup script before running the start command.
Useful for automatic configuration file generation.

Reviewed by:	https://reviews.freebsd.org/D36006
</content>
</entry>
<entry>
<title>ldconfig: filter out non-existing directories from default path</title>
<updated>2023-11-28T11:42:22Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-11-16T05:38:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9026d9e6138ad6ea3b8b52f2d555d48aebd7f8fc'/>
<id>urn:sha1:9026d9e6138ad6ea3b8b52f2d555d48aebd7f8fc</id>
<content type='text'>
(cherry picked from commit 806e4e3273bee2e3a12ffc2e74db5c912fbd7aa9)
</content>
</entry>
</feed>
