Your message dated Mon, 15 Jan 2018 09:07:01 +0000 with message-id <[email protected]> and subject line Bug#887077: fixed in spectre-meltdown-checker 0.31-1 has caused the Debian Bug report #887077, regarding spectre-meltdown-checker: Should return a sensible exit code 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.) -- 887077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887077 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: spectre-meltdown-checker Version: 0.27-1 Severity: normal Tags: patch Hi, spectre-meltdown-checker should exit with a sensible exit code if vulnerable. This saves cumbersome parsing of the —batch output and is a bit more UNIXey. Example patch attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` [email protected] / chris-lamb.co.uk `-diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 2d587a7..fda11de 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -93,6 +93,8 @@ nrpe_critical=0 nrpe_unknown=0 nrpe_vuln="" +ret=0 + __echo() { opt="$1" @@ -360,6 +362,9 @@ pvulnstatus() VULN) pstatus red 'VULNERABLE' "$@";; OK) pstatus green 'NOT VULNERABLE' "$@";; esac + case "$vulnstatus" in + UNK|VULN) ret=1 + esac } @@ -966,3 +971,5 @@ fi if [ "$opt_batch" = 1 -a "$opt_batch_format" = "json" ]; then _echo 0 ${json_output%?}] fi + +exit $ret
--- End Message ---
--- Begin Message ---Source: spectre-meltdown-checker Source-Version: 0.31-1 We believe that the bug you reported is fixed in the latest version of spectre-meltdown-checker, 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. Sylvestre Ledru <[email protected]> (supplier of updated spectre-meltdown-checker 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, 15 Jan 2018 08:56:11 +0100 Source: spectre-meltdown-checker Binary: spectre-meltdown-checker Architecture: source Version: 0.31-1 Distribution: unstable Urgency: medium Maintainer: Sylvestre Ledru <[email protected]> Changed-By: Sylvestre Ledru <[email protected]> Description: spectre-meltdown-checker - Spectre & Meltdown vulnerability/mitigation checker Closes: 887077 Changes: spectre-meltdown-checker (0.31-1) unstable; urgency=medium . * New upstream release - Return sensible exit code (Closes: #887077) Checksums-Sha1: 32e292e7df62cc86ddf47280d1cd677e8db9ae5f 2015 spectre-meltdown-checker_0.31-1.dsc a462d316d147eb84e1cf6f08ac80696619934be6 23738 spectre-meltdown-checker_0.31.orig.tar.gz 15bcc1831340876265909f9b50c61e7943a80413 2012 spectre-meltdown-checker_0.31-1.debian.tar.xz 6164129d0349f5a8cd440fc060b691907e44dd43 5436 spectre-meltdown-checker_0.31-1_amd64.buildinfo Checksums-Sha256: 39d951b3680f5096722a2da5aadf914bde8fd4ab496752ffd5f671d10febf2a3 2015 spectre-meltdown-checker_0.31-1.dsc 8687e9b908a0fb6e996682323793e815137b18bce80816424cf29717aa304ef0 23738 spectre-meltdown-checker_0.31.orig.tar.gz 4b883dccf1a9cb5564e0ad64830777fd2ad45e29eb706563bf2f3f0be09bb745 2012 spectre-meltdown-checker_0.31-1.debian.tar.xz 94e295f41a0cc7248abfc21157f310b4706e75f706789bb858ca164c57524d7d 5436 spectre-meltdown-checker_0.31-1_amd64.buildinfo Files: a49575dbc04c06e6ed2d7841df2419a1 2015 kernel optional spectre-meltdown-checker_0.31-1.dsc 90c6b7358ed8eb30407329f9aec6b2d4 23738 kernel optional spectre-meltdown-checker_0.31.orig.tar.gz 054bc37d9a68ef9671aae96a30a82225 2012 kernel optional spectre-meltdown-checker_0.31-1.debian.tar.xz 7c9f49a991c4fa5759085456f450cff2 5436 kernel optional spectre-meltdown-checker_0.31-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAlpcX0wACgkQfmUo2nUv G+HzFg/9HtlcYqoxdbsqBd3pQLkNuwg+9sj85PpeXeQ9dQF6bkg4VTNpaVsvMviM 8Jo/eBPuiHHq/BgSgN6WDvHHR/DGmXHHUysOdMAuaCXSDg+qU+7LnptnWKHZY2Iu 12J2b9eKlGrIKdN4oIH9sj/XoLHB1M6OtzuO1bVTAtjVLkyid3Yh9w5OKgxb/HPf ZmWnXgulicWuRuv66xZisIC9GiBegveQxPtgHFEDKFkUvK+EmmWOk9+VYFpUh3R1 Iuu63FEXQNOkOPF9OfS372o99AzR9QQX1Aqs/mZD/vB1g75LazE/cA1u95Sgz8kq BKrUQsMXi1g6w2a1p119IjwgbcrPnZ6cT36ak/VY9sv3EHHsIjpEJl5oNYWaYzY8 wyoy6dRcRVSpa2McUR7qEAvfLyosTj35Dos2nhBBIgUBgHX5HS96U6UpTRz3lgUf cqAhFda5XK9PSqPd6XMGCI/GzJzqjJHbbwqBeIgtpvEA0Ga/Stgpm8ly8Sn8opRU ZU3uuwOZ60ZqugiGIXjTpagvyrvfgjuVpSd5Nhl2URbpGk0P9/76L1DOUP4dudiG 78WcpFuEndsag0Kbt5AgJmTMmuveW4S6SulEoUcpgJm3idyqENPFvd9gWA61OLSi I3wMdA2JRLM6dSV3cyocl9tnKjp0G0IV3HrUZhyaMBQg1Q8JEA8= =ivmZ -----END PGP SIGNATURE-----
--- End Message ---

