/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.81  
changed lines
  Added in v.129

  ViewVC Help
Powered by ViewVC 1.1.20