weldr / lorax

Tools for creating images, including the Anaconda boot.iso, live disk images, iso's, and filesystem images.
GNU General Public License v2.0
294 stars 157 forks source link

runtime-cleanup: Do not purge pam binaries #1385

Closed jexposit closed 1 month ago

jexposit commented 7 months ago

In order to migrate from X.Org to Wayland [1], GNOME Kiosk needs to be run in a new PAM session.

After an update in systemd, the session is failing to start because the PAM binaries are not found with the following error:

Starting user@0.service - User Manager for UID 0...
pam_unix(systemd-user:account): helper binary execve failed: No such file or directory
pam_unix(systemd-user:account): helper binary execve failed: No such file or directory
PAM failed: Authentication service cannot retrieve authentication info
user@0.service: Failed to set up PAM session: Operation not permitted

Do not remove the PAM binaries in /usr/sbin to avoid this issue.

[1] https://github.com/rhinstaller/anaconda/pull/5485

bcl commented 7 months ago

Tests still failing because new python3-coveralls hasn't hit all the mirrors yet (I assume).

jexposit commented 7 months ago

Sure, for the GNOME Remote Desktop work @M4rtinK is doing, he will have to open another PR to preserve libgsm.so* and he'll need https://github.com/weldr/lorax/pull/1384 as well. I'll let you coordinate on building the new image.

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 8169754312

Details


Totals Coverage Status
Change from base Build 7964413895: 0.0%
Covered Lines: 1614
Relevant Lines: 3500

💛 - Coveralls