Bug 8374 - passwdaliases breaks on SLES 15 after package installation + reboot
Summary: passwdaliases breaks on SLES 15 after package installation + reboot
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Smart card (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-03 17:10 CEST by Linn
Modified: 2024-07-22 14:08 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Linn cendio 2024-07-03 17:10:01 CEST
Found when testing bug 8335. Tested with jenkins build 3646.

passwdaliases stop working on SLES 15 after installing a desktop environment (at least for patterns 'gnome' and 'gnome_x11') when rebooting the machine after the installation. This issue also is present in 4.16.0, so it is not a regression.

When installing ThinLinc on a fresh SLES 15 and rebooting the machine a couple of times, passwdaliases works fine. I don't know why this issue happens, but it seems like one of the packages installed with the desktop breaks passwdaliases for some reason. 


To install a desktop environment, you can run the command below. Remember to reboot after installation to trigger the issue.
> zypper install --type pattern gnome
passwdaliases was tested through 'getent', which was set up in this way:

1. In /etc/nsswitch.conf, add 'passwdaliases' to the following in line:
> passwd: compat passwdaliases
2. In /etc/passwdaliases, add <username alias>:<uid> on a new row:
> cendio2:1000
3. Run 'getent' and confirm that the new username maps to the correct user:
> $ getent passwd cendio2
> cendio:x:1000:100:Cendio:/home/cendio:/bin/bash

Note You need to log in before you can comment on or make changes to this bug.