Re: Why is /sbin/init dynamically linked?

Alan Somers <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <CAOtMX2joQkENrO6s1aCWGGf7Ps+_EkDN6ZiN+rY_WKugsLx+Vw@mail.gmail.com>
On Fri, Aug 21, 2026 at 9:45 AM Bakul Shah <[email protected]> wrote:
>
> I was surprised to see this:
>
> $ ldd /sbin/init
> /sbin/init:
>         libutil.so.10 => /lib/libutil.so.10 (0x3f6d9f550000)
>         libcrypt.so.5 => /lib/libcrypt.so.5 (0x3f6d9f669000)
>         libc.so.7 => /lib/libc.so.7 (0x3f6da0c00000)
>         libmd.so.7 => /lib/libmd.so.7 (0x3f6da01b6000)
>         libsys.so.7 => /lib/libsys.so.7 (0x3f6da3370000)
>
> Why was this change made? [Seems to be after 15.1-release]
>
> When one of these libraries breaks, you can't even boot
> single user. In this case why even bother with /rescue.
>
> [Discovered this when init crashed for someone]

Looks like this:
https://github.com/freebsd/freebsd-src/commit/24d887436dcd5b6c18a7505e477c79cae3002c3a
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.