Your message dated Wed, 16 Jan 2008 02:47:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#443821: fixed in yaird 0.0.12-25
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)
--- Begin Message ---
Package: yaird
Version: 0.0.12-24
Severity: serious
Hi,
there is no official patch for problems with kernels >=2.6.23 (yaird
error: unrecognised device: /sys/devices/.../input). I try to fix it and
I was able to boot with generated initrd on the first time. :-)
Patch is attached. Patch contains also fix for problem observed with my
cryptsetup. Encrypted device with keyfile is ignored, if device is not
a root filesystem (yaird-0.0.12/perl/Plan.pm part of patch).
My HW is laptop IBM Lenovo ThinkPad Z61m with rootfs encrypted by LUKS,
LVM partitions encrypted by keyfile, XFS filesystem and runit
(replacement for SysV init).
Please include my patch, because there is a lot of people waiting for
it.
Thanks, best regards
rajo
--
,''`. Lubomir Host 'rajo' <rajo AT platon.sk> ICQ #: 257322664
: :' : Jabber: rajo AT jabber.platon.sk VoIP: callto://rajo207
`. `' WWW: http://rajo.platon.sk/ Platon Group: http://platon.sk/
`- GnuPG key: DC0C C7EA 55C8 B089 C41D 944A F251 A93A 2361 A82F
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/IdeDev.pm yaird-0.0.12/perl/IdeDev.pm
--- yaird-0.0.12.orig/perl/IdeDev.pm 2005-12-08 23:42:33.000000000 +0100
+++ yaird-0.0.12/perl/IdeDev.pm 2008-01-15 00:58:13.989823441 +0100
@@ -49,7 +49,9 @@ sub fill {
$self->SUPER::fill();
$self->takeArgs ('path');
my $path = $self->path;
- my $link = readlink ("$path/block");
+ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443821
+ # SysFs entries had changed with 2.6.23
+ my $link = readlink ("$path/block") || readlink([ glob("$path/block:*") ]->[0]);
if (! defined ($link)) {
Base::fatal ("no link to block device in $path");
}
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/Input.pm yaird-0.0.12/perl/Input.pm
--- yaird-0.0.12.orig/perl/Input.pm 2005-12-08 23:42:33.000000000 +0100
+++ yaird-0.0.12/perl/Input.pm 2008-01-15 04:03:32.089499793 +0100
@@ -57,7 +57,9 @@ sub fill {
if (defined ($hw)) {
unless ($hw =~ s!^(\.\./)+devices/!!) {
# imagine localised linux (/sys/geraete ...)
- Base::fatal ("bad device link in $devLink");
+ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443821
+ #Base::fatal ("bad device link in $devLink");
+ Base::warning ("bad device link in $devLink");
}
$self->{hw} = $hw;
}
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/InputTab.pm yaird-0.0.12/perl/InputTab.pm
--- yaird-0.0.12.orig/perl/InputTab.pm 2005-12-08 23:42:33.000000000 +0100
+++ yaird-0.0.12/perl/InputTab.pm 2008-01-15 04:03:36.508189068 +0100
@@ -70,6 +70,10 @@ sub init () {
# Do not keep track of this.
# $work->{sysfs} = $1;
}
+ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443821
+ elsif ($line =~ /^U: Uniq=(.*)$/) {
+ # kernel >2.6.23 new atributes in /proc/bus/input/devices, just ignore
+ }
elsif ($line =~ /^B: ([A-Z]+)=(.*)$/) {
$work->{capabilities}{$1} = $2;
}
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/KConfig.pm yaird-0.0.12/perl/KConfig.pm
--- yaird-0.0.12.orig/perl/KConfig.pm 2005-12-08 23:42:33.000000000 +0100
+++ yaird-0.0.12/perl/KConfig.pm 2008-01-15 02:29:03.968004316 +0100
@@ -65,8 +65,9 @@ sub init () {
if ($value eq 'y'
|| $value eq 'm'
|| $value =~ /^-?\d+$/
- || $value =~ /^0x[0-9a-f]+$/
- || $value =~ /^"[-a-zA-Z0-9@,.:_\/= ]*"$/
+ # fix: yaird error: bad value in /boot/config-2.6.23-1-686: CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" (fatal)
+ || $value =~ /^0x[[:xdigit:]]+$/
+ || $value =~ /^"[EMAIL PROTECTED],.:_\/= ]*"$/
) {
$kConfMap->{$key} = $value;
}
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/Plan.pm yaird-0.0.12/perl/Plan.pm
--- yaird-0.0.12.orig/perl/Plan.pm 2005-12-08 23:42:33.000000000 +0100
+++ yaird-0.0.12/perl/Plan.pm 2008-01-15 01:31:13.737830064 +0100
@@ -162,10 +162,20 @@ sub tryDmCrypt ($$$) {
# Check consistency of configuration
- if ($cryptEntry->keyFile) {
+ my $root = FsTab::findByMountPoint('/');
+ if (! defined ($root) or ! defined($root->dev)) {
+ fatal ("requested root device not in fstab");
+ }
+
+ # encrypted root filesystem with key is not supported
+ if ($cryptEntry->keyFile and $cryptEntry->origin eq $root->dev) {
my $origin = $cryptEntry->origin;
Base::fatal ("encrypted device '$target' has keyfile specified in $origin. This is not supported.");
}
+ # ignore encrypted fs with kyefiles specified in /etc/crypttab
+ elsif ($cryptEntry->keyFile) {
+ return 1;
+ }
if ($cryptEntry->opts->exists('swap')) {
# not thought about what this needs yet.
--- End Message ---
--- Begin Message ---
Source: yaird
Source-Version: 0.0.12-25
We believe that the bug you reported is fixed in the latest version of
yaird, which is due to be installed in the Debian FTP archive:
yaird_0.0.12-25.diff.gz
to pool/main/y/yaird/yaird_0.0.12-25.diff.gz
yaird_0.0.12-25.dsc
to pool/main/y/yaird/yaird_0.0.12-25.dsc
yaird_0.0.12-25_amd64.deb
to pool/main/y/yaird/yaird_0.0.12-25_amd64.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.
Jonas Smedegaard <[EMAIL PROTECTED]> (supplier of updated yaird 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, 15 Jan 2008 23:22:26 +0100
Source: yaird
Binary: yaird
Architecture: source amd64
Version: 0.0.12-25
Distribution: unstable
Urgency: low
Maintainer: Yaird Team <[EMAIL PROTECTED]>
Changed-By: Jonas Smedegaard <[EMAIL PROTECTED]>
Description:
yaird - Yet Another mkInitRD
Closes: 443821 457459 460818
Changes:
yaird (0.0.12-25) unstable; urgency=low
.
* Add patch 1023 to only bail on encrypted root device with keyfiles
(ignore non-root encrypted devices with keyfiles). This closes:
bug#460818, thanks to Lubomir Host.
* Add patch 1024 to load all available thermal modules. Closes:
Bug#457459, thanks to maximilian attems.
* Add patch 1025 to fix resolving sysfs eventX symlinks for devices
introduced in 2.6.23. Closes: bug#443821, thanks to Jan Echternach
and others helping to resolve this issue.
* Adopt Ubuntu mkinitrd-yaird changes to mimic some of the options
used in update-initramfs (LP: #129828). Please file a Debian
bugreport next time, Luca Falavigna!
* Update cdbs tweaks:
+ Major improvements to update-tarball, including a tightened build-
dependency on cdbs.
+ Major improvements to copyright-check, including new versioned
build-depenecy on devscripts. Update debian/copyright_hints.
+ Drop buildcore.mk override. Set DEB_AUTO_UPDATE_DEBIAN_CONTROL
directly instead when needed.
+ Update debian/README.cdbs-tweaks to no longer mention buildcore.mk
override.
* Bump to standards-version 3.7.3 (no changes needed).
* Improve merging of multiple build-dependencies on cdbs in
debian/rules.
* Semi-auto-update debian/control to update build-dependencies:
DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
Files:
b3f8718c5cefe131a5c5dff61682bef4 874 utils optional yaird_0.0.12-25.dsc
f572937f80af2f0364e5be1daa02483e 48360 utils optional yaird_0.0.12-25.diff.gz
c122d9b961c389a2d8d4f3f6ca4b9b70 194928 utils optional
yaird_0.0.12-25_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHjWxLn7DbMsAkQLgRAkjcAJ9zSJ1mOIvXCjZPu78r0B/9WalrFACfSDra
DLvOB35cJbRzPBdeGy6kmIA=
=h/zb
-----END PGP SIGNATURE-----
--- End Message ---