Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Dec 2025 01:07:42 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        infoomatic <infoomatic@gmx.at>
Cc:        questions@freebsd.org, kib@freebsd.org
Subject:   Re: 15.0 - rc.conf ignores a setting
Message-ID:  <86cy4phm41.fsf@ltc.des.dev>
In-Reply-To: <94f70d60-bf90-410b-b737-798d69744aba@gmx.at> (infoomatic@gmx.at's message of "Mon, 8 Dec 2025 00:57:23 %2B0100")
References:  <36931554-9204-46b1-820e-aece55bdf7f8@gmx.at> <aTTPALz8k80TRMHs@dragon.home.genyosha.net> <5eba042d-a1f3-44e4-8f75-b937fd2e363e@gmx.at> <86o6oagdvx.fsf@ltc.des.dev> <94f70d60-bf90-410b-b737-798d69744aba@gmx.at>

index | next in thread | previous in thread | raw e-mail

infoomatic <infoomatic@gmx.at> writes:
> I uninstalled FreeBSD-set-base plus the sets that were pulled in and
> did autoremove the packages.  Now I have FreeBSD-set-kernels,
> FreeBSD-set-minimal, FreeBSD-set-minimal-jail and also the package
> FreeBSD-rc is installed.

I didn't ask you to do any of this.  Just confirming that you already
had FreeBSD-rc (despite it being missing fromt the list that you posted
earlier) would have sufficed.

> However, the setting is ignored again at startup - /var/run/noshutdown
> is not being created.

I took a closer look at the script that creates it.  Turns out, it can't
possibly work as written.  I wonder if it was ever tested?

    % rcorder /etc/rc.d/* |& grep -A1 noshutdown
    /etc/rc.d/noshutdown
    /etc/rc.d/cleanvar

Take a wild guess what the cleanvar script does...

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86cy4phm41.fsf>