Date: Tue, 12 Mar 2024 14:43:44 +0000 From: bugzilla-noreply@freebsd.org To: rc@FreeBSD.org Subject: [Bug 267846] rc.conf: var_run_enable="YES" without any effect on tmpfs:/var/run Message-ID: <bug-267846-20181-tCaJ3lNKlT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267846-20181@https.bugs.freebsd.org/bugzilla/> References: <bug-267846-20181@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267846 Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |junchoon@dec.sakura.ne.jp --- Comment #4 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> --- Not a fix, but just a workaround. Run `serivce var_run save` as root before shutdown. Maybe because of the problem, it seems to be kept, but if something new whi= ch requires new directory structute in /var/run but creates them only installa= tion are added, this should be done again. Put script below in /etc/rc.conf[.local]. An example for environments having clamav installed. As rc.conf is actually a /bin/sh script, this worked for = me. The actual process (`test` to redirection) are borrowed from /etc/rc.d/var_= run. if [ ! -d /var/run/clamav ] ; then test -f ${var_run_mtree} && \ mtree -U -i -q -f ${var_run_mtree} -p /var/run > /dev/null fi --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267846-20181-tCaJ3lNKlT>