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

error when fedora-packager is layered: While applying overrides for pkg mock-core-configs: Could not find group 'mock' in group file #593

Open
Zlopez opened this issue Sep 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Zlopez
Copy link

Zlopez commented Sep 4, 2024

Describe the bug
After layering fedora-packager package every rpm-ostree upgrade fails with error: While applying overrides for pkg mock-core-configs: Could not find group 'mock' in group file

To Reproduce
Please describe the steps needed to reproduce the bug:

  1. rpm-ostree install fedora-packager
  2. rpm-ostree upgrade

Expected behavior
Update is applied

OS version:

State: idle
BootedDeployment:
● fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240403.n.0 (2024-04-03T08:15:05Z)
               BaseCommit: 708458ed3af814de6ec901e9e04872bb83c9ed8dbedcab42fd0943badce68809
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
          LayeredPackages: ansible distrobox emacs fedora-packager fish flatpak-builder gnome-shell-extension-appindicator inotify-tools libvirt-client nextcloud-client
                           podman-compose podman-docker powerline powerline-fonts tmux tmux-powerline vagrant vagrant-hostmanager vagrant-sshfs vim vim-enhanced
                           vim-powerline
            LocalPackages: redhat-internal-cert-install-0.1-29.el7.noarch redhat-internal-NetworkManager-openvpn-profiles-0.1-59.el7.noarch

Additional context
I noticed that yesterday after few months as you can see from the version (I noticed that after Gnome Software notified me about vulnerability update). To update I needed to do:

  1. rpm-ostree uninstall fedora-packager
  2. rpm-ostree upgrade

And this is my current deployment when reporting the bug:

State: idle
Deployments:
  fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240904.0 (2024-09-04T02:12:02Z)
               BaseCommit: d516f5b47a48e18e2317f9f038656363384b0b880bf9d48cd9686991bb3a8a2d
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
            SecAdvisories: 2 unknown severity, 10 low, 18 moderate, 6 important, 1 critical
                     Diff: 857 upgraded, 125 removed, 23 added
          LayeredPackages: ansible distrobox emacs fish flatpak-builder gnome-shell-extension-appindicator inotify-tools libvirt-client nextcloud-client podman-compose
                           podman-docker powerline powerline-fonts tmux tmux-powerline vagrant vagrant-hostmanager vagrant-sshfs vim vim-enhanced vim-powerline
            LocalPackages: redhat-internal-cert-install-0.1-29.el7.noarch redhat-internal-NetworkManager-openvpn-profiles-0.1-59.el7.noarch
@Zlopez Zlopez added the bug Something isn't working label Sep 4, 2024
@Zlopez
Copy link
Author

Zlopez commented Sep 4, 2024

Found out after the rpm-ostree upgrade I'm no longer able to layer fedora-packager back it fails with the same error.

EDIT: I was able to workaround the issue by installing fedora-packager in distrobox f40 container.

@travier
Copy link
Member

travier commented Sep 4, 2024

That looks a lot like #50.

The mock package should be converted to use systemd-sysusers: https://src.fedoraproject.org/rpms/mock/blob/rawhide/f/mock.spec#_221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants