Bug 2105415 - [RFE] bind use systemd-sysusers
Summary: [RFE] bind use systemd-sysusers
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Petr Menšík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2095372
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-08 18:18 UTC by Petr Menšík
Modified: 2025-02-07 21:58 UTC (History)
11 users (show)

Fixed In Version:
Clone Of: 2095372
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources bind pull-request 32 0 None None None 2025-01-17 13:59:17 UTC

Description Petr Menšík 2022-07-08 18:18:20 UTC
+++ This bug was initially created as a clone of Bug #2095372 +++

Description of problem:
bind is using static useradd scripts

Version-Release number of selected component (if applicable):
bind-9.16.23-3.el9.src.rpm

How reproducible:100%


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

Actual results:
%pre
if [ "$1" -eq 1 ]; then
  /usr/sbin/groupadd -g %{bind_gid} -f -r named >/dev/null 2>&1 || :;
  /usr/sbin/useradd  -u %{bind_uid} -r -N -M -g named -s /sbin/nologin -d /var/named -c Named named >/dev/null 2>&1 || :;
fi;
:;

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

--- Additional comment from Petr Menšík on 2022-06-10 17:28:08 CEST ---

Is there any use case, which would be solved by this change?

--- Additional comment from Pat Riehecky on 2022-06-10 17:34:12 CEST ---

Mostly it was just me noticing things out of sync with the current fedora guidelines.  If you want to fix it up there and wait for RHEL10 I'm fine with that.

Comment 1 Petr Menšík 2025-01-17 13:59:17 UTC
Okay, since I got request changing this: https://src.fedoraproject.org/rpms/bind/pull-request/32

This has increased priority now. I think it is time to switch it finally with upcoming change.

https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers

Comment 2 Fedora Update System 2025-02-07 19:52:56 UTC
FEDORA-2025-4133095c61 (bind-9.18.33-1.fc43 and bind-dyndb-ldap-11.11-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4133095c61

Comment 3 Fedora Update System 2025-02-07 20:24:36 UTC
FEDORA-2025-8033aca0a2 (bind-9.18.33-1.fc42 and bind-dyndb-ldap-11.11-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8033aca0a2

Comment 4 Fedora Update System 2025-02-07 20:52:38 UTC
FEDORA-2025-4133095c61 (bind-9.18.33-1.fc43 and bind-dyndb-ldap-11.11-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2025-02-07 21:58:38 UTC
FEDORA-2025-8033aca0a2 (bind-9.18.33-1.fc42 and bind-dyndb-ldap-11.11-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.