Your message dated Tue, 13 Oct 2015 21:17:05 +0000 with message-id <[email protected]> and subject line Bug#794630: fixed in apt-dater-host 1.0.0-2+deb8u1 has caused the Debian Bug report #794630, regarding kernel version detection broken with changes in jessie's linux-image-* packages 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.) -- 794630: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794630 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt-dater Version: 0.9.0-8 Severity: normal Tags: patch apt-dater-host tries to find out in do_kernel() whether the running kernel is (a) Debian's or custom, and (b) current or obsoleted by a newer installed version. Both checks no longer work correctly after I updated my servers to jessie, due to slight changes in its linux-image-* packages. The effect is that every machine is detected as running a custom kernel. This patch solves problem (a) --- /usr/bin/apt-dater-host~ +++ /usr/bin/apt-dater-host @@ -368,7 +368,7 @@ else { my $vstr = `cat $verfile`; unless($vstr =~ /^\S+ \S+ \S+ \(Debian ([^\)]+)\)/ || - $vstr =~ /^\S+ \S+ \S+ \(debian-kernel\@lists\.debian\.org\) .+ Debian (\S+)$/) { + $vstr =~ /^\S+ \S+ \S+ \(debian-kernel\@lists\.debian\.org\) .+ Debian (\S+)(?: \(\d{4}-\d\d-\d\d\))?$/) { print "$infostr 2 $version\n"; return; } But then I ran into problem (b) which I solved like this: --- /usr/bin/apt-dater-host~ +++ /usr/bin/apt-dater-host @@ -376,12 +376,12 @@ } my $reboot = 0; - unless(open(HDPKG, "dpkg-query -W -f='\${Version} \${Status;20} \${Maintainer} \${Provides}\n' 'linux-image*'|grep -E 'install ok installed (Debian|Ubuntu) Kernel Team'|grep linux-image|")) { + unless(open(HDPKG, "dpkg-query -W -f='\${Version} \${Status;20} \${Maintainer} \${Provides}\n' 'linux-image*'|")) { print "$infostr 9 $version\n"; return; } while(<HDPKG>) { - next unless (/^(\S+)\s/); + next unless (/^(\S+) install ok installed (?:Debian|Ubuntu) Kernel Team <.*?> (?:linux-image|linux-modules-)/); $reboot=1 unless (system("dpkg", "--compare-versions", $vers, "lt", $1) >> 8); } Please consider fixing this bug in an update to jessie!
--- End Message ---
--- Begin Message ---Source: apt-dater-host Source-Version: 1.0.0-2+deb8u1 We believe that the bug you reported is fixed in the latest version of apt-dater-host, 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. Patrick Matthäi <[email protected]> (supplier of updated apt-dater-host 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: Mon, 12 Oct 2015 15:45:00 +0200 Source: apt-dater-host Binary: apt-dater-host Architecture: source all Version: 1.0.0-2+deb8u1 Distribution: stable Urgency: low Maintainer: Patrick Matthäi <[email protected]> Changed-By: Patrick Matthäi <[email protected]> Description: apt-dater-host - host helper application for apt-dater Closes: 794630 Changes: apt-dater-host (1.0.0-2+deb8u1) stable; urgency=low . * Add patch 01-jessie-kernel-detection to fix Linux Kernel status detection with newer Jessie images. Thanks to Robert Bihlmeyer. Closes: #794630 Checksums-Sha1: 035b9f456f348ad62534d2a67b89d0f184c78db8 1771 apt-dater-host_1.0.0-2+deb8u1.dsc fc9908bbc16ab40db18a80421911eff3395cd68e 2412 apt-dater-host_1.0.0-2+deb8u1.debian.tar.xz 7e47d91eb621a0357001b9fb01b0c6aeef51bdd3 21666 apt-dater-host_1.0.0-2+deb8u1_all.deb Checksums-Sha256: 07da9f048ed9c291aba8f19f210037d8099a85aaed784c618349bd45307293fb 1771 apt-dater-host_1.0.0-2+deb8u1.dsc 0c69f994887f9df9beeeff16dc4df5e82ef162490220fce9a32f1638ee5c2f3b 2412 apt-dater-host_1.0.0-2+deb8u1.debian.tar.xz edd03a548d3c7abc9e9c5a7431d128a00a5f0b879aaea946b972ecd62c731a63 21666 apt-dater-host_1.0.0-2+deb8u1_all.deb Files: 0b991bef00166b7c1a92d9068462c519 1771 admin optional apt-dater-host_1.0.0-2+deb8u1.dsc 9094eab9f29267a517b4496501ab2e66 2412 admin optional apt-dater-host_1.0.0-2+deb8u1.debian.tar.xz 86300002327f8a6ae951ede8f1b65697 21666 admin optional apt-dater-host_1.0.0-2+deb8u1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWG8GzAAoJEBLZsEqQy9jkQDIQAIwg75fbyoZCDQX6rIF1Gmcp pLHJMWyNrqMCQIXYBOX7dItpQQ83+SiTBZWsVKTq6rvBG1IVMyfs16572Ufb+h/u xEt6TF3WewBOZsSWax9cq+uS1Bp/utHQSnppCgAFA768t/sIGewVyHVHeEpffqX0 QYfA9Qz1TAQJZABno4IQUEBfHRDwXyRgjJGFO8ma+FqV9l9y8elfQsr1w5aC+T+4 2g39oKvqIlSV7Lo/y0C2xoNrVH3lpIfr8fUr1oDEoOqSPW+RLLKlgspZLkgzwds3 jGn9k+NjtcnsfQA9XTcwh9U9ruJ31dlp0S1QabSq4NmMmbEPVAKkdIjma6glO3gP JAhX1IkV3zYEz4PJopnia+dYYsoRF+A5P2Ylt/oU+g+hN1a9cQ/rPFogv5jQwg/B frVOlaOL12H/uwAjdWZ3dHZLeED1IzIuFyU0K23EyTy5x/sAfg19CDRmVBseH2AM Tj2by3D1Sv2biuVyb3H2CotdR7xWOknojGQvlujG7KtEUYsn7/6e0wFJhukzLJMW F6BoGEfTt31+ShQNiJP+/GGBhWdT7zf6DNjYiCuDfk0y4+/TuHn1DW46AK0U9Vuz wZnfWwYmEWz5LC82P71g1wS9RtqGOGmhV2LF20FVF/EzWSrcV7Y87begaJB1781Y gaQmiQ1z+P6QOh54yaJp =CJIG -----END PGP SIGNATURE-----
--- End Message ---

