Re: 15.0 - rc.conf ignores a setting
- Reply: infoomatic : "Re: 15.0 - rc.conf ignores a setting"
- In reply to: infoomatic : "15.0 - rc.conf ignores a setting"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Dec 2025 00:49:04 UTC
On Sun, Dec 07, 2025 at 12:53:44AM +0100, infoomatic wrote: > I have a pkgbase 15.0 which ignores the new setting precious_machine="YES" > in rc.conf. It does not happen on non-pkgbase 15.0 systems. What could be > the problem? What command and flags are you using to try shutdown the system? Does the behavior change if you manually create the /var/run/noshutdown file? E.g. when I 'touch /var/run/noshutdown' on a 15.0 test VM it properly prevents shutdown with the message "Shutdown cannot be done, /var/run/noshutdown is present". I'm guessing your system's shutdown binary doesn't have the noshutdown function somehow -- is your system from an upgrade or a fresh install? A quick way to check the binary itself: $ strings /sbin/shutdown | grep noshutdown Shutdown cannot be done, /var/run/noshutdown is present /var/run/noshutdown If you don't see that sort of output, I think that shows why you have the problem, but not necessarily how it got that way. Cheers, sr.