You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After executing os_hardening role on Debian servers user@UID.service fails after server reboot. In my case my user has UID 1000, so user@1000.service fails.
-- Boot af0d58da83704a77894a9f5655c15372 --
Dec 28 17:11:48 upc-pl-pg-01 systemd[1]: Starting User Manager for UID 1000...
Dec 28 17:11:48 upc-pl-pg-01 systemd[659]: pam_unix(systemd-user:session): session opened for user graudeejs(uid=1000) by (uid=0)
Dec 28 17:11:48 upc-pl-pg-01 systemd[659]: Failed to determine supported controllers: No such process
Dec 28 17:11:48 upc-pl-pg-01 systemd[659]: Failed to allocate manager object: No such process
Dec 28 17:11:48 upc-pl-pg-01 systemd[1]: user@1000.service: Main process exited, code=exited, status=1/FAILURE
Dec 28 17:11:48 upc-pl-pg-01 systemd[1]: user@1000.service: Failed with result 'exit-code'.
Dec 28 17:11:48 upc-pl-pg-01 systemd[1]: Failed to start User Manager for UID 1000.
Reproduction steps
1. Create new Debian server (Debian 10 or 11).
2. Deploy os_hardening role
3. reboot server
4. SSH into server and run `systemctl list-units --failed` to see, which services failed
Current Behavior
user@UID.service service fails after server reboot post os_hardening
Expected Behavior
user@UID.service service keeps working after server reboot post os_hardening
The issue is not specific to Ansible version.
The issue has been around for a long time (first noticed in 7.14.1, but possibly was present before that).
The text was updated successfully, but these errors were encountered:
Description
After executing os_hardening role on Debian servers user@UID.service fails after server reboot. In my case my user has UID 1000, so
user@1000.service
fails.Reproduction steps
1. Create new Debian server (Debian 10 or 11). 2. Deploy os_hardening role 3. reboot server 4. SSH into server and run `systemctl list-units --failed` to see, which services failed
Current Behavior
user@UID.service service fails after server reboot post os_hardening
Expected Behavior
user@UID.service service keeps working after server reboot post os_hardening
OS / Environment
Debian 10, Debian 11
Ansible Version
Collection Version
Additional information
The issue is not specific to Ansible version.
The issue has been around for a long time (first noticed in 7.14.1, but possibly was present before that).
The text was updated successfully, but these errors were encountered: