Your message dated Tue, 22 Sep 2015 09:19:45 +0000 with message-id <[email protected]> and subject line Bug#794630: fixed in apt-dater-host 1.0.0-3 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-3 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: Tue, 22 Sep 2015 09:57:36 +0200 Source: apt-dater-host Binary: apt-dater-host Architecture: source all Version: 1.0.0-3 Distribution: unstable Urgency: medium 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-3) unstable; urgency=medium . * Merge 1.0.0-2~bpo70+1 changelog. * Add patch 01-jessie-kernel-detection to fix Linux Kernel status detection with newer Jessie images. Thanks to Robert Bihlmeyer. Closes: #794630 Checksums-Sha1: 4c3db33690989ea04f4cef025eb0ea10af1fbedf 1743 apt-dater-host_1.0.0-3.dsc e2e66ac2e6e6ea3f4b2bdf8220e88afe6f7a2615 2472 apt-dater-host_1.0.0-3.debian.tar.xz d446dc7fc204069834ff07e4b35e615c1c5d6d74 21642 apt-dater-host_1.0.0-3_all.deb Checksums-Sha256: 64ad281d1cb4927946547e75fe1c56fc8cae04032aad01cc9a2c521f2a5e580f 1743 apt-dater-host_1.0.0-3.dsc f1fc83ff485645d783ffed07b4fea2bcecaf832e96974d14107addf53d82743b 2472 apt-dater-host_1.0.0-3.debian.tar.xz 6e9aee0884fd64c8370ffc3bcebd9a950ceda41e6fed94e9c8583356e5db7c92 21642 apt-dater-host_1.0.0-3_all.deb Files: d987309514e3a7e8cc176221c920c7bc 1743 admin optional apt-dater-host_1.0.0-3.dsc 33512594e52397a923ac7676aea3f32e 2472 admin optional apt-dater-host_1.0.0-3.debian.tar.xz 7fd575b2e631e13e2aa3be4e79e673d3 21642 admin optional apt-dater-host_1.0.0-3_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWAQ2LAAoJEBLZsEqQy9jk4qMP/jgYiUvrvCaNZ7smNMcvTjtO rUdTdCYkCGNyMEdwk+Mlj0oTsuYvXfV3DxoF5SlP0Nkcx/3Sm1vZNq2WmUdcSAcU OXYOmNkHVsNUz7COROOZyI47fb+i2XDMzzSXLM+TltOexzl5PdKFdWsCAFGbZ39N f/hqhcu0jS8kEoNIzdTk3Y0c9w1evSmulmJBHRFQZeiS+I/09k8Fa9uveL+aa2GR D9mFeww97hSxo7zrmKCCz4YFRbR7Ga46lRBoRKYzkbnhReFTkfzHHg4J8gC4zqHb gXWId4YA7hEEJHgD0/eHBzhERCPI96tk4pplqtnjyIoxZarNBI7zSMr4SIARfdDE jIJ/EQh8PnLbEbeYcdSed+6j0F42+3tCm4zLOZhp666Qo2D+2xev07m9yaYl5W0Q XHFAvWLvlbzdgcw6aX7JE85PBNaGM9xBbtsUA6bNFmF8huJjKhgZMrCh9KdJp2zt N+iOSGvXXnlTzTi4c1qW4wH4zJanzTJoZcQNXUQ0/59K3BBhw8b0gwroF4NRPRkr 6nKUqFNbWP6neFPs7zQ5pq5W1pmqNg9GU+qTAL6xNEOW6hp3oNJ54EGj81XH2Mk3 4Ue2p4xJzzKd9jc5TZf+oBLb4ytZ5eRAwI92qNdaAiPrFboeajAxutdFgvebL+Uu GaRTF8gpEUK5o4HfcS6e =sYah -----END PGP SIGNATURE-----
--- End Message ---

