aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2004-07-24 14:56:21 +0000
committerMike Makonnen <mtm@FreeBSD.org>2004-07-24 14:56:21 +0000
commit15eb1e8b45c557d8c756eebf9cf4207b706a2fd1 (patch)
tree1de98826a1f0bbc22606d374247c4d05cc5f4af7 /UPDATING
parentb874fdd40d97ab49421e3b21d58aff36842854c7 (diff)
downloadsrc-15eb1e8b45c557d8c756eebf9cf4207b706a2fd1.tar.gz
src-15eb1e8b45c557d8c756eebf9cf4207b706a2fd1.zip
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
Notes
Notes: svn path=/head/; revision=132597
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING13
1 files changed, 13 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index ce31b1a76771..fa1fca8986cd 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.