<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/rc/rc.d/ldconfig, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>rc.d: add a service jails config to all base system services</title>
<updated>2024-05-22T13:41:49+00:00</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2024-05-22T13:31:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f99f0ee14e3af81c23150a6a340259ca8a33d01a'/>
<id>f99f0ee14e3af81c23150a6a340259ca8a33d01a</id>
<content type='text'>
This gives more permissions to services (e.g. network access to
services which require this) when they are started as an automatic
service jail.

The sshd patch is important for the sshd-related functionality as
described in the man-page in the service jails part.

The location of the added env vars is supposed to allow overriding them
in rc.conf, and to hard-disable the use of svcj for some parts where it
doesn't make sense or will not work.

Only a subset of all of the services are fully tested (I'm running this
since more than a year with various services started as service jails).
The untested parts should be most of the time ok, in some edge-cases
more permissions are needed inside the service jail.
Differential Revision:	https://reviews.freebsd.org/D40371
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This gives more permissions to services (e.g. network access to
services which require this) when they are started as an automatic
service jail.

The sshd patch is important for the sshd-related functionality as
described in the man-page in the service jails part.

The location of the added env vars is supposed to allow overriding them
in rc.conf, and to hard-disable the use of svcj for some parts where it
doesn't make sense or will not work.

Only a subset of all of the services are fully tested (I'm running this
since more than a year with various services started as service jails).
The untested parts should be most of the time ok, in some edge-cases
more permissions are needed inside the service jail.
Differential Revision:	https://reviews.freebsd.org/D40371
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.d/ldconfig: Compute ldconfig paths in a function</title>
<updated>2024-04-12T21:34:59+00:00</updated>
<author>
<name>Konrad Witaszczyk</name>
<email>def@FreeBSD.org</email>
</author>
<published>2024-04-12T21:34:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e6e38bc522e29de6299536b547bf11dab11e9679'/>
<id>e6e38bc522e29de6299536b547bf11dab11e9679</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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.d/ldconfig: Remove stray ;;</title>
<updated>2023-11-24T20:11:45+00:00</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2023-11-24T20:11:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ac910ad9951a52743389a47fa4a3feabe9021aaa'/>
<id>ac910ad9951a52743389a47fa4a3feabe9021aaa</id>
<content type='text'>
Stray ";;" causes the ldconfig rc script to fail at boot. Remove it.

Fixes:		73902ed85ab7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stray ";;" causes the ldconfig rc script to fail at boot. Remove it.

Fixes:		73902ed85ab7
</pre>
</div>
</content>
</entry>
<entry>
<title>ldconfig: only configure compat32 when kernel supports it</title>
<updated>2023-11-24T16:38:42+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-11-18T13:09:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=73902ed85ab73d455d4be8c77336c88a07512230'/>
<id>73902ed85ab73d455d4be8c77336c88a07512230</id>
<content type='text'>
and eliminate hard-coded arch list.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D42669
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and eliminate hard-coded arch list.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D42669
</pre>
</div>
</content>
</entry>
<entry>
<title>ldconfig: filter out non-existing directories from default path</title>
<updated>2023-11-20T11:26:00+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-11-16T05:38:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=806e4e3273bee2e3a12ffc2e74db5c912fbd7aa9'/>
<id>806e4e3273bee2e3a12ffc2e74db5c912fbd7aa9</id>
<content type='text'>
This is done only for ld-elf32.so.1, where /lib32 is kept in the path
due to the way STANDARD_LIBRARY_PATH is defined in rtld_paths.h.

This change fixes innocent warning appearing after
99132daf6f70cb0cc969c555d3612547fa3cf1db

Reviewed by:	dim, emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D42626
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is done only for ld-elf32.so.1, where /lib32 is kept in the path
due to the way STANDARD_LIBRARY_PATH is defined in rtld_paths.h.

This change fixes innocent warning appearing after
99132daf6f70cb0cc969c555d3612547fa3cf1db

Reviewed by:	dim, emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D42626
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths</title>
<updated>2023-11-13T23:39:17+00:00</updated>
<author>
<name>John W. O'Brien</name>
<email>john@saltant.com</email>
</author>
<published>2023-11-12T22:45:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=99132daf6f70cb0cc969c555d3612547fa3cf1db'/>
<id>99132daf6f70cb0cc969c555d3612547fa3cf1db</id>
<content type='text'>
Ensure that ldconfig-managed elf and elf32 hints always include
the standard library paths that are known independently to rtld.

PR:			275031
Reviewed by:		kib
MFC after:		2 weeks
Sponsored by:		Saltant Solutions LLC
Differential Revision:	https://reviews.freebsd.org/D42557
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that ldconfig-managed elf and elf32 hints always include
the standard library paths that are known independently to rtld.

PR:			275031
Reviewed by:		kib
MFC after:		2 weeks
Sponsored by:		Saltant Solutions LLC
Differential Revision:	https://reviews.freebsd.org/D42557
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:55:03+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf'/>
<id>d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>ldconfig script: enable 32-bit compat on aarch64</title>
<updated>2023-08-05T12:37:39+00:00</updated>
<author>
<name>Mike Karels</name>
<email>karels@FreeBSD.org</email>
</author>
<published>2023-08-05T12:19:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6f15b7e199527e50aa459340607ff98bbff8e905'/>
<id>6f15b7e199527e50aa459340607ff98bbff8e905</id>
<content type='text'>
Add aarch64 to set of architectures that support 32-bit compat
libraries.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add aarch64 to set of architectures that support 32-bit compat
libraries.
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.d/ldconfig: Remove mips64 check for ldconfig32.</title>
<updated>2023-03-29T17:20:03+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-03-29T17:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3ba927fdc46de1fe3086c088b9be69557ec5ce27'/>
<id>3ba927fdc46de1fe3086c088b9be69557ec5ce27</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce startmsg and use it in rc scripts</title>
<updated>2022-03-13T17:57:29+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2022-03-13T17:48:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=325ebf37d8efc6488754051fcc2b1aaa40cefd8b'/>
<id>325ebf37d8efc6488754051fcc2b1aaa40cefd8b</id>
<content type='text'>
startmsg is a new rc.subr(8) function function to be used instead of
echo(1) when for boot messages. It replaces the often forgotten

    check_startmsgs &amp;&amp; echo ...

with

    startmsg ...

No functional change intended.

I adjusted the commit message and did some final clean-ups of the patch
before committing.

PR:		255207
Reported by:	Jose Luis Duran &lt;jlduran@gmail.com&gt;
Reviewed by:	imp, 0mp
Approved by:	imp (src)
Differential Revision:	https://reviews.freebsd.org/D34514
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
startmsg is a new rc.subr(8) function function to be used instead of
echo(1) when for boot messages. It replaces the often forgotten

    check_startmsgs &amp;&amp; echo ...

with

    startmsg ...

No functional change intended.

I adjusted the commit message and did some final clean-ups of the patch
before committing.

PR:		255207
Reported by:	Jose Luis Duran &lt;jlduran@gmail.com&gt;
Reviewed by:	imp, 0mp
Approved by:	imp (src)
Differential Revision:	https://reviews.freebsd.org/D34514
</pre>
</div>
</content>
</entry>
</feed>
