summaryrefslogtreecommitdiffstats
path: root/UPDATING
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-07-24 14:56:21 +0000
committermtm <mtm@FreeBSD.org>2004-07-24 14:56:21 +0000
commit99fe82d8e67f2fb2cfaed375a75228c1b8a827aa (patch)
tree1de98826a1f0bbc22606d374247c4d05cc5f4af7 /UPDATING
parentda587e414b7be7fb093bf84ebb21ef6ca067d8e9 (diff)
downloadFreeBSD-src-99fe82d8e67f2fb2cfaed375a75228c1b8a827aa.zip
FreeBSD-src-99fe82d8e67f2fb2cfaed375a75228c1b8a827aa.tar.gz
Ports related rc.d cleanups:
o Separate out local (ports) scripts that use rc.d, and the old style startup/shutdown scripts and execute them separately. On startup the rc.d style scripts are executed first and then the old-style scripts. On shutdown, exactly the reverse happens. o The rc.d ports scripts should now behave more like base system scripts. Scripts ending in .sh will be sourced into the current shell, while the rest will be executed in a subshell. Previously, all ports scripts, regardless of the .sh suffix, were executed in a subshell. o The parent script, /etc/rc.d/localpkg, passes its command line arguments straight to the rc.d ports scripts. This means they should now honor faststop and faststart commands as well. Old style scripts, should not see any differences. They will still get either a start or stop command. o The initial phrase shown during shutdown has been changed to use "local packages" instead of "daemon processes" to be more inline with the phrase used during local package startup. The phrases are also used only for old-style ports script startup/shutdown, whereas previously they were being used for both rc.d and old-style scripts. This should make startup/shutdown output a bit less ugly. Discussed with: portmgr Has Reservations: eik
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING13
1 files changed, 13 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index ce31b1a..fa1fca8 100644
--- a/UPDATING
+++ b/UPDATING
@@ -17,6 +17,19 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW:
developers choose to disable these features on build machines
to maximize performance.
+20040724:
+ The rc.d/loclpkg script now "does the right thing" with respect
+ to ports rc.d scripts. The most disruptive change is that scripts
+ ending in *.sh are sourced in the same shell as rc.d/localpkg (as
+ opposed to a subshell) and may cause the script to end prematurely
+ if a script calls exit. Some broken scripts may not recognize the
+ 'fast' prefix to a command. The first problem can be fixed by simply
+ renaming the script so that it doesn't have a '.sh' ending. Another
+ temporary work-arround is to completely remove the 'PROVIDE' line
+ from the script. If you notice a broken ports rc.d script please
+ notify the maintainer. Legacy scripts should not be affected.
+ __FreeBSD_version bumped to 502124.
+
20040716:
The sound device drivers are renamed. `sound' is always required,
while `snd_*' should be configured accordingly to your hardware.
OpenPOWER on IntegriCloud