Bug 2086302

Summary: guestfs-tools causes delay on shutdown/reboot on Fedora Silverblue with cockpit installed
Product: [Fedora] Fedora Reporter: Andrey Brusnik <dev>
Component: superminAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: dev, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: supermin-5.3.2-2.fc37 supermin-5.3.2-2.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-15 17:28:16 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 Andrey Brusnik 2022-05-15 13:13:40 UTC
guestfs-tools brings dnf as dependency on Fedora Silverblue and causes delay on shutdown/reboot when cockpit installed.

I can reproduce it on Fedora Silverblue 36 with all updates installed.

Related bug reports:
https://bugzilla.redhat.com/show_bug.cgi?id=2008154
https://github.com/fedora-silverblue/issue-tracker/issues/203

Comment 1 Richard W.M. Jones 2022-05-15 14:30:26 UTC
Can you point to the exact dependency chain?  I cannot see any way that
guestfs-tools depends on dnf.

Comment 2 Andrey Brusnik 2022-05-15 15:52:01 UTC
How can I get dependency tree/chain on Fedora Silverblue?

$ rpm-ostree install guestfs-tools
some lines omitted ...
Freed: 208.4 MB (pkgcache branches: 0)
Added:
  PackageKit-1.2.5-1.fc36.x86_64
  cockpit-packagekit-269-1.fc36.noarch
  dnf-4.12.0-1.fc36.noarch
  dnf-plugins-core-4.2.0-1.fc36.noarch
  guestfs-tools-1.48.0-1.fc36.x86_64
  hexedit-1.5-3.fc36.x86_64
  hivex-libs-1.3.21-6.fc36.x86_64
  libconfig-1.7.3-3.fc36.x86_64
  libguestfs-1:1.48.1-1.fc36.x86_64
  libguestfs-appliance-1:1.48.1-1.fc36.x86_64
  libguestfs-xfs-1:1.48.1-1.fc36.x86_64
  lsscsi-0.32-5.fc36.x86_64
  mtools-4.0.39-1.fc36.x86_64
  python3-dnf-plugins-core-4.2.0-1.fc36.noarch
  python3-tracer-0.7.8-2.fc36.noarch
  scrub-2.6.1-4.fc36.x86_64
  squashfs-tools-4.5.1-1.fc36.x86_64
  supermin-5.3.2-1.fc36.x86_64
  syslinux-6.04-0.22.fc36.x86_64
  syslinux-extlinux-6.04-0.22.fc36.x86_64
  syslinux-extlinux-nonlinux-6.04-0.22.fc36.noarch
  syslinux-nonlinux-6.04-0.22.fc36.noarch
  tracer-common-0.7.8-2.fc36.noarch
  zerofree-1.1.1-9.fc36.x86_64

Comment 3 Andrey Brusnik 2022-05-15 15:54:04 UTC
Looks like libguestfs requires dnf

$ rpm -q --whatrequires dnf
supermin-5.3.2-1.fc36.x86_64
$ rpm -q --whatrequires supermin
libguestfs-appliance-1.48.1-1.fc36.x86_64
$ rpm -q --whatrequires libguestfs-appliance
libguestfs-1.48.1-1.fc36.x86_64

Comment 4 Richard W.M. Jones 2022-05-15 17:19:42 UTC
I see.  I've made some changes to supermin packaging so that dnf isn't
required.  That dependency moves to the supermin-devel subpackage instead:

https://src.fedoraproject.org/rpms/supermin/c/aab96d51f3c3fe41200f87a215d4758b7d782894?branch=rawhide
https://koji.fedoraproject.org/koji/taskinfo?taskID=87094033

Comment 5 Fedora Update System 2022-05-15 17:25:27 UTC
FEDORA-2022-6e4a82d638 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6e4a82d638

Comment 6 Fedora Update System 2022-05-15 17:28:16 UTC
FEDORA-2022-6e4a82d638 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2022-05-15 17:29:51 UTC
FEDORA-2022-f6f950af4d has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f6f950af4d

Comment 8 Fedora Update System 2022-05-16 03:12:44 UTC
FEDORA-2022-f6f950af4d 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 --advisory=FEDORA-2022-f6f950af4d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f6f950af4d

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

Comment 9 Fedora Update System 2022-05-18 01:09:08 UTC
FEDORA-2022-f6f950af4d has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.