Bug 2364015

Summary: F43FailsToInstall: koji-builder
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: kojiAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kevin, mikem, patrick, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: koji-1.35.3-3.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-06 23:32:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2339435    

Description Fedora Fails To Install 2025-05-05 06:26:00 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (koji) Fails To Install in Fedora 43:

can't install koji-builder:
  - nothing provides group(kojibuilder) needed by koji-builder-1.35.3-1.fc43.noarch
  - nothing provides user(kojibuilder) needed by koji-builder-1.35.3-1.fc43.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-43-x86_64 --config-opts mirrored=False install koji-builder


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Fedora Fails To Install 2025-05-12 11:23:08 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 2 Kevin Fenzi 2025-05-12 14:50:02 UTC
More sysusers stuff.

Comment 3 Zbigniew Jędrzejewski-Szmek 2025-05-12 19:26:31 UTC
koji-builder has an "owned directory":
$ rpm -qplv koji-builder-1.35.3-1.fc43.noarch.rpm |rg -v 'root +root'
drwxr-xr-x    2 kojibuil kojibuil                    0 Mar 18 01:00 /etc/mock/koji
So it has an autogenerated req:
$ rpm -qpR koji-builder-1.35.3-1.fc43.noarch.rpm |rg group
group(kojibuilder)
Apparently nothing satisfies this req.

And looking at the spec file, I don't see no sysusers files nor any user creation scriptlets…
Somebody needs to add the sysusers file. Or maybe the ownership
of the directory can be dropped. Is it really necessary for the daemon
to write there?

Comment 4 Fedora Fails To Install 2025-06-03 17:09:39 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 4+ weeks.
This is the second reminder (step 4) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 5 Mike McLean 2025-06-16 17:56:22 UTC
> And looking at the spec file, I don't see no sysusers files nor any user creation scriptlets…

There is an old %pre scriptlet that calls useradd, both in the Fedora spec and upstream.

Comment 6 Mike McLean 2025-06-16 18:15:06 UTC
> Is it really necessary for the daemon to write there?

Yes. Though this is less about the daemon itself (which runs as root) as the underlying execution of of the mock utility (which kojid runs as kojibuilder by default).

Comment 7 Kevin Fenzi 2025-07-04 17:29:24 UTC
Sigh. I have been very heads down in the datacenter move the last few weeks. 
I thought I moved this to assigned. 

I have now done so and re-aquired the package.

Comment 8 Fedora Admin user for bugzilla script actions 2025-07-05 01:10:59 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 9 Zbigniew Jędrzejewski-Szmek 2025-07-05 10:40:12 UTC
Ah, there's https://src.fedoraproject.org/rpms/koji/pull-request/24 open to add a sysusers file. That should fix the issue.

Comment 10 Fedora Update System 2025-07-06 22:04:31 UTC
FEDORA-2025-97b1efb070 (koji-1.35.3-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-97b1efb070

Comment 11 Fedora Update System 2025-07-06 23:32:33 UTC
FEDORA-2025-97b1efb070 (koji-1.35.3-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.