SUSE Support

Here When You Need Us

systemd-tmpfiles-setup.service failed after upgrade from SLES 11 SP4 to SLES 15

This document (000019707) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 15 SP2
​​​​​SUSE Linux Enterprise Server 15 SP1
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 11 SP4


This situation only does occur when using an additional database (LDAP as example) inside nsswitch for user/group.

During system start the systemd-tmpfiles-setup.service  and/or services that do depend on this service do fail. If a service has failed can be reviewed with command :
systemctl list-units --failed


Please execute the following command to add the missing system users/groups to the system :
/usr/bin/systemd-sysusers /usr/lib/sysusers.d/systemd.conf
Additional it is advised to update the configuration files below /usr/lib/tmpfiles.d/*.conf
Some files have references for directory /var/run (old) but should have just /run (new),
some have duplicate entries. Without the additional changes warning messages that advice to do this changes might be seen in journal, when the systemd-tmpfiles-setup service does start.


The users/groups could not be added because the post update script (/usr/bin/systemd-sysusers from systemd package) did fail because the nss database was not accessible during upgrade. This happens for example if you use LDAP in nsswitch.conf and the LDAP database however runs on the local system.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019707
  • Creation Date: 02-Jun-2021
  • Modified Date:02-Jun-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.