Bug 2095427

Summary: [RFE] kubernetes use systemd-sysusers
Product: [Fedora] Fedora Reporter: Pat Riehecky <riehecky>
Component: kubernetesAssignee: Anthony Rabbito <hello>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: bradley.g.smith, eparis, go-sig, hello, jbrooks, jcajka, jchaloup, stclairt, strigazi, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubernetes-1.24.1-7.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-03 01:27:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pat Riehecky 2022-06-09 17:30:54 UTC
Description of problem:
kubernetes is using static useradd scripts

Version-Release number of selected component (if applicable):
 	kubernetes-1.24.0-1.fc36

How reproducible:
100%

Steps to Reproduce:
1.review %pre
2.
3.

Actual results:
%pre master
getent group kube >/dev/null || groupadd -r kube
getent passwd kube >/dev/null || useradd -r -g kube -d / -s /sbin/nologin \
        -c "Kubernetes user" kube

Expected results:
use of system-sysusers 

Additional info:
https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

Comment 1 Fedora Update System 2022-07-25 21:00:57 UTC
FEDORA-2022-ee81809570 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ee81809570

Comment 2 Fedora Update System 2022-07-26 15:54:35 UTC
FEDORA-2022-ee81809570 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ee81809570`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ee81809570

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2022-08-03 01:27:04 UTC
FEDORA-2022-ee81809570 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.