Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.security > #6011

Re: Bullseye security.debian.org codename misconfigured?

From Cindy Sue Causey <butterflybytes@gmail.com>
Newsgroups linux.debian.security
Subject Re: Bullseye security.debian.org codename misconfigured?
Date 2022-01-23 18:10 +0100
Message-ID <DIOxk-2C6-9@gated-at.bofh.it> (permalink)
References <DIlOG-24b-5@gated-at.bofh.it> <DIuRY-7CV-7@gated-at.bofh.it> <DINrz-1L2-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 1/23/22, Stefan Fritsch <sf@sfritsch.de> wrote:
> Am 22.01.22 um 21:07 schrieb Bjørn Mork:
>> Stefan Fritsch <sf@sfritsch.de> writes:
>>
>>> # cat /etc/apt/apt.conf.d/11-default-release
>>> APT::Default-Release "bullseye";
>>
>> Just don't do that.  It breaks all normal preferences and will end up
>> preferring "bullseye" over anything else.  Including
>> "bullseye-security".
>
> This used to work until buster. But it turns out the release-notes
> mention this problem and the correct syntax is now:
>
> APT::Default-Release "/^bullseye(|-security|-updates)$/";
>
>
> The failure mode of silently not installing security updates is bad,
> though. But I don't see an easy way to fix that. Maybe apt should print
> a warning if one uses a simple codename as Default-Release?


Congratulations on finding the fix. That's cool. It falls in line with
how the repositories are declared.

With respect to a proposed warning, I spent years naively a-suming
that security updates were part of the primary, single line repository
declaration. A little 4-watt light bulb went off overhead during a
Debian-User exchange a couple years ago. Prior to that thread, I'd
been on outside security tech lists and had seen major update
advisories but could never figure out why I was not seeing those same
packages update on my Debian.

This type of ongoing warning might upset some longstanding Users...
unless there was a way to have it only be once a month.. or.. maybe
have a way to trigger it off permanently via the command line
interface for e.g. apt and apt-get.

Another alternative could evolve into a teaching moment by having a
warning state where to turn the warning OFF in e.g. an apt or apt-get
config file. It could be something like the very fix found for this
current thread.

That might lead newer users to explore those types of files more and
thus learn more about the inner workings of Debian. It was something
along those lines that triggered my interest in regularly tearing into
my own install's files a number of years ago now. :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *

Back to linux.debian.security | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bullseye security.debian.org codename misconfigured? Stefan Fritsch <sf@sfritsch.de> - 2022-01-22 11:30 +0100
  Re: Bullseye security.debian.org codename misconfigured? SZÉPE Viktor <viktor@szepe.net> - 2022-01-22 11:40 +0100
    Re: Bullseye security.debian.org codename misconfigured? Stefan Fritsch <sf@sfritsch.de> - 2022-01-22 12:00 +0100
  Re: Bullseye security.debian.org codename misconfigured? Gian Piero Carrubba <gpiero@rm-rf.it> - 2022-01-22 12:00 +0100
  Re: Bullseye security.debian.org codename misconfigured? Ulf Volmer <u.volmer@u-v.de> - 2022-01-22 12:40 +0100
  Re: Bullseye security.debian.org codename misconfigured? Bjørn Mork <bjorn@mork.no> - 2022-01-22 21:10 +0100
    Re: Bullseye security.debian.org codename misconfigured? Stefan Fritsch <sf@sfritsch.de> - 2022-01-23 17:00 +0100
      Re: Bullseye security.debian.org codename misconfigured? Cindy Sue Causey <butterflybytes@gmail.com> - 2022-01-23 18:10 +0100

csiph-web