On Wed, Aug 24, 2016 at 07:32:05PM +1200, Kent Fredric wrote
> On Mon, 22 Aug 2016 17:57:43 -0500
> William Hubbs <[email protected]> wrote:
> 
> > I thought about dropping the version number from the
> > display-if-installed line, but that doesn't make sense because it means
> > that everyone, including all new installs of OpenRC after this version,
> > would have to read the newsitem.
> > 
> > William
> > 
> 
> That concern is in the wrong priority.
> 
> "Your system might break" is more important than "ugh, annoying
> news items"
> 
> Viewing the news item once per clean install is still less of a
> "Problem" than "everyone with an old system syncs, doesn't get any
> warning, upgrades openrc to a version which breaks this, and they
> brick their boot"

  These things get left in forever.  I once filed a bug report
https://bugs.gentoo.org/show_bug.cgi?id=569056 because the warning that
English word lists in vim had been removed was still present *TWO YEARS*
after the fact.

  How flexible is the ewarn option?  Can printing the warning be made
conditional?  I suggest warning only if there are any hits on...

grep -l '^#!/sbin/runscript' /etc/init.d/*

  Note the single-quote around the expression.  Otherwise "#" can be a
special character for grep.  Furthermore, "grep -l" output can be used
to tell the enduser which specific scripts are non-compliant.

-- 
Walter Dnes <[email protected]>
I don't run "desktop environments"; I run useful applications

Reply via email to