History log of /src/libexec/rc/rc.d/kld (Results 1 – 16 of 16)
Revision Date Author Comments
# d3ed0e0a 03-Feb-2026 Thibault Payet <contact@thibaultpayet.fr>

rc.d: Convert more service to Use startmsg

Signed-off-by: Thibault Payet <contact@thibaultpayet.fr>
Reviewed by: imp,mhorne
Pull Request: https://github.com/freebsd/freebsd-src/pull/2001


# 3e55170e 26-Oct-2024 Mark Johnston <markj@FreeBSD.org>

rc.d/kld: Print modules being loaded, take three

Some kernel modules will print informative messages when they are
loaded, making the output confusing. Print everything up front instead.

Fixes: 15

rc.d/kld: Print modules being loaded, take three

Some kernel modules will print informative messages when they are
loaded, making the output confusing. Print everything up front instead.

Fixes: 152382e6613d ("rc.d/kld: Print the kernel modules being loaded")

show more ...


# cdb3cda6 26-Oct-2024 Mark Johnston <markj@FreeBSD.org>

rc.d/kld: Avoid printing a trailing space

Fixes: 152382e6613d ("rc.d/kld: Print the kernel modules being loaded")
Reported by: jrtc27


# 152382e6 26-Oct-2024 Mark Felder <feld@FreeBSD.org>

rc.d/kld: Print the kernel modules being loaded

PR: 282269
MFC after: 2 weeks


# f99f0ee1 22-May-2024 Alexander Leidinger <netchild@FreeBSD.org>

rc.d: add a service jails config to all base system services

This gives more permissions to services (e.g. network access to
services which require this) when they are started as an automatic
servic

rc.d: add a service jails config to all base system services

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

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# d00aff62 25-Oct-2020 Warner Losh <imp@FreeBSD.org>

provide easy way to disable kld_list loading

set kld_disbale=y or any value in the boot loader and that will
disable loading of the kld_list.

Differential Revision: https://reviews.freebsd.org/D269

provide easy way to disable kld_list loading

set kld_disbale=y or any value in the boot loader and that will
disable loading of the kld_list.

Differential Revision: https://reviews.freebsd.org/D26939

show more ...


# b11974c2 10-Apr-2019 Chris Rees <crees@FreeBSD.org>

Revert r346017 pending compiled-in zfs fix

PR: 237172
Approved by: jilles
Differential Revision: https://reviews.freebsd.org/D18670


# f5dfe75d 07-Apr-2019 Chris Rees <crees@FreeBSD.org>

Remove now unnecessary kldstat check before attempting to load modules.

Since r233109, kldload has the -n option, which silently ignores options
that are already loaded.

https://lists.freebsd.org/p

Remove now unnecessary kldstat check before attempting to load modules.

Since r233109, kldload has the -n option, which silently ignores options
that are already loaded.

https://lists.freebsd.org/pipermail/freebsd-rc/2018-December/003899.html

Note that this script no longer reports if the module is already loaded,
but it could be argued this wasn't particularly useful information.

PR: docs/234248
Reviewed by: bcr (docs), kib, rgrimes (visual)
Approved by: jilles
Differential Revision: https://reviews.freebsd.org/D18670

show more ...


# 0696600c 17-Oct-2018 Bjoern A. Zeeb <bz@FreeBSD.org>

Move the rc framework out of sbin/init into libexec/rc.

The reasons for this are forward looking to pkgbase:
* /sbin/init is a special binary; try not to replace it with
every package update bec

Move the rc framework out of sbin/init into libexec/rc.

The reasons for this are forward looking to pkgbase:
* /sbin/init is a special binary; try not to replace it with
every package update because an rc script was touched.
(a follow-up commit will make init its own package)
* having rc in its own place will allow more easy replacement
of the rc framework with alternatives, such as openrc.

Discussed with: brd (during BSDCam), kmoore
Requested by: cem, bz
PR: 231522
Approved by: re (gjb)

show more ...


# 1135e97b 28-Jul-2018 Brad Davis <brd@FreeBSD.org>

Move rc startup scripts from etc/ to sbin/init/

This keeps most startup scripts as CONFS per discussion on src-committers from
back during BSDCan.

Approved by: will (mentor)
Differential Revision:

Move rc startup scripts from etc/ to sbin/init/

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

show more ...


# 6c1a5e83 23-Apr-2016 Lars Engels <lme@FreeBSD.org>

- Add descriptions to most of the rc scripts. Those are mostly taken from their
daemon's manpage and probably improved.
- Consistently use "filesystem" not "file system".

Approved by: bapt, brueff

- Add descriptions to most of the rc scripts. Those are mostly taken from their
daemon's manpage and probably improved.
- Consistently use "filesystem" not "file system".

Approved by: bapt, brueffer
Differential Revision: D452

show more ...


# 59509bae 01-Dec-2011 David E. O'Brien <obrien@FreeBSD.org>

Ensure kldxref is run first. Currently both 'kldxref' and 'kld' depend
on "FILESYSTEMS" and 'kld' is being run 8 scripts ahead of 'kldxref'.

Reported by: dhw


# ab1779e3 22-Jul-2011 Doug Barton <dougb@FreeBSD.org>

Revert the apparently-unecessary module_path twiddling from r223917

Approved by: re (kib)


# c2d900ef 10-Jul-2011 Doug Barton <dougb@FreeBSD.org>

Make sure we load kernel modules from the same path as the running kernel


# aff92fcb 18-Jun-2011 Doug Barton <dougb@FreeBSD.org>

Add rc.d/kld to load kernel modules after local disks are up.
This method is many times faster than doing it in /boot/loader.conf.