Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] News Item: OpenAFS no longer needs kernel option DEBUG_RODATA
Date: Wed, 20 Jul 2016 21:23:14
Message-Id: 20160721002236.358b25f7e5f5564983a40f70@gentoo.org
In Reply to: Re: [gentoo-dev] News Item: OpenAFS no longer needs kernel option DEBUG_RODATA by Michael Orlitzky
1 On Wed, 20 Jul 2016 15:12:01 -0400 Michael Orlitzky wrote:
2 > On 07/20/2016 01:13 PM, NP-Hardass wrote:
3 > > Display-If-Installed: <=net-fs/openafs-kernel-1.6.18.2
4 > >
5 > > ...
6 > >
7 > > Starting with net-fs/openafs-kernel-1.6.18.2, this condition is no longer
8 > > forced in the ebuild.
9 >
10 > Might not that version bound might backfire if someone upgrades before
11 > reading the news? People who pull from git often don't necessarily get
12 > the news in a timely fashion.
13 >
14 > Would it be simpler to ewarn in the ebuilds (for e.g. a year) if
15 > DEBUG_RODATA=n?
16
17 We already do this in openafs-kernel-1.6.18.2.ebuild:
18
19 if use kernel_linux && [[ ${REPLACING_VERSIONS} < "1.6.18.2" ]]; then
20 ewarn "As of OpenAFS 1.6.18.2, Gentoo's packaging no longer requires"
21 ewarn "that CONFIG_DEBUG_RODATA be turned off in one's kernel config."
22 ewarn "If you only turned this option off for OpenAFS, please re-enable"
23 ewarn "it, as keeping it turned off is a security risk."
24 fi
25
26 The rationale for the news item in addition to ewarn message is
27 following:
28
29 1. This change is very important, many people may miss elog
30 messages: there are too many of them. Frankly, on a system with 2200+
31 packages this is just not possible for me to read all stuff (so I
32 usually ignore einfo stuff :)). Thus having several channels to
33 distribute this information will be a good idea.
34
35 2. This change affects a kernel. On large updates the kernel is
36 usually one of the first things to be updated. So this news item will
37 allow users to configure their kernel properly from the start and
38 avoid useless reconfiguration and recompilation of the kernel later.
39
40 Best regards,
41 Andrew Savchenko

Replies