Gentoo Archives: gentoo-dev

From: Kent Fredric <kentnl@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3)
Date: Wed, 24 Aug 2016 15:17:43
Message-Id: 20160825031706.272c2dae@katipo2.lan
In Reply to: Re: [gentoo-dev] newsitem: openrc runscript transition (draft 3) by waltdnes@waltdnes.org
1 On Wed, 24 Aug 2016 10:59:21 -0400
2 waltdnes@××××××××.org wrote:
3
4
5 > These things get left in forever. I once filed a bug report
6 > https://bugs.gentoo.org/show_bug.cgi?id=569056 because the warning that
7 > English word lists in vim had been removed was still present *TWO YEARS*
8 > after the fact.
9 >
10 > How flexible is the ewarn option? Can printing the warning be made
11 > conditional? I suggest warning only if there are any hits on...
12 >
13 > grep -l '^#!/sbin/runscript' /etc/init.d/*
14 >
15 > Note the single-quote around the expression. Otherwise "#" can be a
16 > special character for grep. Furthermore, "grep -l" output can be used
17 > to tell the enduser which specific scripts are non-compliant.
18
19 There's a few other options we can use here as well ...
20
21 1. GLEP 65, but I'm still not entirely sure how all this works.
22
23 https://wiki.gentoo.org/wiki/GLEP:65
24
25 2. pkg_postinst
26
27 3. pkg_info
28
29 https://devmanual.gentoo.org/ebuild-writing/functions/pkg_info/index.html
30
31 With #3 that means
32
33 emerge --info sys-devel/openrc
34
35 Could fire up a quick grep and tell users which specific things need fixing still.