Uploaded image for project: 'Openshift sandboxed containers'
  1. Openshift sandboxed containers
  2. KATA-4227

Missing dbus dependency in Kata packaging at least on Fedora

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • kata-containers
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Bugs and Vulnerability Issues

      Installing a basic test Fedra 42 VM from scratch with the Kata Containers 3.21 RPM and trying to activate the kata-osbuilder-generate.service fails due to a missing dependency on dbus-daemon (apparently through dracut).

      [fedora@kata-crio-test ~]$ systemctl status --list-failed
      systemctl: unrecognized option '--list-failed'
      [fedora@kata-crio-test ~]$ systemctl status --failed
      × kata-osbuilder-generate.service - Generate Kata appliance image for host kernel
           Loaded: loaded (/usr/lib/systemd/system/kata-osbuilder-generate.service; enabled; preset: enabled)
          Drop-In: /usr/lib/systemd/system/service.d
                   └─10-timeout-abort.conf, 50-keep-warm.conf
           Active: failed (Result: exit-code) since Thu 2025-10-02 14:17:27 UTC; 1min 31s ago
       Invocation: 1c16d4af7dc5496eb7a09515db3a1f43
          Process: 5705 ExecStart=/usr/libexec/kata-containers/osbuilder/kata-osbuilder.sh -c (code=exited, status=1/FAILURE)
         Main PID: 5705 (code=exited, status=1/FAILURE)
         Mem peak: 4.9M
              CPU: 699ms
      
      Oct 02 14:17:26 kata-crio-test kata-osbuilder.sh[5705]: + Building dracut initrd
      Oct 02 14:17:26 kata-crio-test dracut[5745]: Executing: /usr/bin/dracut --confdir ./dracut/dracut.conf.d --no-compress /tmp/kata-dracut-images-YHtFwI/tmp.9pLL7BUQoP 6.14.0-63.fc42.x86_64
      Oct 02 14:17:27 kata-crio-test dracut[5745]: Module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found!
      Oct 02 14:17:27 kata-crio-test kata-osbuilder.sh[5717]: dracut[E]: Module 'dbus' depends on module 'dbus-daemon', which can't be installed
      Oct 02 14:17:27 kata-crio-test dracut[5745]: Module 'dbus' depends on module 'dbus-daemon', which can't be installed
      Oct 02 14:17:27 kata-crio-test kata-osbuilder.sh[5717]: dracut[E]: Module 'dbus' cannot be installed.
      Oct 02 14:17:27 kata-crio-test dracut[5745]: Module 'dbus' cannot be installed.
      Oct 02 14:17:27 kata-crio-test systemd[1]: kata-osbuilder-generate.service: Main process exited, code=exited, status=1/FAILURE
      Oct 02 14:17:27 kata-crio-test systemd[1]: kata-osbuilder-generate.service: Failed with result 'exit-code'.
      Oct 02 14:17:27 kata-crio-test systemd[1]: Failed to start kata-osbuilder-generate.service - Generate Kata appliance image for host kernel.
      

      It's unclear why the dependency should be on Kata and not dracut directly.

              rh-ee-cdupontd Christophe de Dinechin
              rh-ee-cdupontd Christophe de Dinechin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: