Bug 145344 - [patch] Fix kitchen sink approach for rc.d scripts installation
Summary: [patch] Fix kitchen sink approach for rc.d scripts installation
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Enji Cooper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-03 17:19 UTC by Enji Cooper
Modified: 2017-01-03 05:59 UTC (History)
0 users

See Also:


Attachments
file.diff (4.10 KB, patch)
2010-04-03 17:19 UTC, Enji Cooper
no flags Details | Diff
etc-kitchen-sink-dejunk.patch (5.41 KB, patch)
2011-11-20 23:41 UTC, Enji Cooper
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2010-04-03 17:19:38 UTC
In .../src/etc/rc.d/Makefile, all of the configuration files noted today
are currently done in a kitchen sink manner, s.t. all folks building
systems from scratch are actually installing potentially a lot more rc.d
run scripts than needed; allowing the user to tune their src.conf
definition, etc to conditionally exclude these scripts potentially saves
a small amount of space, but more importantly saves a little bit of
unnecessary processing time at bootup as rcorder parses and sorts these
rc.d scripts twice to determine execution ordering on standard systems,
as well as tones down unnecessary noise with certain build situations
where when WITHOUT_INET6 is specified (for instance) it spews out a lot
of noise about ip6addrctl not being present and about unsupported inet6
arguments being passed to routed.

This script did the right thing with my initial set of tests run, but it
needs to be run through a full install -> execute test phase. Will email
once that's complete.

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-04-04 04:41:46 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

Over to maintainer(s).
Comment 2 Xin LI freebsd_committer freebsd_triage 2011-08-23 20:39:21 UTC
Responsible Changed
From-To: freebsd-rc->delphij

Take.
Comment 3 Enji Cooper freebsd_committer freebsd_triage 2011-11-20 23:41:43 UTC
 	Here's the latest patch I've been using for a while now on my 
fileserver system.
Thanks,
-Garrett
Comment 4 Xin LI freebsd_committer freebsd_triage 2014-03-18 20:08:32 UTC
Responsible Changed
From-To: delphij->freebsd-rc

Return this back to pool.
Comment 5 Enji Cooper freebsd_committer freebsd_triage 2017-01-03 05:59:01 UTC
I did most of this on ^/head and backported it to ^/stable/10 and ^/stable/9 as possible. Closing.