Debian Bug report logs -
#741399
dkms: consider avoiding unnecessary rpm commands
Reported by: Mike Miller <mtmiller@debian.org>
Date: Wed, 12 Mar 2014 03:54:01 UTC
Severity: normal
Found in version dkms/2.2.0.3-1.2
Fixed in version dkms/3.0.11-1
Done: Andreas Beckmann <anbe@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#741399; Package dkms.
(Wed, 12 Mar 2014 03:54:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Mike Miller <mtmiller@debian.org>:
New Bug report received and forwarded. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Wed, 12 Mar 2014 03:54:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dkms
Version: 2.2.0.3-1.2
Severity: normal
Tags: patch
Dear Maintainer,
Please consider patching dkms when built for Debian to avoid unnecessary rpm
commands. We know that Debian systems do not use the rpm database so there is
no need to query it. The lsb-core package pulls in rpm.
The primary reason to patch these commands out is because when rpm is
installed, an rpm database query will be run unavoidably. With the default
configuration of the rpm package for Debian, this will create an empty rpm
database in either /root/.rpmdb (if HOME=/root) or in the system root directory
/.rpmdb (if HOME is not set, e.g. running under PackageKit).
Avoiding rpmdb queries in dkms will avoid inadvertent creation of these stray
directories.
A patch to dkms [1] was posted to Ubuntu bug #1069350 [2] that is reported
there to fix this behavior.
[1] https://launchpadlibrarian.net/167218071/disable-rpm.patch
[2] https://launchpad.net/bugs/1069350
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dkms depends on:
ii build-essential 11.6
ii coreutils 8.21-1
ii dpkg-dev 1.17.6
ii gcc 4:4.8.2-2
ii make 3.81-8.3
ii module-init-tools 16-2
ii patch 2.7.1-4
Versions of packages dkms recommends:
ii fakeroot 1.18.4-2
ii linux-headers-amd64 3.12+55
pn linux-image <none>
ii menu 2.1.46
ii sudo 1.8.9p5-1
dkms suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#741399; Package dkms.
(Wed, 27 Apr 2016 05:51:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Wed, 27 Apr 2016 05:51:03 GMT) (full text, mbox, link).
Message #10 received at 741399@bugs.debian.org (full text, mbox, reply):
[Mike Miller]
> A patch to dkms [1] was posted to Ubuntu bug #1069350 [2] that is reported
> there to fix this behavior.
While I agree that we should avoid calling rpm, I believe we would be better
of by doing it in a way that could get accepted upstream. Any idea how to
modify the patch to work also on rpm based systems?
Perhaps look for /etc/debian_version and only use rpm if it is missing?
Other ideas?
--
Happy hacking
Petter Reinholdtsen
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#741399; Package dkms.
(Tue, 25 Oct 2016 19:36:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Aron Xu <aron@debian.org>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Tue, 25 Oct 2016 19:36:02 GMT) (full text, mbox, link).
Message #15 received at 741399@bugs.debian.org (full text, mbox, reply):
Control: tags -1 - patch
I'm untagging this bug because the proposed patch at Launchpad bug
tracker isn't acceptable. I'd like to avoid unnecessary calls of rpm
command, while supposed to be done a portable way which can be merged
upstream.
Best,
Aron
Removed tag(s) patch.
Request was from Aron Xu <aron@debian.org>
to 741399-submit@bugs.debian.org.
(Tue, 25 Oct 2016 19:36:03 GMT) (full text, mbox, link).
Reply sent
to Andreas Beckmann <anbe@debian.org>:
You have taken responsibility.
(Thu, 27 Apr 2023 16:39:08 GMT) (full text, mbox, link).
Notification sent
to Mike Miller <mtmiller@debian.org>:
Bug acknowledged by developer.
(Thu, 27 Apr 2023 16:39:08 GMT) (full text, mbox, link).
Message #22 received at 741399-close@bugs.debian.org (full text, mbox, reply):
Source: dkms
Source-Version: 3.0.11-1
Done: Andreas Beckmann <anbe@debian.org>
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 741399@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 27 Apr 2023 18:12:51 +0200
Source: dkms
Architecture: source
Version: 3.0.11-1
Distribution: experimental
Urgency: medium
Maintainer: Dynamic Kernel Module System Team <dkms@packages.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 741399 911665 1031561
Changes:
dkms (3.0.11-1) experimental; urgency=medium
.
* New upstream release.
- Adds BUILD_EXCLUSIVE_{CONFIG,_KERNEL_{MIN,MAX}}. (Closes: #911665)
- Fixes BUILD_EXCLUSIVE matches propagating as error. (Closes: #1031561)
* Drop patches that were applied upstream.
* Avoid unnecessary rpm comands on Debian based systems. (Closes: #741399)
Checksums-Sha1:
7e525667ee869c774d3bdff4bce388346f1f8ad1 2271 dkms_3.0.11-1.dsc
e3abd2af84bfe53bcda15d6ba6b4a43e6c526999 93521 dkms_3.0.11.orig.tar.gz
490aa37638bc073800e57277e1f0bdc485468fe5 22800 dkms_3.0.11-1.debian.tar.xz
5d67cd21cb606716f263dc3e32278f80aab6c787 5518 dkms_3.0.11-1_source.buildinfo
Checksums-Sha256:
0212d10e9010a218c752c06980110f02f42edd5dc118cc9b9c7654da6d1d8030 2271 dkms_3.0.11-1.dsc
c5582aa7ab1815d23c63adc09fdf96f04842381a76471d205f3b183e90b3d4d1 93521 dkms_3.0.11.orig.tar.gz
6b170237349ba2ea8b3ad91e55d2d50526dd0505b15396ecd6be7ee71c7d194f 22800 dkms_3.0.11-1.debian.tar.xz
21c03312f5728f25024040afbab8a74fe6edf2b5f3fde36af92e1b2201333b9a 5518 dkms_3.0.11-1_source.buildinfo
Files:
2c7a38b87a1032fb8e84fa24ee2115ea 2271 kernel optional dkms_3.0.11-1.dsc
14586490dbe1421f34991d3f8d092b27 93521 kernel optional dkms_3.0.11.orig.tar.gz
9aaf44f1bcab8afda0a6728a3d87efd3 22800 kernel optional dkms_3.0.11-1.debian.tar.xz
b856171977378ba9f1ba86ba28764962 5518 kernel optional dkms_3.0.11-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmRKn24QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCL0/D/46P+UnrbOyWdayry5kMEsnM6wsUrioRjNP
FC1q/UY1D0WTBo85KjieJ7C0ghIJ0rVNsj3R7TyWiLXOMY+dMnKlh+Or1gYqkF+6
TS4GLSJXVoszwLZq5Y5f0yVY3oMQTfwfYfGENci1HhZmfy4c52abAbniXxORc8TT
8q6u0wVm9XhyQqkgcEyqBjbMNaGMq3Tx2HzcS1x0Xs0zUC9QQB4nVl3hW7PDujG8
uu0hXFMDcOBn0oP5Z+o5ny7C4gnj4WQSqReyTdNYI2+Bp0hI3xw1S+mWACkkiA9B
zYGccljeHYwCP1shsYsANUyVc9+DzWHojQQdVEsh2eq4Ia08yrXGcScfDxQRdNrg
ASgMIbEzEleudBmhOt1DhcD/0IK17bafljgP/wliCL5KhUZ0HruL2Iy6ip3F5KFX
DRrLlDbvDzh6t1skROFsvnX9BVmOHf2gWdU99MXKW+0mhi2tCfd46HG+RFEH5Yz9
RqgsQIPMU/ZCMNscshfF/LifcfLquzfwEthmI6C1m5faiF72d7bmb1oYS55gD9BU
ufnvMKMKHuq6rMeBui57CqXtlr1ZsqOFfmtf3p4dg1g4Xctlmi55CfhFb9SSRs5m
iJR1gPJgefEsEfZ3S5VBl6k+l1DEijZ4EElOC+FVZ+Sav2R6KoewuXstEqF2zqJ4
voz2BpjV/g==
=YDIZ
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 20 Jun 2023 07:26:15 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 06:28:42 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.