From b26a609d01e65959bf124f15c29e14f87190f14a Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 1 Sep 2021 08:15:53 +0000 Subject: [PATCH] quietly attempt mounting of /var/log early, in case someone creates such a partition to avoid /var overflow issues ok benno beck --- etc/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index 744cf6f8d0a..829511b74f7 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.553 2021/07/28 20:48:36 deraadt Exp $ +# $OpenBSD: rc,v 1.554 2021/09/01 08:15:53 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 @@ -453,6 +453,7 @@ sh /etc/netstart mount -s /usr >/dev/null 2>&1 mount -s /var >/dev/null 2>&1 +mount -s /var/log >/dev/null 2>&1 start_daemon dhcpleased unwind resolvd >/dev/null 2>&1 -- 2.20.1