Your message dated Fri, 11 Feb 2005 01:02:03 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#294168: fixed in kernel-package 8.120
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Feb 2005 09:49:39 +0000
>From [EMAIL PROTECTED] Tue Feb 08 01:49:38 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp1.wanadoo.fr [193.252.22.30]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CyS02-0006Ar-00; Tue, 08 Feb 2005 01:49:38 -0800
Received: from me-wanadoo.net (mail.domain.com [127.0.0.1])
by mwinf0104.wanadoo.fr (SMTP Server) with ESMTP id AB3201FFFF6D;
Tue, 8 Feb 2005 10:48:56 +0100 (CET)
Received: from pegasos (AStrasbourg-251-1-57-187.w82-126.abo.wanadoo.fr
[82.126.137.187])
by mwinf0104.wanadoo.fr (SMTP Server) with ESMTP id 751701FFFF67;
Tue, 8 Feb 2005 10:48:56 +0100 (CET)
X-ME-UUID: [EMAIL PROTECTED]
Received: from luther by pegasos with local (Exim 4.43)
id 1CyRuW-0006tn-21; Tue, 08 Feb 2005 10:43:56 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Sven Luther <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: kernel-package: Use versioned /etc/kernel/*.d directories to allow per
kernel script launching.
X-Mailer: reportbug 3.5
Date: Tue, 08 Feb 2005 10:43:55 +0100
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: kernel-package
Version: 8.119
Severity: important
The current /etc/kernel/*.d mechanism has several features which make it less
than usable :
1) it will run all scripts in /etc/kernel/*.d, thus not allowing the
existence of a per kernel-image version script.
2) furthermore run-partes doesn't allow files of the form foo-2.6.8 (no .
allowed in the script name), can be worked around by changing . to _ though.
3) current scripts only seem to pass the version, and is thus not compatible
with the postinst_hook format.
To solve this, i suggest that kernel-package provided postinsts, in addition
to run-parting the /etc/kernel/*.d directory, also run-parts the
/etc/kernel/*.d/$version directory, for per-kernel provided postinst scripts,
and a second arg be added to --args to conform to the postinst_hook invocation
format.
I would change this code snipplet :
if (-d "/etc/kernel/postinst.d") {
system ("run-parts", "-v", "--exit-on-error", "--arg=$version",
"/etc/kernel/postinst.d") &&
die "Failed to process /etc/kernel/postinst.d";
}
by :
if (-d "/etc/kernel/postinst.d") {
system ("run-parts", "-v", "--exit-on-error", "--arg=$version",
"--arg=$realimageloc", "/etc/kernel/postinst.d") &&
die "Failed to process /etc/kernel/postinst.d";
}
if (-d "/etc/kernel/postinst.d/$version") {
system ("run-parts", "-v", "--exit-on-error", "--arg=$version",
"--arg=$realimageloc", "/etc/kernel/postinst.d/$version") &&
die "Failed to process /etc/kernel/postinst.d/$version";
}
In all three postinst, prerm and postrm scripts. I am not perl fluent, so i
hope the above is indeed correct.
If you could handle this quickly, i want to use this feature in the powerpc
kernel packages, which need to be included in sarge, so it is a matter of some
urgency.
Thanks for your help about this,
Sven Luther
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.8-powerpc
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages kernel-package depends on:
ii dpkg 1.10.26 Package maintenance system for Deb
ii dpkg-dev 1.10.26 Package building tools for Debian
ii gcc [c-compiler] 4:3.3.5-1 The GNU C compiler
ii gcc-2.95 [c-compiler] 1:2.95.4-22 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.5-6 The GNU C compiler
ii make 3.80-9 The GNU version of the "make" util
ii perl 5.8.4-5 Larry Wall's Practical Extraction
-- no debconf information
---------------------------------------
Received: (at 294168-close) by bugs.debian.org; 11 Feb 2005 06:08:02 +0000
>From [EMAIL PROTECTED] Thu Feb 10 22:08:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CzTyE-0007sh-00; Thu, 10 Feb 2005 22:08:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CzTsR-0006Mu-00; Fri, 11 Feb 2005 01:02:03 -0500
From: Manoj Srivastava <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#294168: fixed in kernel-package 8.120
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 11 Feb 2005 01:02:03 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 5
Source: kernel-package
Source-Version: 8.120
We believe that the bug you reported is fixed in the latest version of
kernel-package, which is due to be installed in the Debian FTP archive:
kernel-package_8.120.dsc
to pool/main/k/kernel-package/kernel-package_8.120.dsc
kernel-package_8.120.tar.gz
to pool/main/k/kernel-package/kernel-package_8.120.tar.gz
kernel-package_8.120_all.deb
to pool/main/k/kernel-package/kernel-package_8.120_all.deb
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.
Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated kernel-package
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: SHA1
Format: 1.7
Date: Tue, 8 Feb 2005 15:09:24 -0600
Source: kernel-package
Binary: kernel-package
Architecture: source all
Version: 8.120
Distribution: unstable
Urgency: medium
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Changed-By: Manoj Srivastava <[EMAIL PROTECTED]>
Description:
kernel-package - A utility for building Linux kernel related Debian packages.
Closes: 285688 287212 290675 293738 294168
Changes:
kernel-package (8.120) unstable; urgency=medium
.
* Bug fix: "Warning message about initrd is out of date", thanks to Tore
Anderson. Toned down the warning a lot, but left it in place since it
is not clear that the need it fully gone. (Closes: #290675).
* Bug fix: "kernel-package: Use versioned /etc/kernel/*.d directories to
allow per kernel script launching.", thanks to Sven Luther
(Closes: #294168).
* Bug fix: "kernel-package: Using IMAGEDIR in /etc/kernel-pkg.conf make
uninstall failed", thanks to Daniel 'NebuchadnezzaR' Dehennin
The chdir was in mostly for symmetry with other scripts; we certainly
do not need to be in destdir, and indeed, destdir could be removed, as
was the case here.
(Closes: #293738).
* Bug fix: "--us --uc buildpackage doesn't work", thanks to
Harald Dunkel. This helped point to a real mess in the way we handled
the get root functionality, as well as the extra arguments to
dpkg-buildpackage. Now we have separated out the functionality, and no
longer overload int_root_cmd (helped get rid of int_get_root as well)
(Closes: #287212).
* Bug fix: "kernel-package: LOCALVERSION alternate solution", thanks to
Christian Höltje. Thanks for the patch, this is indeed much cleaner.
(Closes: #285688).
Files:
668dbaafacbf9cbd2866c3d39c956eba 483 misc optional kernel-package_8.120.dsc
fcfb9b879e72f1529424f9bbceab13d7 494678 misc optional
kernel-package_8.120.tar.gz
766a66e5f9851f7631dd0b5ceb65a6aa 351314 misc optional
kernel-package_8.120_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCC9K4Ibrau78kQkwRAmqkAJ9ygv/uQ7iTwTcHU3A6Pz/rAc+z1gCgjQV6
GD8Gjhu6ZyMjzlS9QVuHGIA=
=2WwG
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]