On Mon, Aug 31, 2020 at 5:20 PM Hans-Peter Jansen <hpj@urpla.net> wrote:
$ sc status vboxdrv.service ● vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; disabled; vendor
Am Montag, 31. August 2020, 16:34:54 CEST schrieb Andrei Borzenkov: preset:
disabled)
...
$ rpm -qf /usr/lib/systemd/system/multi-user.target.wants/vbox* virtualbox-6.1.10-lp152.2.2.1.x86_64 virtualbox-6.1.10-lp152.2.2.1.x86_64
which raises the questions, why and why does systemctl display these services as vendor preset: disabled? (See above)
Because "enabled" in systemd means "links from [Install] section are present" and those links cannot be in /usr/ib, they are only ever created in /etc/or /run. presets are unrelated to links in /usr/lib - they just say whether links in /etc should be created by default or not.
There is no way to override .wanted et al links in /usr/lib. This was discussed several years ago without any practical consequences. So there is no way today packages can ship services "pre-enabled" allowing administrators to selectively disable them.
I say this is a bug in virtualbox package.
Thanks Andrei for confirmation. I somewhat expected a similar answer. In short, the only way to avoid starting vbox{drv,autostart} is uninstalling it. Larry, I'm suffering from serious time limitations at the moment, therefor I cannot submit a fix right now, but recorded https://bugzilla.opensuse.org/show_bug.cgi?id=1175973 at least. Thanks, Pete -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org