Gentoo Archives: gentoo-dev

From: waltdnes@××××××××.org
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3)
Date: Wed, 24 Aug 2016 14:59:32
Message-Id: 20160824145921.GA7100@waltdnes.org
In Reply to: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3) by Kent Fredric
1 On Wed, Aug 24, 2016 at 07:32:05PM +1200, Kent Fredric wrote
2 > On Mon, 22 Aug 2016 17:57:43 -0500
3 > William Hubbs <williamh@g.o> wrote:
4 >
5 > > I thought about dropping the version number from the
6 > > display-if-installed line, but that doesn't make sense because it means
7 > > that everyone, including all new installs of OpenRC after this version,
8 > > would have to read the newsitem.
9 > >
10 > > William
11 > >
12 >
13 > That concern is in the wrong priority.
14 >
15 > "Your system might break" is more important than "ugh, annoying
16 > news items"
17 >
18 > Viewing the news item once per clean install is still less of a
19 > "Problem" than "everyone with an old system syncs, doesn't get any
20 > warning, upgrades openrc to a version which breaks this, and they
21 > brick their boot"
22
23 These things get left in forever. I once filed a bug report
24 https://bugs.gentoo.org/show_bug.cgi?id=569056 because the warning that
25 English word lists in vim had been removed was still present *TWO YEARS*
26 after the fact.
27
28 How flexible is the ewarn option? Can printing the warning be made
29 conditional? I suggest warning only if there are any hits on...
30
31 grep -l '^#!/sbin/runscript' /etc/init.d/*
32
33 Note the single-quote around the expression. Otherwise "#" can be a
34 special character for grep. Furthermore, "grep -l" output can be used
35 to tell the enduser which specific scripts are non-compliant.
36
37 --
38 Walter Dnes <waltdnes@××××××××.org>
39 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3) Kent Fredric <kentnl@g.o>