OPNsense Forum

English Forums => 25.1, 25.4 Series => Topic started by: eponymous on July 22, 2025, 02:52:02 PM

Title: /var/run/booting no such file
Post by: eponymous on July 22, 2025, 02:52:02 PM
I get this in the startup log on 25.1.12:

chown /var/run/booting .. no such file or directory
I'm on an SG-2440 and this is new since updating to 25.1.12

Anything to be concerned about?
Title: Re: /var/run/booting no such file
Post by: eponymous on July 22, 2025, 03:19:14 PM
And with this, I'm confused even more! https://github.com/opnsense/core/issues/5841
Title: Re: /var/run/booting no such file
Post by: franco on July 22, 2025, 05:02:16 PM
Nice catch, thanks. I remember thinking about conditionally setting it here, but eventually forgot during a relatively wild testing phase for 25.7 which led to 25.1.12 ;)

https://github.com/opnsense/core/commit/7209fe09a


Cheers,
Franco
Title: Re: /var/run/booting no such file
Post by: eponymous on July 22, 2025, 05:32:06 PM
I'm glad I could help!

Just to check: this isn't a critical problem and I'm good to continue as is? I didn't understand the full impact of this file being missing.

The 7209fe0 commit - will that make it into tomorrow's release?

Cheers.
Title: Re: /var/run/booting no such file
Post by: franco on July 22, 2025, 08:44:31 PM
No, won't be before 25.7.1, but it's purely cosmetic: the late boot creates /var/run/booting, but the permission fix is used earlier once (and not just for that file) and also every time the web GUI reloads when the file is known to exist. This is to ensure correct permissions for the upcoming privilege separation.


Cheers,
Franco
Title: Re: /var/run/booting no such file
Post by: franco on July 23, 2025, 07:55:41 AM
Sorry, small fix for the fix https://github.com/opnsense/core/commit/77e38501337