| 06b46652 | 23-Feb-2026 |
Quentin Thébault <quentin.thebault@defenso.fr> |
virtual_oss: use hw.snd.default_unit by default
Reviewed by: christos MFC after: 1 week Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr> Sponsored by: Defenso PR: 293130 Pull Request
virtual_oss: use hw.snd.default_unit by default
Reviewed by: christos MFC after: 1 week Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr> Sponsored by: Defenso PR: 293130 Pull Request: https://github.com/freebsd/freebsd-src/pull/2043
show more ...
|
| 90a7728c | 29-Jan-2026 |
Baptiste Daroussin <bapt@FreeBSD.org> |
nuageinit: support fetching configuration on multiple iface
On some environement a VM can be connected to multiple ifaces but only one will respond to dhcp and able to fetch the metadata.
Launch th
nuageinit: support fetching configuration on multiple iface
On some environement a VM can be connected to multiple ifaces but only one will respond to dhcp and able to fetch the metadata.
Launch the early dhclient on all available ifaces and as soon as one dhcp has successfully configured an iface, proceed with fetching the metadata.
MFC After: 1 week Reported by: mateusz.klejn@ovhcloud.com Tested by: mateusz.klejn@ovhcloud.com Sponsored by: OVHcloud
show more ...
|
| ced7f29d | 12-Jan-2026 |
NVSRahul <nvsrahul@hotmail.com> |
rc: Add os-release URL rc.conf variables
Add rc.conf defaults for the os-release URL settings introduced in the os-release rc.d script. This makes it easier for downstream integrators and appliances
rc: Add os-release URL rc.conf variables
Add rc.conf defaults for the os-release URL settings introduced in the os-release rc.d script. This makes it easier for downstream integrators and appliances to override the URLs via rc.conf instead of patching the script.
The following variables are added to libexec/rc/rc.conf: - osrelease_home_url - osrelease_documentation_url - osrelease_support_url - osrelease_bug_report_url
These correspond to HOME_URL, DOCUMENTATION_URL, SUPPORT_URL, and BUG_REPORT_URL in the generated os-release file.
Signed-off-by: NVSRahul <nvsrahul@hotmail.com> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1961
show more ...
|
| cc1e4aae | 10-Dec-2025 |
Cy Schubert <cy@FreeBSD.org> |
rc.d/ipfilter: ipfilter must be enabled for options to take
ipfilter options are erased and reset to default when ipfilter is disabled. This results in nullifying options from rc.conf that were prev
rc.d/ipfilter: ipfilter must be enabled for options to take
ipfilter options are erased and reset to default when ipfilter is disabled. This results in nullifying options from rc.conf that were previously set.
8d6feaaaa26f, which added this code, was incorrect as it was for a bug in ipfilter 4.2.28 and no longer applies to ipfilter 5.1.2.
Fixes: 8d6feaaaa26f MFC after: 1 day
show more ...
|
| e540e8b2 | 08-Dec-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
noshutdown: Fix startup order
This rc script exists solely to create a file, so have it explicitly require FILESYSTEMS. In its current form, it was as likely as not to end up running before cleanva
noshutdown: Fix startup order
This rc script exists solely to create a file, so have it explicitly require FILESYSTEMS. In its current form, it was as likely as not to end up running before cleanvar, which would undo its work.
MFC after: 3 days Fixes: 384d976725a5 ("rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown") Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D54119
show more ...
|
| 39ee2418 | 17-Nov-2025 |
Mark Johnston <markj@FreeBSD.org> |
rc.subr: Support setting the audit user when starting services
When an unprivileged user restarts a service using, e.g., sudo, the service runs with the audit user ID set to that of the unprivileged
rc.subr: Support setting the audit user when starting services
When an unprivileged user restarts a service using, e.g., sudo, the service runs with the audit user ID set to that of the unprivileged user. This can have surprising effects: for instance, a user that restarts a jail that is running sshd will end up with their UID attached to all audit logs associated with users who log in via that sshd instance. (sshd will set the audit user, but this is disallowed in jails by default.)
Add support for rc.conf directives which cause rc to override the audit user. Specifically, make <name>_audit_user=foo cause the audit user to be set to "foo" for service <name>. A plain audit_user=foo directive causes all services to be started as foo.
Note, like other similar rc features, this feature is limited to rc services which are run by executing a command. Shell functions can't be wrapped this way.
Reviewed by: 0mp MFC after: 2 weeks Sponsored by: Modirum MDPay Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D53747
show more ...
|
| 71f6592a | 17-Nov-2025 |
Mark Johnston <markj@FreeBSD.org> |
rc.subr: Remove misguided cpuset usage
When running an rc command, if the target rc script defines <command>_cmd, e.g., start_cmd=..., then the run_rc_command() executes that instead of $command. I
rc.subr: Remove misguided cpuset usage
When running an rc command, if the target rc script defines <command>_cmd, e.g., start_cmd=..., then the run_rc_command() executes that instead of $command. In general it's a shell function, and "cpuset -l <n> <shell function>" doesn't work.
Moreover, it doesn't really make sense to run cpuset for anything other than start_cmd.
Other optional isolation mechanisms (e.g., <name>_fib, <name>_chroot) are only used when invoking $command directly as part of the "start" command. Make <name>_cpuset consistent with everything else by removing these extraneous cpuset invocations.
Reviewed by: 0mp MFC after: 2 weeks Sponsored by: Modirum MDPay Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D53746
show more ...
|