[systemd-devel] tmpfiles chicken-egg problem

Reindl Harald h.reindl at thelounge.net
Wed Aug 26 09:25:37 UTC 2020



Am 26.08.20 um 08:37 schrieb Ulrich Windl:
> I see this problem in SLES12 (systemd-228-157.12.5.x86_64): On boot systemd tries to use LDAP to resolve user names, resulting in an error like this:
> systemd-tmpfiles: nss-ldap: do_open: do_start_tls failed:stat=-1
> 
> Eventually:
> systemd-tmpfiles: nss_ldap: could not search LDAP server - Server is unavailable
> 
> And:
> systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE
> 
> 
> Aboput 15 minutes later I see this message:
> systemd[1]: Started Cleanup of Temporary Directories.
> 
> So Cleanup succeeds while setup failed?

you confuse /tmp and /var/tmp with "systemd-tmpfiles-setup.service -
Create Volatile Files and Directories"


More information about the systemd-devel mailing list