• Bug#1108216: kdump-tools.service creates ordering cycle in systemd

    From Rongrong@21:1/5 to [email protected] on Fri Jul 25 08:40:02 2025
    Hi all,

    On Mon, 23 Jun 2025 17:03:57 +0300 Andrey Skvortsov <[email protected]> wrote:
    Package: kdump-tools
    Version: 1:1.10.7
    Severity: normal

    Dear Maintainer,


    systemd complains about ordering cycle and deletes kdump-
    tools.service
    from the boot process.
    ```
    systemd[1]: basic.target: Found ordering cycle on kdump-
    tools.service/start
    new-nest systemd[1]: basic.target: Job kdump-tools.service/start
    deleted to break ordering cycle starting with basic.target/start
    ```

    I also encountered this issue. There are some conflicts between kdump-
    tools and dkms, resulting in the cycled start sequence below:

    basic.target -> dkms.service -> network-pre.target ->
    networking.service -> kdump-tools.service -> basic.target

    systemd[1]: basic.target: Found ordering cycle on kdump-tools.service/sqtart
    systemd[1]: basic.target: Found dependency on networking.service/start
    systemd[1]: basic.target: Found dependency on network-pre.target/start
    systemd[1]: basic.target: Found dependency on dkms.service/start
    systemd[1]: basic.target: Found dependency on basic.target/start
    systemd[1]: basic.target: Job kdump-tools.service/start deleted to break ordering cycle starting with basic.target/start

    ```
    systemctl status kdump-tools
    ○ kdump-tools.service - Kernel crash dump capture service
          Loaded: loaded (/usr/lib/systemd/system/kdump-tools.service; enabled; preset: enabled)
          Active: inactive (dead)
    ```


    -- System Information:
    Debian Release: 13.0
       APT prefers testing
       APT policy: (500, 'testing')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.12.32-amd64 (SMP w/24 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
    LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages kdump-tools depends on:
    ii  bsdextrautils              2.41-5
    ii  bsdmainutils               12.1.8
    ii  busybox-static [busybox]   1:1.37.0-6
    ii  debconf [debconf-2.0]      1.5.91
    ii  file                       1:5.46-5
    ii  init-system-helpers        1.68
    ii  kexec-tools                1:2.0.29-2+b2
    ii  linux-base                 4.12
    ii  lsb-base                   11.6
    ii  sysvinit-utils [lsb-base]  3.14-4
    ii  ucf                        3.0052

    Versions of packages kdump-tools recommends:
    ii  initramfs-tools-core  0.148.2
    pn  makedumpfile          <none>

    kdump-tools suggests no packages.

    -- Configuration Files:
    /etc/default/kdump-tools changed:
    USE_KDUMP=1
    KDUMP_KERNEL=/var/lib/kdump/vmlinuz
    KDUMP_INITRD=/var/lib/kdump/initrd.img
    KDUMP_COREDIR="/var/crash"

    Thanks,
    Rong

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)