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

Image refresh for opensuse-tumbleweed #7448

Open
1 task
github-actions bot opened this issue Feb 16, 2025 · 5 comments
Open
1 task

Image refresh for opensuse-tumbleweed #7448

github-actions bot opened this issue Feb 16, 2025 · 5 comments
Assignees
Labels

Comments

@github-actions
Copy link

github-actions bot commented Feb 16, 2025

Image refresh for opensuse-tumbleweed

  • FAIL: image-refresh opensuse-tumbleweed
@github-actions github-actions bot added the bot label Feb 16, 2025
@cockpituous cockpituous changed the title Image refresh for opensuse-tumbleweed WIP: adc0548a757d: [no-test] Image refresh for opensuse-tumbleweed Feb 16, 2025
@cockpituous cockpituous changed the title WIP: adc0548a757d: [no-test] Image refresh for opensuse-tumbleweed Image refresh for opensuse-tumbleweed Feb 16, 2025
@martinpitt
Copy link
Member

@Nykseli @SludgeGirl: Apparently the SSH key setup with cloud-init got broken? 😢

@Nykseli
Copy link
Contributor

Nykseli commented Feb 17, 2025

Tumbleweed switched from AppArmor to selinux as the default MAC and it seems to not be happy about login in via ssh as root. Login as admin works and with setenforcing 0 root login works too.

So cloud-init seems to working fine. We just need to figure out what's going on with the selinux and tumbleweed 😅

@SludgeGirl
Copy link

Hey @martinpitt, Sorry for the wait we had a deadline recently so it's been a mad dash haha. I've had an extra five seconds today so I've had a proper look into this and I've got a bug reported here: https://bugzilla.suse.com/show_bug.cgi?id=1237764

In short because we're passing ssh_pwauth: True this is creating a new /etc/ssh/sshd_config with just the content:

PasswordAuthentication yes

This is overwriting some system defaults, including UsePAM yes and it seems without that option (and with selinux enabled as @Nykseli says), it breaks root login which is fun. I'll keep an eye on the bug report and let you know when we can get the image updated. Once again sorry for the wait!

@martinpitt
Copy link
Member

Thanks @SludgeGirl ! That's a really bad cloud-init bug indeed -- it ought to create sshd_config.d/01-cloud-init.conf, not completely stomp over the default config.

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

No branches or pull requests

4 participants