Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] old kernels are installed during the upgrade
Date: Wed, 03 Jan 2018 21:21:43
Message-Id: ED90AAC1-1FF0-4B35-99E9-97ABAB2569ED@stellar.eclipse.co.uk
In Reply to: [gentoo-user] Re: old kernels are installed during the upgrade by Kai Krakow
1 > On 2 Jan 2018, at 20:20, Kai Krakow <hurikhan77@×××××.com> wrote:
2 >
3 >
4 >> Now `emerge -n =sys-kernel/gentoo-sources-4.14.8-r1` - "This option can
5 >> be used to update the world file without rebuilding the packages."
6 >
7 > I don't think this is how it works. While technically correct, the
8 > outcome is different to what you're trying to achieve.
9 >
10 >
11 >> This pins your kernel version at 4.14.8-r1 and you can update when, in
12 >> future, you decide it's time to update your kernel, without being nagged
13 >> about it every time a new version is release or you emerge world.
14 >
15 > The equal sign doesn't pin versions, at least not that I remember.
16 > Package are pinned by slot in the world file. Coincidence may be that the
17 > version you selected happens to be exclusively the only slot, too.
18
19 It installs exactly that version, and that exact version is recorded in the world file.
20
21 $ grep -e source /var/lib/portage/world
22 sys-kernel/gentoo-sources:4.9.34
23 $
24
25 > It's adequate to update your software when a security hole was fixed - on
26 > the point. Not two or three months later...
27 >
28 > It gives a false impression of safety if you recommend such things.
29
30 We could spend every day updating our systems - IDK about you, but I have better things to do.
31
32 If the kernel devs cared to announce when they were patching exploits then we could take each one under consideration individually. But the kernel devs are secretive about kernel exploits, because they know there are literally millions of systems out there on the internet with kernels months and years old.
33
34 You're right about the attack vectors, which is why I prioritise the apps and servers I run - an attacker has to get past those before it can exploit those. I updated OpenSSH and openssl the day I leaned of the HeartBleed attack for example.
35
36 Meanwhile, I've seen security vulnerabilities go unfixed for literally weeks in the bug tracker, so I don't see the significance of a vulnerability an attacker is unlikely to be able to reach. The sites I visit do not make me fear my kernel being attacked via the browser.
37
38 This thread is not for arguing about security, which is an old discussion and which has been done to death. Everyone has their own opinions, and I'm not going to add any more.
39
40 This thread is about how to fix OP's problem, and that's what I addressed. If you install kernels by specific version, as I suggest, then you're free to update them manually as often as you wish.
41
42 Stroller.

Replies

Subject Author
Re: [gentoo-user] old kernels are installed during the upgrade Wols Lists <antlists@××××××××××××.uk>
Re: [gentoo-user] old kernels are installed during the upgrade Rich Freeman <rich0@g.o>
Re: [gentoo-user] old kernels are installed during the upgrade Neil Bothwick <neil@××××××××××.uk>