Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora COSMIC Atomic upstream work #80

Open
travier opened this issue Oct 9, 2024 · 6 comments
Open

Fedora COSMIC Atomic upstream work #80

travier opened this issue Oct 9, 2024 · 6 comments

Comments

@travier
Copy link

travier commented Oct 9, 2024

FYI, I've started to effort to make an upstream Fedora COSMIC Atomic variant.

See: https://discussion.fedoraproject.org/t/initial-fedora-cosmic-atomic-image-ready-for-testing/133163

@travier
Copy link
Author

travier commented Oct 9, 2024

Looks like users are hitting #48.

@ryanabx
Copy link
Member

ryanabx commented Oct 9, 2024

@travier
Copy link
Author

travier commented Oct 9, 2024

Yeah, this is weird, there is something fishy going on here. The users should be part of the image or be created on first boot as needed. Not sure why that does not happen.

Hum, is COSMIC using glibc for user/group resolution? Could it be that it's not using the nss-altfiles module?

@m2Giles
Copy link
Member

m2Giles commented Oct 9, 2024

I believe the issue is that /etc/passwd is a locally edited file so sysusers unless added in /usr/lib/passwd don't get merged in.

And if they are in /usr/lib/passed they definitely don't have a password set in /etc/shadow.

When rebasing between kde/gnome I usually have to add either sddm or gdm user to /etc/shadow or the user service fails.

@travier
Copy link
Author

travier commented Oct 9, 2024

Ah indeed, it's probably because systemd sysusers stopped (maybe it never did?) adding matching shadow entries for existing users.

This is not great. Maybe we should file a systemd bug if we can clearly reproduce it.

@m2Giles
Copy link
Member

m2Giles commented Oct 15, 2024

Yeah this bug appears anytime we switch between DEs.

Sddm and gdm seem to fail more gracefully than cosmic-greeter/greetd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants