/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 79 Revision 113
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL
3# Written by Daniel Robbins (drobbins@gentoo.org) 3# Written by Daniel Robbins (drobbins@gentoo.org)
4 4
5 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
6 map file support to /etc/init.d/consolefont and the setting to
7 /etc/rc.conf.
8
9 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
10 in skel files to support both versions of dircolors.
11
12 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
13 in the restart stuff of /etc/init.d/runscript.sh that caused
14 a restart of a 'net' service not to restart services again
15 that depended on it.
16
17* rc-scripts 1.2.5 (20 Jan 2002)
18
19 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
20 /etc/init.d/net.eth0 to 'use' pcmcia.
21
22 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
23 the dircolors command in /etc/skel/.bash_profile to handle cases
24 where bash do not export $SHELL.
25
26 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
27 /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
28 removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
29 scheme for the net.eth* scripts.
30
31 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
32 from manpages; no need for that..
33
34 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
35 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
36
37* rc-scripts 1.2.4 (30 Dec 2001)
38
39 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
40 back to 022 as it should be.
41
42 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
43 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
44
45 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
46 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
47
48 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated
49 /etc/init.d/depscan.sh to store info about missing dependancies of
50 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
51 to use this when starting a script ('need' dependancies is critical for
52 startup). Added the broken() function to /etc/init.d/runscript.sh
53 to list the missing dependancies.
54
55 Updated /etc/init.d/runscript.sh for svc_start() to have better error
56 checking.
57
58 Updated /etc/init.d/functions.sh with ewend(), which is the same as
59 eend(), but print a warning on error, not a error. Updated
60 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
61
62 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c
63 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script.
64
65 Added /etc/init.d/rc-help.sh, simple script that prints out help for
66 the rc-scripts.
67
68 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update
69 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
70 halt and reboot. This fixes a problem where / was not unmounted
71 properly in some cases.
72
73 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to
74 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and
75 /etc/init.d/depscan.sh for this
76
77 Modified /etc/init.d/runscript.sh to also restart the services that
78 depend on a service if that service is restarted. Enhanced the
79 restart function to be able to have custom restart() functions in
80 rc-scripts. The custom restart() have to use svc_stop() and
81 svc_start() to restart the service.
82
83 Add a pause function to /etc/init.d/runscript.sh. It will basically
84 stop a service without stopping the services that depends on that
85 service.
86
87 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
88 service without stopping the services that depends on that service.
89
90* rc-scripts 1.2.3 (18 Dec 2001)
91
92 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from
93 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used).
94
95 Some cleanups: take out the shm resize comment;
96
97 remove the $wrongmount;
98
99 remove the mountshm() function and insert it directly
100 where needed;
101
102 remove the setting of $PATH as /sbin/init already do
103 this for us.
104
105 Added the if statement to detect if it is the first time the 'boot'
106 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
107 $RUNLEVEL is a env var set by /sbin/init.
108
109 Also added functionality to detect if the kernel have DEVFS support
110 compiled in; seems new users thinks devfs is unstable and as they do
111 not always read the docs, it does not get compiled in ;/ Should
112 make live for us a bit easier.
113
114 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill
115 a cosmetic bug in the part that stops all the unneeded services.
116
5* rc-scripts 1.2.2 (8 Dec 2001) 117* rc-scripts 1.2.2 (8 Dec 2001)
118
119 10 Dec 2001; Added a localhost entry in /etc/hosts.
6 120
7 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c 121 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
8 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to 122 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
9 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon. 123 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
10 Start-stop-daemon is moved here from sysvinit by the way. There is stuff 124 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
11 in this ChangeLog that needs to be removed! Like the changes to hosts, 125 in this ChangeLog that needs to be removed! Like the changes to hosts,
12 profile. /etc/{passwd,group} have minor UID and GID type fixes for 126 profile. /etc/{passwd,group} have minor UID and GID type fixes for
13 users ftp, postgres, xfs. 127 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
128 directories.
14 129
15 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory 130 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
16 to rc-scripts. Checked in two manpages there, one for modules.autoload.5 131 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
17 and one for update-modules.8. These were adapted from Debian. Updated 132 and one for update-modules.8. These were adapted from Debian. Updated
18 tarball.sh to include the new man directory. Updated baselayout to install 133 tarball.sh to include the new man directory. Updated baselayout to install
22 to work correctly with the 'gentoo=nodevfs' option, and cleaned 137 to work correctly with the 'gentoo=nodevfs' option, and cleaned
23 out old code. 138 out old code.
24 139
25 Updated /etc/init.d/bootmisc with additional lock files to clean. 140 Updated /etc/init.d/bootmisc with additional lock files to clean.
26 141
27 Updated /etc/init.d/hdparm to check if devfs is used.
28
29 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 142 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
30 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' 143 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
31 that can be used for services that needs to have a logger started 144 that can be used for services that needs to have a logger started
32 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER 145 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER
33 that is used to define what loggers the 'logger' depend represent. 146 that is used to define what loggers the 'logger' depend represent.
34 Also updated /etc/init.d/hdparm and /etc/init.d/modules to use
35 this new depend.
36 147
37 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 148 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
38 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. 149 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck.
39 150
40 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 151 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in
41 /etc/profile for the user to 077 for security. 152 /etc/profile for the user to 077 for security.
42 153
43 Added a localhost line to /etc/hosts after yet another post to gentoo-user.
44 I cant see any problem with this, and since nobody else wants to take the
45 plunge ....
46
47 Added a stop() function to /etc/init.d/clock. Also removed uneeded 154 Added a stop() function to /etc/init.d/clock. Also removed uneeded
48 'source /etc/rc.conf' line. 155 'source /etc/rc.conf' line.
49 156
50 Updated /etc/init.d/hostname to set the hostname to 'localhost' if 157 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
51 /etc/hostname is invalid. 158 /etc/hostname is invalid.
52
53 Updated /etc/init.d/hdparm to display a [ok] for each drive it optimizes.
54 159
55 Updated /sbin/init to move the entries in /lib/dev-state to /dev before 160 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
56 running devfsd, as it did still not save settings properly. Also removed 161 running devfsd, as it did still not save settings properly. Also removed
57 old /dev-state/compat stuff. 162 old /dev-state/compat stuff.
58 163
59 Removed a stupid bug out of /sbin/init ... /lib/dev-state/* was moved
60 to /dev *before* /dev was mounted.
61
62 Seems the .keep files in /lib/dev-state/pts and /lib/dev-state/shm
63 caused /sbin/init to lock while moving /lib/dev-state/* to /dev. Added
64 the needed fixes to the baselayout ebuild.
65
66 On second thoughts, removed the 'try' out of the code that moves
67 /lib/dev-state/* to /dev, since this is not a critical task, and
68 booting will still continue on failure.
69
70 25 Nov 2001; ncsd, the name service cache daemon script, has been removed 164 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
71 from the default "default" runlevel. It still exists in the archive so that 165 from the default "default" runlevel. It still exists in the archive so that
72 users who want/need it can add it easily. 166 users who want/need it can add it easily.
73 167
74 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 168 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
77 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 171 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
78 172
79 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 173 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf
80 and updated /sbin/init to use a new scheme for saving /dev permissions. 174 and updated /sbin/init to use a new scheme for saving /dev permissions.
81 Also moved /dev-state to /lib/dev-state which is a more standard location. 175 Also moved /dev-state to /lib/dev-state which is a more standard location.
82
83 Added /etc/conf.d and moved rc.conf there as /etc/conf.d/basic. Created
84 /etc/rc.conf again as a blank file .. the website should be updated to
85 say that the user should look in /etc/conf.d/* for stuff to configure.
86
87 Added /etc/init.d/hdparm and /etc/conf.d/hdparm; a script and config
88 file for setting generic optimizations for the disk drives.
89 176
90 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on 177 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
91 itself, calling depscan.sh or changing runlevels cause a tempory effect 178 itself, calling depscan.sh or changing runlevels cause a tempory effect
92 similar to a 'mini fork bomb'. Afterwards the depends was broken, and 179 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
93 changing runlevels did not want to work. 180 changing runlevels did not want to work.
94 181
95 Updated /etc/init.d/halt.sh to terminate and display message for devfsd. 182 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
96 More cosmetic than anything else, but cant hurt with the new dev-state 183 More cosmetic than anything else, but cant hurt with the new dev-state
97 scheme. 184 scheme.
98 185
99 Removed config stuff from /etc/init.d/net.eth0, and moved it to
100 /etc/conf.d/net.eth0. Also added a comment to this effect.
101
102 Removed config stuff from /etc/init.d/net.eth0-dhcp, and moved it to
103 /etc/conf.d/net.eth0-dhcp. Also added a comment to this effect.
104
105 Updated gentoo-src/rc-scripts/rc-lists/default to add /etc/init.d/hdparm
106 to the default runlevel.
107
108 Updated /sbin/init to set the console log level to 1, so that bootup 186 Updated /sbin/init to set the console log level to 1, so that bootup
109 can be much cleaner. Also updated /etc/init.d/modules not to have 187 can be much cleaner. Also updated /etc/init.d/modules not to have
110 a logger in it 'use' depends, as it should not be needed anymore. 188 a logger in it 'use' depends, as it should not be needed anymore.
111 189
112 Updated /sbin/rc to check if devfsd is still running between runlevel 190 Updated /sbin/rc to check if devfsd is still running between runlevel
120 198
121 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and 199 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
122 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also 200 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
123 updated tarball.sh to handle ppp/chat-default. 201 updated tarball.sh to handle ppp/chat-default.
124 202
125 Added /etc/skel/.bash* to make things cleaner and set $INPUTRC. 203 Added /etc/skel/.bash* to make things cleaner.
126 204
127 Minor changes I forgot about. 205 Other minor changes.
128 206
129 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file 207 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
130 to rc-scripts. Can remove it from sys-libs/shadow at the next release. 208 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
131 209
132* rc-scripts 1.1.8 (15 Nov 2001) 210* rc-scripts 1.1.8 (15 Nov 2001)

Legend:
Removed from v.79  
changed lines
  Added in v.113

  ViewVC Help
Powered by ViewVC 1.1.20