On Tue, Jun 18, 2024 at 12:55 PM Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2024-06-18 09:54, Thorsten Kukuk via openSUSE Factory wrote:
/sbin/service is used by rc* symlinks by us. Is there anything else calling /sbin/service?
/etc/vmware, maybe.
A config file should not call a binary... And the vmware scripts in our open-vm-tools package will not use /sbin/service, as the network script they try to execute with it does not exist...
I see /etc/init.d/rc3.d/K50vmware and @K50vmware-USBArbitrator, @S50vmware and @S50vmware-USBArbitrator, and in level 5, 2.
Whatever that is, it doesn't seem to come from openSUSE.
I also see /etc/init.d/jexec, but this one is a symlink dated 2015.
Sounds like an update did go wrong and didn't remove that script.
"systemctl status vmware" works, but something creates the /etc/vmware scripts. "rcvmware status" also works.
The rc* symlinks in open-vm-tools need to be removed, too, see TODO list. I don't see a reason to postpone the project here.
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 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. Thorsten
-- Cheers / Saludos,
Carlos E. R. (from 15.5 x86_64 at Telcontar)
-- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)