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

This is no altfiles in nsswitch.conf after using rpm-ostree override replace glibc to update glibc #4997

Open
fengz63 opened this issue Jun 17, 2024 · 0 comments

Comments

@fengz63
Copy link

fengz63 commented Jun 17, 2024

Describe the bug

I have a question about nsswitch.conf. When an os doesn't have authselect and authselect-libs packages, the nsswitch.conf comes from glibc. When I create the os with coreos-assembler, the nsswitch.conf has altfiles option, eg.

image

However, after I using rpm-ostree override replace glibc --from repo='xxx' && rpm-ostree ex apply-live --allow-replacement command to update glibc. Then there is a problem when running systemd-tmpfiles:

image

And, from the new deployments, I found that nsswitch.conf donesn't have altfiles option. So I want to know is it reasonable?

image

Reproduction steps

  1. Creating an os without authselect and authselect-libs
  2. using the following command to update glibc:
    rpm-ostree override replace glibc --from repo='xxx' rpm-ostree ex apply-live --allow-replacement

Expected behavior

After updating glibc, the nsswitch.conf should have altfiles option.

Actual behavior

The nsswitch.conf donesn't have altfiles option.

System details

# rpm-ostree --version
rpm-ostree:
 Version: '2022.10'
 Git: 2db7d62389625331a139607f05f2928cef7d2c3b
 Features:
  - rust
  - compose
  - container
  - rhsm

Additional information

No response

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

1 participant