/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 80 Revision 132
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 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases,
6 a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed
7 this in /sbin/rc.
8
9 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead
10 update of the 25th. It really should keep "gentoo=nodevfs" in mind.
11 Also added 'get_bootparam()' to help in retrieving kernel options.
12 Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc
13 for this.
14
15 Updated /etc/init.d/consolefont to work without devfs as well.
16
17 When rebooting or shutting down, a service should not fail to stop
18 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
19 for this.
20
21 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if
22 /dev is mounted when creating entries for /etc/mtab. This should solve a
23 invalid entry or /dev being mounted even with 'gentoo=nodevfs' option.
24 Updated /etc/init.d/checkroot for this.
25
26 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
27 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
28 just in a comment now)
29
30 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and
31 'before', updated /etc/init.d/runscript.sh for this. This should fix
32 services not getting started in the correct order in a tight loop, services
33 getting stopped out of order, and some other sanity checks. Updated
34 rc-script.sh for updated help.
35
36 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to
37 resolve bug #588. Reimplemented things a bit, and added the 'after' type.
38 'before' and 'after' will only work currently for a change of runlevel.
39 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it.
40
41 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to
42 /etc/devfsd.conf to make alsa users life easier ... thanks Tod.
43
44 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to
45 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
46
47 Fixed some services not starting again when restarting a service.
48 Seems simple is still the best way.
49
50 Fixed some other problems created with feature additions and cleanups.
51
52 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to
53 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
54
55 Added 'before *' to /etc/init.d/checkroot to make sure it gets
56 started first.
57
58 Added 'use *' to /etc/init.d/local to make sure it gets started
59 last.
60
61 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc
62 to stop a service on change of runlevel if it is in 'use' by
63 another service.
64
65 Added the 'provide' depend type for creating virtual services.
66 Updated /etc/init.d/depscan.sh for this.
67
68 Added the 'before' depend type. This is more for changing the
69 order services start in. Updated /etc/init.d/depscan.sh and
70 /etc/init.d/functions.sh for this.
71
72 Updated /etc/init.d/depscan.sh to work with '*' as argument for
73 dependancy types. This can be used with 'use' and 'before' to
74 start a script last or first respectively.
75
76 Added save_options() and get_options() to /etc/init.d/functions.sh
77 for saving misc settings between startup/shutdown. Updated
78 /etc/init.d/net.eth0 to use these and properly down virtual
79 interfaces.
80
81 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both
82 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no
83 errors.
84
85* rc-scripts 1.2.6 (6 Feb 2002)
86
87 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
88 to specify the gateway device via the $gateway variable (something like
89 gateway="eth0/192.168.0.1").
90
91 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script
92 /etc/init.d/numlock, for enabling numlock at boot.
93
94 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the
95 last fix to /etc/init.d/netmount to umount cleanly. This fix
96 implements a retry if not successful the first time, and will
97 kill processess using the mount. Also small type-o fix to
98 /etc/init.d/halt.sh.
99
100 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
101 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
102 Fixed /etc/passwd,group for user/group mysql.
103
104 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
105 map file support to /etc/init.d/consolefont and the setting to
106 /etc/rc.conf.
107
108 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
109 in skel files to support both versions of dircolors.
110
111 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
112 in the restart stuff of /etc/init.d/runscript.sh that caused
113 a restart of a 'net' service not to restart services again
114 that depended on it.
115
116* rc-scripts 1.2.5 (20 Jan 2002)
117
118 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
119 /etc/init.d/net.eth0 to 'use' pcmcia.
120
121 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
122 the dircolors command in /etc/skel/.bash_profile to handle cases
123 where bash do not export $SHELL.
124
125 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
126 /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
127 removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
128 scheme for the net.eth* scripts.
129
130 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
131 from manpages; no need for that..
132
133 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
134 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
135
136* rc-scripts 1.2.4 (30 Dec 2001)
137
138 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
139 back to 022 as it should be.
140
141 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
142 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
143
144 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
145 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
146
147 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated
148 /etc/init.d/depscan.sh to store info about missing dependancies of
149 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
150 to use this when starting a script ('need' dependancies is critical for
151 startup). Added the broken() function to /etc/init.d/runscript.sh
152 to list the missing dependancies.
153
154 Updated /etc/init.d/runscript.sh for svc_start() to have better error
155 checking.
156
157 Updated /etc/init.d/functions.sh with ewend(), which is the same as
158 eend(), but print a warning on error, not a error. Updated
159 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
160
161 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c
162 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script.
163
164 Added /etc/init.d/rc-help.sh, simple script that prints out help for
165 the rc-scripts.
166
167 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update
168 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
169 halt and reboot. This fixes a problem where / was not unmounted
170 properly in some cases.
171
172 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to
173 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and
174 /etc/init.d/depscan.sh for this
175
176 Modified /etc/init.d/runscript.sh to also restart the services that
177 depend on a service if that service is restarted. Enhanced the
178 restart function to be able to have custom restart() functions in
179 rc-scripts. The custom restart() have to use svc_stop() and
180 svc_start() to restart the service.
181
182 Add a pause function to /etc/init.d/runscript.sh. It will basically
183 stop a service without stopping the services that depends on that
184 service.
185
186 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
187 service without stopping the services that depends on that service.
188
189* rc-scripts 1.2.3 (18 Dec 2001)
190
191 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from
192 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used).
193
194 Some cleanups: take out the shm resize comment;
195
196 remove the $wrongmount;
197
198 remove the mountshm() function and insert it directly
199 where needed;
200
201 remove the setting of $PATH as /sbin/init already do
202 this for us.
203
204 Added the if statement to detect if it is the first time the 'boot'
205 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
206 $RUNLEVEL is a env var set by /sbin/init.
207
208 Also added functionality to detect if the kernel have DEVFS support
209 compiled in; seems new users thinks devfs is unstable and as they do
210 not always read the docs, it does not get compiled in ;/ Should
211 make live for us a bit easier.
212
213 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill
214 a cosmetic bug in the part that stops all the unneeded services.
215
5* rc-scripts 1.2.2 (8 Dec 2001) 216* rc-scripts 1.2.2 (8 Dec 2001)
217
218 10 Dec 2001; Added a localhost entry in /etc/hosts.
6 219
7 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c 220 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 221 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. 222 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 223 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
23 to work correctly with the 'gentoo=nodevfs' option, and cleaned 236 to work correctly with the 'gentoo=nodevfs' option, and cleaned
24 out old code. 237 out old code.
25 238
26 Updated /etc/init.d/bootmisc with additional lock files to clean. 239 Updated /etc/init.d/bootmisc with additional lock files to clean.
27 240
28 Updated /etc/init.d/hdparm to check if devfs is used.
29
30 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 241 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
31 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' 242 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
32 that can be used for services that needs to have a logger started 243 that can be used for services that needs to have a logger started
33 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER 244 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER
34 that is used to define what loggers the 'logger' depend represent. 245 that is used to define what loggers the 'logger' depend represent.
35 Also updated /etc/init.d/hdparm and /etc/init.d/modules to use
36 this new depend.
37 246
38 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 247 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
39 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. 248 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck.
40 249
41 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 250 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in
42 /etc/profile for the user to 077 for security. 251 /etc/profile for the user to 077 for security.
43 252
44 Added a localhost line to /etc/hosts after yet another post to gentoo-user.
45 I cant see any problem with this, and since nobody else wants to take the
46 plunge ....
47
48 Added a stop() function to /etc/init.d/clock. Also removed uneeded 253 Added a stop() function to /etc/init.d/clock. Also removed uneeded
49 'source /etc/rc.conf' line. 254 'source /etc/rc.conf' line.
50 255
51 Updated /etc/init.d/hostname to set the hostname to 'localhost' if 256 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
52 /etc/hostname is invalid. 257 /etc/hostname is invalid.
53
54 Updated /etc/init.d/hdparm to display a [ok] for each drive it optimizes.
55 258
56 Updated /sbin/init to move the entries in /lib/dev-state to /dev before 259 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
57 running devfsd, as it did still not save settings properly. Also removed 260 running devfsd, as it did still not save settings properly. Also removed
58 old /dev-state/compat stuff. 261 old /dev-state/compat stuff.
59 262
60 Removed a stupid bug out of /sbin/init ... /lib/dev-state/* was moved
61 to /dev *before* /dev was mounted.
62
63 Seems the .keep files in /lib/dev-state/pts and /lib/dev-state/shm
64 caused /sbin/init to lock while moving /lib/dev-state/* to /dev. Added
65 the needed fixes to the baselayout ebuild.
66
67 On second thoughts, removed the 'try' out of the code that moves
68 /lib/dev-state/* to /dev, since this is not a critical task, and
69 booting will still continue on failure.
70
71 25 Nov 2001; ncsd, the name service cache daemon script, has been removed 263 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
72 from the default "default" runlevel. It still exists in the archive so that 264 from the default "default" runlevel. It still exists in the archive so that
73 users who want/need it can add it easily. 265 users who want/need it can add it easily.
74 266
75 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 267 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
78 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 270 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
79 271
80 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 272 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf
81 and updated /sbin/init to use a new scheme for saving /dev permissions. 273 and updated /sbin/init to use a new scheme for saving /dev permissions.
82 Also moved /dev-state to /lib/dev-state which is a more standard location. 274 Also moved /dev-state to /lib/dev-state which is a more standard location.
83
84 Added /etc/conf.d and moved rc.conf there as /etc/conf.d/basic. Created
85 /etc/rc.conf again as a blank file .. the website should be updated to
86 say that the user should look in /etc/conf.d/* for stuff to configure.
87
88 Added /etc/init.d/hdparm and /etc/conf.d/hdparm; a script and config
89 file for setting generic optimizations for the disk drives.
90 275
91 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on 276 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
92 itself, calling depscan.sh or changing runlevels cause a tempory effect 277 itself, calling depscan.sh or changing runlevels cause a tempory effect
93 similar to a 'mini fork bomb'. Afterwards the depends was broken, and 278 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
94 changing runlevels did not want to work. 279 changing runlevels did not want to work.
95 280
96 Updated /etc/init.d/halt.sh to terminate and display message for devfsd. 281 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
97 More cosmetic than anything else, but cant hurt with the new dev-state 282 More cosmetic than anything else, but cant hurt with the new dev-state
98 scheme. 283 scheme.
99 284
100 Removed config stuff from /etc/init.d/net.eth0, and moved it to
101 /etc/conf.d/net.eth0. Also added a comment to this effect.
102
103 Removed config stuff from /etc/init.d/net.eth0-dhcp, and moved it to
104 /etc/conf.d/net.eth0-dhcp. Also added a comment to this effect.
105
106 Updated gentoo-src/rc-scripts/rc-lists/default to add /etc/init.d/hdparm
107 to the default runlevel.
108
109 Updated /sbin/init to set the console log level to 1, so that bootup 285 Updated /sbin/init to set the console log level to 1, so that bootup
110 can be much cleaner. Also updated /etc/init.d/modules not to have 286 can be much cleaner. Also updated /etc/init.d/modules not to have
111 a logger in it 'use' depends, as it should not be needed anymore. 287 a logger in it 'use' depends, as it should not be needed anymore.
112 288
113 Updated /sbin/rc to check if devfsd is still running between runlevel 289 Updated /sbin/rc to check if devfsd is still running between runlevel
121 297
122 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and 298 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
123 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also 299 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
124 updated tarball.sh to handle ppp/chat-default. 300 updated tarball.sh to handle ppp/chat-default.
125 301
126 Added /etc/skel/.bash* to make things cleaner and set $INPUTRC. 302 Added /etc/skel/.bash* to make things cleaner.
127 303
128 Minor changes I forgot about. 304 Other minor changes.
129 305
130 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file 306 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
131 to rc-scripts. Can remove it from sys-libs/shadow at the next release. 307 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
132 308
133* rc-scripts 1.1.8 (15 Nov 2001) 309* rc-scripts 1.1.8 (15 Nov 2001)

Legend:
Removed from v.80  
changed lines
  Added in v.132

  ViewVC Help
Powered by ViewVC 1.1.20