25.05.2019 13:48, Hans-Peter Jansen пишет:
Hi,
attempting to separate the virtualbox autostart feature from vboxdrv, because it bites me on every reboot...
I run vboxes with user privilege, but that's an LDAP user, only available after openldap¹ and sssd is up and alive. Now, a lot more user databases
Actually sssd is expected to cache user information exactly to make it available offline.
exist, and I don't want to add all systemd deps specifically...
Ordering after nss-user-lookup.target should be enough as long as services implementing user lookup correctly integrate itself before it. And if they do not, it needs to be reported as bug.
Since systemd isn't the nicest player, when it comes to run services last,
Such remarks do not facilitate constructive replies. This topic has been beaten to death and if you have something new to add do it where it belongs - on systemd list.
Type=idle
seems to be the best way to delay its execution for me.
Other ideas? The motivation for delaying the vbox autostart should be obvious, and is not limited to this specific constellation..
Needless to say, but the shutdown should happen *first* in the reboot/halt procedure. Can you point me to services with similar requirements?
Units are stopped in reverse order so as long as startup dependencies are correct they should be stopped in correct order as well. Of course, this presumes your services actually stop when told to do so (i.e. stop request is reported as completed only after service is stopped). Quite often ExecStop just initiates long running stop sequence and exits. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org