Systemd Returns 217/USER Error on System Boot when Using Directory Based Users


Summary:

When using the systemd unit examples in $SWD/etc/boot and service accounts that run Altair products are not local accounts in /etc/passwd (LDAP, NIS, AD, etc.), applications may not start on boot. The same systemd unit file will run successfully after the system is booted. This problem could affect more than just the Monitor product.

 

Symptoms:

Errors can be found when running jounalctl and also systemctl [service unit name]. You will see errors like:

 

Solution:

Modify the systemd unit file to require nss (name service switch) to be available before attempting to run Monitor or other applications.

Change After=network.target to After=nss-user-lookup.target in the systemd unit file (i.e. altair-monitor.service)

Reboot to ensure all services run as expected.

If you continue to have issues please contact support.