Closed jmarrero closed 4 months ago
Was just looking over https://src.fedoraproject.org/rpms/authselect/c/f411c0ecd9eef866fbe13e710867a3fcebaaf87d?branch=rawhide and https://src.fedoraproject.org/rpms/authselect/pull-request/22 caught my eye. Would you be able to test that @jmarrero?
@jlebon yes sir, Ill give it a try.
Got the rpm from: https://koji.fedoraproject.org/koji/taskinfo?taskID=114148249
Added them to the overrides folder and did cosa build
once we I got a build, confirmed I have the correct rpm by
cosa run
and
core@cosa-devsh:~$ rpm -qa authselect
authselect-1.5.0-5.fc41.x86_64
Confirmed nsswitch.conf
looks good:
core@cosa-devsh:~$ cat /etc/nsswitch.conf
# Generated by authselect
# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.
# You can stop authselect from managing your configuration by calling 'authselect opt-out'.
# See authselect(8) for more details.
# In order of likelihood of use to accelerate lookup.
passwd: files altfiles systemd
shadow: files
group: files [SUCCESS=merge] altfiles [SUCCESS=merge] systemd
hosts: files resolve [!UNAVAIL=return] myhostname dns
services: files
netgroup: files
automount: files
aliases: files
ethers: files
gshadow: files
networks: files dns
protocols: files
publickey: files
rpc: files
Got out of the VM and ran the failing Kola test:
kola run ext.config.files.fcos_users
⏭️ Skipping kola test pattern "fcos.internet":
? https://github.com/coreos/coreos-assembler/pull/1478
⏭️ Skipping kola test pattern "podman.workflow":
? https://github.com/coreos/coreos-assembler/pull/1478
? Snoozing kola test pattern "ext.config.var-mount.scsi-id" until Feb 29 2024
? https://github.com/coreos/fedora-coreos-tracker/issues/1670
=== RUN ext.config.files.fcos_users
--- PASS: ext.config.files.fcos_users (26.55s)
PASS, output in tmp/kola/qemu-2024-02-27-1623-134752
I think your patch is good to go.
xref the BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2266344
I think we can unpin this now since https://bodhi.fedoraproject.org/updates/FEDORA-2024-bb02da5f27 is in rawhide.
Describe the bug
With the recent update of authselect-1.5.0-4 on both f40 and f41 the ext.config.files.fcos_users test fails.
Reproduction steps
kola run ext.config.files.fcos_users
Expected behavior
kola run ext.config.files.fcos_users should pass.
Actual behavior
System details
QEMU Fedora CoreOS 40.20240227.dev.3
also seen in the pipeline: https://jenkins-fedora-coreos-pipeline.apps.ocp.fedoraproject.org/job/build/2312/
Butane or Ignition config
No response
Additional information
The issue also is seen by looking at
/etc/nsswitch.conf
of a system built with authselect-1.5.0-4(bad) vs authselect-1.5.0-3(good)In the good case we should see a passwd entry like:
However we see: