On 5/25/19 5:48 AM, Hans-Peter Jansen wrote:
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 exist, and I don't want to add all systemd deps specifically...
Since systemd isn't the nicest player, when it comes to run services last,
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?
Thanks in advance, Pete
¹) during 13.2..15.0 upgrade, I tried migrating to ds389, but failed so far, even openLDAP wasn't that easy to reanimate...
Pete, The documents say that if you use "After=", then systemd will apply the reverse order when shutting down. Check out /usr/lib/systemd/system/accounts-daemon.service. That may be all you need. I do not have any LDAP servers running, thus I am not sure what its service is called, but it might be nslcd.service. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org