Am 18.06.24 um 14:04 schrieb Thorsten Kukuk via openSUSE Factory:
On Tue, Jun 18, 2024 at 12:55 PM Carlos E. R. <robin.listas@telefonica.net> wrote:
There are also after.local, boot.local, boot.localhw, which at some point were guaranteed to run for the foreseeable future ;-)
I'm pretty sure that nobody ever made such a guarantee. For a simple reason: nobody has a crystal ball to see what will come in the future. Don't mix this up with "there are currently no plans to drop support for them".
First, the support for these scripts is part of the deprecated systemd SysV Init support. So latest if this gets removed, you need to create
I'm pretty sure we were sold systemd with the promise "your init scripts will continue to just work, just better" bach then. So it fits the picture of this project well that this compatibility is now going to be removed :-D Shows it's designed as a quality product ;-) (ahem, the only package which had catastrophic data loss during my 15.5-15.6 update was systemd-journald)
your own systemd service for this. Second, and a much bigger reason to create your own systemd services: these scripts don't work in the same way with systemd as with SysV Init, because systemd cannot express the necessary dependencies as you would need for the same behavior.
But they worked well enough still. "run pretty early during boot" (boot.local) and "run very late during boot" (after.local) without having to dig into all that stuff was a pretty useful feature for many. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman