Bug#896672: marked as done (lsb-release: Do not use APT source to guess codenames)
"Debian Bug Tracking System" <[email protected]> Mon, 23 Apr 2018 19:03:30 +0000
| Newsgroups | gmane.linux.debian.devel.lsb |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1524510210-14816-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Mon, 23 Apr 2018 20:00:33 +0100 with message-id <[email protected]> and subject line Re: Bug#896672: lsb-release: Do not use APT source to gues= s codenames has caused the Debian Bug report #896672, regarding lsb-release: Do not use APT source to guess codenames 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.) --=20 896672: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D896672 Debian Bug Tracking System Contact [email protected] with problems ------------=_1524510210-14816-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 23 Apr 2018 12:38:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02 (2015-04-28) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-6.2 required=4.0 tests=BAYES_00,DIGITS_LETTERS, EMPTY_BODY,FOURLA,HAS_PACKAGE,HEADER_FROM_DIFFERENT_DOMAINS,SPF_PASS, UNPARSEABLE_RELAY,URIBL_CNKR,X_DEBBUGS_CC autolearn=ham autolearn_force=no version=3.4.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 134; hammy, 150; neutral, 152; spammy, 0. spammytokens: hammytokens:0.000-+--H*r:DragonFly, 0.000-+--cutf8, 0.000-+--CUTF8, 0.000-+--UD:C.UTF-8, 0.000-+--c.utf-8 Return-path: <[email protected]> Received: from mo-sw-fb1505-0.mose-mail.jp ([210.130.202.10] helo=mose-mo-sw-fb1505.hop.2iij.net) by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <[email protected]>) id 1fAajZ-000397-Cf for [email protected]; Mon, 23 Apr 2018 12:38:18 +0000 Received: by mo-sw-fb.mose-mail.jp (mose-mo-sw-fb1505) id w3NC6VhQ021415; Mon, 23 Apr 2018 21:06:31 +0900 Received: by mo-sw.mose-mail.jp (mose-mo-sw1506) id w3NC6R3L026680; Mon, 23 Apr 2018 21:06:27 +0900 Received: from quark (localhost [127.0.0.1]) by mbox.mose-mail.jp (mose-mbox1503) id w3NC6Rsm032060 for <[email protected]>; Mon, 23 Apr 2018 21:06:27 +0900 Received: from olaf (uid 1000) (envelope-from [email protected]) id 134cbd by quark (DragonFly Mail Agent v0.11); Mon, 23 Apr 2018 21:06:27 +0900 User-agent: mu4e 0.9.18; emacs 24.5.1 From: Olaf Meeuwissen <[email protected]> To: Debian Bug Tracking System <[email protected]> Subject: lsb-release: Do not use APT source to guess codenames X-Debbugs-CC: Olaf Meeuwissen <[email protected]> Date: Mon, 23 Apr 2018 21:06:27 +0900 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Greylist: delayed 1906 seconds by postgrey-1.36 at buxtehude; Mon, 23 Apr 2018 12:38:17 UTC Delivered-To: [email protected] --=-=-= Content-Type: text/plain Package: lsb-release Version: 4.1+devuan2 Severity: normal Dear Maintainer, -- Package-specific info: --=-=-= Content-Type: text/plain Content-Disposition: attachment Content-Description: Bug script output lsb_release output -*- -*- -*- -*- -*- Distributor ID: Devuan Description: Devuan GNU/Linux testing/unstable Release: testing/unstable Codename: n/a -*- -*- -*- -*- -*- Apt policy -*- -*- -*- -*- -*- Package files: 100 /var/lib/dpkg/status release a=now 500 https://download.docker.com/linux/debian stretch/edge amd64 Packages release o=Docker,a=stretch,l=Docker CE,c=edge,b=amd64 origin download.docker.com 100 http://deb.devuan.org/devuan experimental/main amd64 Packages release v=1.0.0,o=Devuan,a=experimental,n=experimental,l=Master,c=main,b=amd64 origin deb.devuan.org 100 http://deb.devuan.org/devuan ascii-proposed/main amd64 Packages release v=2.0.0,o=None,a=ascii-proposed,n=None,l=None,c=main,b=amd64 origin deb.devuan.org 500 http://deb.devuan.org/merged ascii/main amd64 Packages release v=2.0,a=testing,n=ascii,l=Devuan,c=main,b=amd64 origin deb.devuan.org 500 http://deb.devuan.org/merged ascii-updates/main amd64 Packages release v=2.0.0,a=testing-updates,n=ascii-updates,l=Devuan,c=main,b=amd64 origin deb.devuan.org 500 http://deb.devuan.org/merged ascii-security/main amd64 Packages release v=2.0,a=testing-security,n=ascii-security,l=Devuan-Security,c=main,b=amd64 origin deb.devuan.org Pinned packages: -*- -*- -*- -*- -*- sources.list -*- -*- -*- -*- -*- deb http://deb.devuan.org/merged/ ascii-security main deb http://deb.devuan.org/merged/ ascii-updates main deb http://deb.devuan.org/merged/ ascii main -*- -*- -*- -*- -*- /etc/lsb_release -*- -*- -*- -*- -*- - none --=-=-= Content-Type: text/plain The lsb_release -c invocation yields results that are dependent on one's APT sources.list. Absence of the Origin: field in some of the Devuan package repository mirrors means that on some systems people see `n/a` as the codename. When switching mirrors *and without changing installed packages*, the output suddenly becomes `ascii`. # I have only tested this on ascii systems. I have submitted an issue against the mirrors psuedo-package to get the Origin: field added, but all the same, I think that lsb_release should not consult whatever happens to be in the systems /var/lib/apt/lists/ directory as that may have next to no bearing on what is actually installed when the command is issued. Inspection of /usr/share/pyshared/lsb_release.py strongly hints that this behaviour is Devuan specific. I don't know if it is and, if so, why it got in but I think it should be removed. See also https://lists.dyne.org/lurker/message/20180420.115057.d298af7b.en.html -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux testing/unstable Release: testing/unstable Codename: n/a Architecture: x86_64 Kernel: Linux 4.9.0-6-amd64 (SMP w/2 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages lsb-release depends on: ii python 2.7.13-2 Versions of packages lsb-release recommends: ii apt 1.4.8 Versions of packages lsb-release suggests: pn lsb <none> -- no debconf information Hope this helps, -- Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Software https://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join --=-=-=-- ------------=_1524510210-14816-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 896672-done) by bugs.debian.org; 23 Apr 2018 19:00:41 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02 (2015-04-28) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-20.7 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 21; hammy, 111; neutral, 33; spammy, 0. spammytokens: hammytokens:0.000-+--H*F:D*adam-barratt.org.uk, 0.000-+--H*rp:D*adam-barratt.org.uk, 0.000-+--H*RU:sk:adsl.fu, 0.000-+--H*r:sk:adsl.fu, 0.000-+--H*RU:sk:adsb.vm Return-path: <[email protected]> Received: from adsb.vm.bytemark.co.uk ([212.110.186.212]) by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.89) (envelope-from <[email protected]>) id 1fAghd-0003Ji-32 for [email protected]; Mon, 23 Apr 2018 19:00:41 +0000 Received: from adsl.funky-badger.org ([82.68.247.158] helo=jacala) by adsb.vm.bytemark.co.uk with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.84 #2 (Debian)) (envelope-from <[email protected]>) id 1fAghb-0008BV-2h; Mon, 23 Apr 2018 20:00:39 +0100 Received: from localhost ([::1]) by jacala with esmtp (Exim 4.89) (envelope-from <[email protected]>) id 1fAghV-000372-Cb; Mon, 23 Apr 2018 20:00:33 +0100 Message-ID: <[email protected]> Subject: Re: Bug#896672: lsb-release: Do not use APT source to guess codenames From: "Adam D. Barratt" <[email protected]> To: Olaf Meeuwissen <[email protected]>, [email protected] Date: Mon, 23 Apr 2018 20:00:33 +0100 In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-ADSB-Scan-Signature: 45533d3171e58959152a3eec745f97fb On Mon, 2018-04-23 at 21:06 +0900, Olaf Meeuwissen wrote: > Package: lsb-release > Version: 4.1+devuan2 > [...] > Inspection of /usr/share/pyshared/lsb_release.py strongly hints that > this behaviour is Devuan specific. I don't know if it is and, if so, > why it got in but I think it should be removed. > In that case, this should be filed in Devuan's bug tracker, not Debian's. Regards, Adam ------------=_1524510210-14816-0--