sync with OpenBSD -current

This commit is contained in:
purplerain 2024-05-21 00:16:53 +00:00
parent 57ecf9bd1d
commit b5356a44af
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
156 changed files with 3600 additions and 2644 deletions

View file

@ -1,5 +1,5 @@
#
# $OpenBSD: daily,v 1.97 2023/03/03 16:22:57 bluhm Exp $
# $OpenBSD: daily,v 1.98 2024/05/16 11:33:59 solene Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
# For local additions, create the file /etc/daily.local.
@ -136,6 +136,9 @@ done
next_part "Services that should be running but aren't:"
rcctl ls failed
next_part "Services that are running but shouldn't:"
rcctl ls rogue
next_part "Filesystems which need to be dumped:"
dump w | grep -vB1 ^Dump

5
etc/rc
View file

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.574 2024/04/02 08:21:04 deraadt Exp $
# $OpenBSD: rc,v 1.575 2024/05/17 00:33:43 deraadt Exp $
# System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the
@ -241,7 +241,8 @@ reorder_libs() {
) || { _error=true; break; }
done
for _bin in $_relink/usr/sbin/sshd $_relink/usr/bin/ssh-agent ; do
for _bin in $_relink/usr/sbin/sshd $_relink/usr/libexec/sshd-session \
$_relink/usr/bin/ssh-agent ; do
_tmpdir=$(mktemp -dq $_relink/_rebuild.XXXXXXXXXXXX) &&
(
set -o errexit