Your message dated Tue, 16 Sep 2025 23:04:22 +0000
with message-id <[email protected]>
and subject line Bug#1107232: fixed in dkms 3.2.2-1
has caused the Debian Bug report #1107232,
regarding dkms: Dependency cycle between cloud-init-network and new dkms service
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1107232: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107232
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dkms
Version: 3.2.0-1
Severity: important
X-Debbugs-Cc: [email protected] [email protected]
Dear Maintainer,
* What led up to the situation?
After using a fresh Debian image with cloud-init[1] and installing dkms on it,
I rebooted the system.
After that, I looked through journal and noticed that dependency cycles
got introduced:
$ journalctl -o cat -b 0
[...]
sysinit.target: Found ordering cycle on cloud-init-network.service/start
sysinit.target: Found dependency on systemd-networkd-wait-online.service/start
sysinit.target: Found dependency on systemd-networkd.service/start
sysinit.target: Found dependency on network-pre.target/start
sysinit.target: Found dependency on dkms.service/start
sysinit.target: Found dependency on sysinit.target/start
sysinit.target: Job cloud-init-network.service/start deleted to break ordering
cycle starting with sysinit.target/start
[...]
One thing of note for reproduction here is that the cloud-init datasource needs
to still be available after reboot so that the service actually runs. I'm only
mentioning this because I initially wanted to reproduce this with virt-install
but that detaches the data source after reboot.
Manually generating ISO disk and attaching it as described here should work
for reproducing:
https://cloudinit.readthedocs.io/en/latest/howto/launch_qemu.html
[1] Generic cloud variant from
https://cloud.debian.org/images/cloud/trixie/daily/20250603-2132/
* What exactly did you do (or not do) that was effective (or
ineffective)?
I am not sure whether this is the correct action to solve this but one can add
DefaultDependencies=no to [Unit] section of
/usr/lib/systemd/system/dkms.service.
Service file in the upstream doesn't have it and the service existed for a
while,
it has only recently been introduced to Debian based distributions though[2].
[2] https://github.com/dell/dkms/commit/b39d8060ab548868517c2ae2f88ed549281616c3
* What was the outcome of this action?
Adding DefaultDependencies=no to [Unit] section of
/usr/lib/systemd/system/dkms.service does seem to solve the dependency cycle
at least.
It is not entirely clear to me whether this is the right place to solve it,
perhaps this should belong to a bug tracker of the cloud-init package instead.
* What outcome did you expect instead?
I expected installation of dkms package to not introduce service dependency
cycle in the system.
Kind regards,
Jakub Kuczys
-- System Information:
Debian Release: 13.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.27-cloud-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 dkms depends on:
ii build-essential 12.12
ii dpkg-dev 1.22.19
ii kmod 34.2-2
ii lsb-release 12.1-1
ii make 4.4.1-2
ii patch 2.8-1
Versions of packages dkms recommends:
ii fakeroot 1.37.1.1-1
ii gcc [c-compiler] 4:14.2.0-1
ii gcc-14 [c-compiler] 14.2.0-19
ii sudo 1.9.16p2-2
Versions of packages dkms suggests:
ii e2fsprogs 1.47.2-1+b1
pn menu <none>
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial
Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 |
Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z
dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach
handlowych.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i
moze zawierac informacje poufne. W razie przypadkowego otrzymania tej
wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie;
jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). If you are not the intended recipient, please
contact the sender and delete all copies; any review or distribution by others
is strictly prohibited.
--- End Message ---
--- Begin Message ---
Source: dkms
Source-Version: 3.2.2-1
Done: Andreas Beckmann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <[email protected]> (supplier of updated dkms package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 17 Sep 2025 00:42:50 +0200
Source: dkms
Architecture: source
Version: 3.2.2-1
Distribution: unstable
Urgency: medium
Maintainer: Dynamic Kernel Module System Team <[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Closes: 1107232 1114731
Changes:
dkms (3.2.2-1) unstable; urgency=medium
.
* New upstream release.
* Stop shipping dkms.service. Not really needed and causes a dependency
cycle with cloud-init-network.service. (Closes: #1107232)
* common.postinst: Emit a warning if no kernel headers were found.
(Closes: #1114731)
* Drop Pre-Depends: lsb-release, no longer used since 3.0.12.
* Add Breaks against more obsolete *-dkms packages.
Checksums-Sha1:
51aeca5264c65143a26965d572529246e5125699 2385 dkms_3.2.2-1.dsc
72f49d5ddcc970507871c62a74027aaeccea1a71 110268 dkms_3.2.2.orig.tar.gz
01c782ad3c2475f6ca26c1c6f8e49017e82f183a 25492 dkms_3.2.2-1.debian.tar.xz
d87561d32bb8d09eda1dbdc9ee791487e381ffb0 5312 dkms_3.2.2-1_source.buildinfo
Checksums-Sha256:
bce8f7ad2fafc9d148136011804632df5ed988615892fbb7d895e35a6ceda61d 2385
dkms_3.2.2-1.dsc
23e40a2b2e60047002727425e2307617d9899e51bfe22306a2c874259ed9605a 110268
dkms_3.2.2.orig.tar.gz
37044d835b83f9711b09a60283f99025de5bae7a00025c46483c53d4526fa50c 25492
dkms_3.2.2-1.debian.tar.xz
e1306f9dd7652344adb8691eac3dd287aa7e3c17a7ca28e657efe0e0c9dc9c6e 5312
dkms_3.2.2-1_source.buildinfo
Files:
0b7c5683e54e94929e509f3356faa2b1 2385 kernel optional dkms_3.2.2-1.dsc
41ce8cf99e97cfd84842ff833e7c68d8 110268 kernel optional dkms_3.2.2.orig.tar.gz
b21f56a50a63ba628e32428fb67ea417 25492 kernel optional
dkms_3.2.2-1.debian.tar.xz
b5ef82a3a7c5009a8a562330b3ca82fa 5312 kernel optional
dkms_3.2.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmjJ6OoQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCN4vD/9zxh9KKw9U+rzAq5mdcC5DoK5/qeWOE8wV
173ivuVUQdeTEBd3HXbrGhDS8LtmyKNfDNIc+9muKkLLJdWGc25sNDrIM1LOWGMI
FUq3zPqmmHKKuEzHtbpSDEhU1VgKoWDi1tNNeEq1TNVHCWOGTn8Mv2GWYAXh7T0P
5DcSZDX9fkC6CB5bgx4VgUHKmFgSNVu71xmgVJt66Yq7L79tw68eopQLCKG6Fu8U
Xk6bE1F/hqbRYYJEZ+g+4SxZk5HJ7WMVm+X9ewHGHiTeJCsTrHxr73H5AopujRwJ
BmRWX1ChwZceg7u4nuQI0SSyvbf+RxOOJe4Q/K5gM0auxN76IJei9X8iY8xFis8I
SyPucAk5cke8V7xavJTjNddNehjmmuFi2Ghe99/0LPMWC1h6aUaxfzSb/nIFFaaC
8duNwSxLxhYlBo/6UPUrVWDZRybi4us0Xmi5XJVHaqa0yK9cpzNBsMmmxKoVHWTR
zFlbqHl+rBEmeXe/PArjM8yzY7P5q6O5W6cnbrkl8zjxfyC3Mkm1mZQhsl3Mf8NH
8BXSBIkeT5i0A4cDzH0OH06noSh7pgA6tt52VnaSrzxv2MnPtQp713pSgDRIVn7P
FyFFK+Ugbur34pBleY5EFf2gyXq/kFR8rxX1qQ7hXytqhgxj8oIjBF4/g9+qDFqc
/PR1fkDCgQ==
=f9YQ
-----END PGP SIGNATURE-----
pgpkTZnjkoatc.pgp
Description: PGP signature
--- End Message ---