/[gentoo-src]/rc-scripts/ChangeLog
Gentoo

Diff of /rc-scripts/ChangeLog

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

Revision 1.242 Revision 1.324
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2002-2004 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 26 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
6
7 Remove /etc/DIR_COLORS, as coreutils provides it now.
8
9 25 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
10
11 Update to enable checking of mtimes on rc-scripts, and auto running
12 depscan.sh if needed. Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
13 is not set instead of just erroring.
14
15 19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
16
17 Fix irda type-o in /sbin/MAKEDEV, thanks to Tobias Sager <moixa@gmx.ch>.
18
19 Fix type-o in /etc/initrc, bug #41666 (Tom Vergote <bugzilla@tomvergote.be>).
20
21 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
22
23 Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
24 are used in scripts such as consolefonts, numlock, etc. This should
25 close bug #39863.
26
27 Fix type-o in /etc/init.d/consolefont, bug #40938, thanks to patch from
28 Cory Tusar <ctusar@adelphia.net>.
29
30 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
31
32 Add SELinux modifications to /sbin/runscript. This allows runscript to
33 make sure it is running in the right domain. Patch done by
34 Chris PeBenito <pebenito@gentoo.org>.
35
36* rc-scripts 1.4.3.13 (08 Feb 2004)
37
38 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
39
40 Fix wrong logic in /etc/init.d/halt.sh which did not umount all mounts
41 _but_ /mnt/cdrom and /mnt/livecd.
42
43 Update /etc/init.d/consolefont to use newer kbd. Should also close
44 bug #39864.
45
46 Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
47 than install, as newer versions of install is located in /usr/bin. This
48 closes bug #39648.
49
50 06 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
51
52 Tweak livecd support changes and add some more to hopefully sort out
53 last issues, with help from Brad House <brad_mssw@gentoo.org>.
54
55 Add code to generate /dev/fd, /dev/std* and /dev/core to /sbin/rc,
56 bug #37349.
57
58* rc-scripts 1.4.3.12p3 (21 Jan 2004)
59
60 19 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
61
62 Add /sbin/livecd-functions.sh from Brad House <brad_mssw@gentoo.org>
63 for livecd support. Add bits to /sbin/rc to support it.
64
65 06 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
66
67 Fix type-o in /etc/init.d/checkfs, bug #37113.
68
69 29 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
70
71 Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
72 src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
73 then gawk -v. Also add some tests to see if we got the environment
74 variables.
75
76 28 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
77
78 Fix /sbin/rc to mount /dev/pts with gid=5 and mode=0620, bug #36088.
79
80* rc-scripts 1.4.3.12p2 (27 Dec 2003)
81
82 26 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
83
84 Update code to generate /dev from /sys. Add UDEV_NO_SLEEP=1 for
85 hack to not make udev sleep - its not needed as these entries
86 are already present, and not a hotplug event.
87
88 Update /etc/init.d/{consolefont,numlock} to work with udev managed
89 /dev that have devfs layout.
90
91 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
92
93 Fix type-o in /sbin/rc, bug #34837.
94
95* rc-scripts 1.4.3.12p1 (26 Nov 2003)
96
97 26 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
98
99 Fix /etc/init.d/halt.sh to reset pam_console permissions, else
100 the next bootup might be done with some non-root nodes which cause
101 some odd issues.
102
103 Add code to generate /dev from sysfs entries - not much it currently
104 support but block/tty devices, but it is a start for when we have
105 full sysfs support in all drivers.
106
107 Revert carrier detection check, as there is currently too many
108 issues with it, bug #33272.
109
110 Make sure we mount already mounted mount (done in /sbin/rc) with
111 correct permissions, etc, bug #33764. Modified /etc/init.d/checkroot
112 for this.
113
114 16 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
115
116 Fix carrier detection - we need to do a 'ifconfig $IFACE up' else
117 some drivers do not set the IFF_RUNNING bit, bug #33272, thanks to
118 Jason Rhinelander <jason-gentoo@gossamer-threads.com> for the fix.
119
120 15 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
121
122 Add a warning to cachedepends.awk if a rc-script's name ends in
123 '.sh', bug #33134. Add better error checking to /sbin/depscan.sh.
124
125 Fix /etc/init.d/halt.sh to not try and remount virtual devices,
126 also do a few cleanups. Closes bug #33271.
127
128* rc-scripts 1.4.3.12 (11 Nov 2003)
129
130 11 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
131
132 Add carrier detection to /etc/init.d/net.eth0 closing bug #25480;
133 patch by Jordan Ritter <jpr5+gentoo@darkridge.com>.
134
135 Add extra checks for critical directories to /sbin/rc.
136
137 04 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
138
139 Update /bin/rc-status giving a working '-u' parameter, bug #32417.
140 Fix by Michael Frysinger <vapier@gentoo.org>.
141
142 31 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
143
144 Add support for --tty switch added to setfont and remove consolechars
145 support; modified /etc/init.d/consolefont for this. Also remove
146 consoletools support from /etc/init.d/keymaps.
147
148 29 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
149
150 We should still use /sbin/udev as hotplug agent if /sbin/hotplug do
151 not exist. Updated /sbin/rc for this.
152
153 Add a fix to /etc/init.d/keymaps for bug #32111 (we should not have
154 '-u' in the call to loadkeys when using unicode).
155
156 We should not use '-' in variable names for bash, bug #31184, thanks
157 to Andreas Simon <yuipx@gmx.net>. Updated /sbin/MAKEDEV.
158
159 27 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
160
161 Fix return code checking of fsck in /etc/init.d/checkfs, bug #31349.
162
163 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
164
165 The unmount stuff in /etc/init.d/halt.sh was flawed, in the fact that
166 it called 'umount -t no<insert_fs_here>', which resulted in /proc, etc
167 unmounted anyhow. Change it to remount the last filesystems readonly
168 without trying to unmount any. This fixes a few cases where reboot
169 would halt due to unmounted /proc, etc.
170
171 This change set fixes two things:
172 1) In exporting all functions/variables in functions.sh, rc-services.sh
173 and rc-daemon.sh, we created an overly large environment, and also
174 broke stuff like glftpd. Do not do this, and hope whatever caused
175 the issues previously is fixed in the meantime. This should close
176 bugs #25754 and #31794.
177 2) gendepend.awk used to generate deptree with functions called
178 depinfo_<scriptname> which set appropriate variables when called.
179 This broke if the scriptname contained characters that is not valid
180 for bash variable names. Changed things to use an array fixing this.
181 This closes bug #24092.
182
183 Change /sbin/rc again to not set the hotplug agent to /sbin/udev, as
184 /sbin/hotplug will call udev as well.
185
186 Fix a logic error in /lib/rcscripts/sh/rc-services.sh that cause the
187 get_dep_info() function to skip the last entry in the RC_DEPEND_TREE
188 array (in my case 'net').
189
190 We did not handle the 'net' dependency properly in valid_iuse() and
191 valid_iafter(). Fix this in /lib/rcscripts/sh/rc-services.sh, closing
192 bugs #30327 and #31950.
193
194 Change an occurance of /etc/modutils in modules-update.8 to
195 /etc/modules.d/ closing bug #31171.
196
197 19 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
198
199 More bootsplash fixes, bug #21019 (comment #21).
200
201 Remove the killall5 stuff from /etc/init.d/halt.sh, as it messes with
202 bootsplash. Add support to kill processes still using non-critical
203 mounts with fuser though.
204
205 17 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
206
207 Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
208 and #16 from bug #21019).
209
210 Bootsplash coded did not play nice with boot profiles, so I fixed that
211 as well. Some other style tweaks.
212
213 Fix /sbin/MAKEDEV to use 'user:group' form, and not depriciated '.'.
214 Also changed the permissions on tty's, ibcs and scanner devices
215 to 0660.
216
217* rc-scripts 1.4.3.11p2 (14 Sep 2003)
218
219 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
220
221 Revert previous changes, and substitute it for the bootsplash patches
222 from Michael Aichler <micha@aichler.net>, bug #21019. His www pages
223 can be reached at:
224
225 http://www.aichler.net/gentoo/bootsplash/
226
227 I should note that the bootsplash stuff is not 100% tested.
228
229
230* rc-scripts 1.4.3.11p1 (14 Sep 2003)
231
232 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
233
234 Initial bootsplash patch as from LiveCD's.
235
236 Add more tty's to /etc/init.d/numlock, bug #28252.
237
238* rc-scripts 1.4.3.11 (14 Sep 2003)
239
240 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
241
242 Add initial udev support. Modified /sbin/rc and /etc/init.d/halt.sh.
243 Resolves bug #27527.
244
245 Add squid to /etc/services, bug #30995. Other cleanups from rac.
246
247 Add patch from Kumba <kumba@gentoo.org> to MAKEDEV to not allow
248 running while pwd is root (/).
249
250 Add 'after hotplug' to /etc/init.d/consolefont, bug #30856.
251
252 Add entry for floppy in /etc/fstab, bug #30574.
253
254 Remove changing group of /tmp/.{X,ICE}-unix, as it it not needed,
255 bug #28861.
256
257 Apply a patch from Mike Frysinger <vapier@gentoo.org> for rc-status.
258 It now will work with runlevels named with any characters (other than
259 ones found in default bash IFS). It also adds a few sanity/error
260 checks, bug #26432.
261
262 Change /etc/inputrc to have PageUp/PageDown search through bash
263 history again, bug #26036.
264
265 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
266
267 Change update-modules to modules-update in manpage, bug #28101.
268
269* rc-scripts 1.4.3.10p1 (08 Sep 2003)
270
271 08 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
272
273 Change the '-k' switch to dhcpcd to '-z' in /etc/init.d/net.eth0.
274
275 12 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
276
277 Add missing 'local x' to filter_environ() (bug #26429), thanks to
278 Mark Wagner <mark@lanfear.net>. Modified rc-services.sh for this.
279
280 11 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
281
282 Modify /etc/init.d/modules not to print the autoloading stuff if
283 no modules should be loaded (resolving bug #26288), per request from
284 Michael Frysinger <vapier@gentoo.org>.
285
286 Fix get_bootparam() in /sbin/functions.sh to check for existance of
287 the /proc/cmdline proc entry.
288
289 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
290
291 Modify /etc/init.d/halt.sh to first kill, and then deactivate swap on
292 request of Luke-Jr <luke-jr@gentoo.org>. It should be ok now, as the
293 whole way of devfs handling changed long ago already.
294
295 Fix /etc/init.d/halt.sh to unmount the mount point and not the device.
296 Also change it to 'mount -d' to detach the loop device. Patch by
297 Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256.
298
299 Fix /etc/init.d/consolefont to not error out if CONSOLEFONT in rc.conf
300 is not set, bug #26278 (noted by Michael Frysinger <vapier@gentoo.org>).
301
302* rc-scripts 1.4.3.10 (04 Aug 2003)
303
304 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
305
306 Add /bin/rc-status and 'show' support to /sbin/rc-update (long overdue),
307 bug #4222, thanks to Sean E Russell <ser@germane-software.com>,
308 Michael Frysinger <vapier@gentoo.org> (/bin/rc-status) and for the 'show'
309 stuff to /sbin/rc-update, Max Kalika <max@gentoo.org>.
310
311 Fixed modules-update to only do the /etc/modprobe.conf generation if we
312 are actually running a 2.5+ kernel.
313
314 Add pop3 entries to /etc/services, bug #25501.
315
316 Add a switch for devfsd startup to /etc/conf.d/rc, fix /sbin/rc to check
317 RC_DEVFSD_STARTUP. Closes bug #24361, thanks to patches from
318 Kurt V. Hindenburg <khindenburg@cherrynebula.net>.
319
320 Add LVM2 support thanks to Max Kalika <max@gentoo.org> (bug #21908).
321
322 Add IPV6 versions of localhost and co in /etc/hosts, bug #25859.
323
324 Fix type-o in /sbin/rc-update, bug #25854.
325
326 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
327
328 Tweak /etc/init.d/check{root,fs} to set retval after each fsck call,
329 and not the whole block. Tweak check checkroot to reboot if need be
330 (This is with sufficient warning and message). Tweak checkfs to not
331 drop to a sulogin if return code 2 or 3 is given - as we did not
332 mount the filesystems yet, we should not need to reboot ... bug #25398.
333
334 Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by
335 Michael Frysinger <vapier@gentoo.org>.
336
337 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
338
339 Rework changes for the Adelie project to support boot config profiles
340 better. Added support for /etc/runlevels/LEVEL/.fake to specify which
341 runlevels should be marked started or stopped without executing the
342 script. Renamed the /etc/runlevels/LEVEL/critical to ".critical" for
343 more uniformity. Modified /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh
344 for this.
345
346 Add better support for services that provide the "logger" virtual. We
347 should really start the logger earlier, and stop it as late as possible.
348 Modified /sbin/rc, /lib/rcscripts/sh/rc-services.sh and gendepends.awk
349 for this.
350
351 Fix .../boot/... paths hardcoded in /lib/rcscripts/sh/rc-services.sh,
352 thanks to Jean-Francois Richard <jean-francois@richard.name>.
353
354 Replace the Suse /etc/inputrc with a non copyrighted one, bug #24918.
355
356 23 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
357
358 From Jean-Francois Richard <jean-francois@richard.name> and
359 Olivier Crete <tester@gentoo.org> from the Adelie project:
360
361 The last four patches are the "adaptation" of our previous patches to
362 the new "no-tmpfs" init system in Gentoo. Since we were using quite
363 different scripts for the boot runlevel (no "checkroot" for example) and
364 that the new system hardcodes some of the boot services, we had to find
365 a simple yet elegant solution.
366
367 We chose to make init scripts read "/etc/runlevels/LEVEL/critical" to
368 know what are the boot runlevel services. If this file is not present,
369 it uses the Gentoo hardcoded defaults.
370
371 This touches /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh and
372 /etc/init.d/halt.sh.
373
374 I just changed the behaviour of 'softlevel' kernel command line argument
375 to not only add a suffix and some other cleanups.
376
377 Add support for irqbalance.
378
379 22 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
380
381 Fix the /dev/root entry in /etc/mtab, bug #24916.
382
383 Add EVMS2 support, thanks to Mike Javorski <mike_javorski@bigfoot.com>,
384 bug #24064.
385
386* rc-scripts 1.4.3.9 (17 Jul 2003)
387
5 17 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: 388 17 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
6 389
7 Add vlan support to /etc/init.d/net.eth0, bug #15588, thanks to 390 Add vlan support to /etc/init.d/net.eth0, bug #15588, thanks to
8 Andy Dustman <andy-gentoo.54e552@dustman.net>. 391 Andy Dustman <andy-gentoo.54e552@dustman.net>.
9 392
10 Add 'TERM=Eterm' to /etc/DIR_COLORS, bug #23423. 393 Add 'TERM=Eterm' to /etc/DIR_COLORS, bug #23423.
11 394
12 Add mdadm support to /etc/init.d/checkfs, bug #23437, many thanks 395 Add mdadm support to /etc/init.d/checkfs, bug #23437, many thanks
13 to Rex Walters <rw@pobox.com>. 396 to Wes Kurdziolek <wkurdzio@vtluug.org>.
14 397
15 Rather use 'uname -r' to get kernel version, as else we need sysctl. 398 Rather use 'uname -r' to get kernel version, as else we need sysctl.
16 This closes bug #23923, modified /etc/init.d/modules. 399 This closes bug #23923, modified /etc/init.d/modules.
17 400
401 Fix a type-o in /etc/fstab, bug #23308.
402
403 Add support for the new 'O' agetty option to display the DNS domainname
404 in the issue file thanks to Marius Mauch <genone@genone.de>, bug #22275.
405 Updated /etc/issue and /etc/issue.logo for this.
406
18 16 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: 407 16 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
19 408
20 Add aliases for add/del to /sbin/rc-update closing bug #24317, thanks 409 Add aliases for add/del to /sbin/rc-update closing bug #24317, thanks
21 to Antonio Dolcetta <zagarna@yahoo.com>. 410 to Antonio Dolcetta <zagarna@yahoo.com>.
22 411
23 Fix /etc/init.d/net.eth0 to not set rp_filter if already set via 412 Fix /etc/init.d/net.eth0 to not set rp_filter if already set via
24 /etc/sysctl.conf, bug #24235 - thanks jochen <jochen.eisinger@gmx.de>. 413 /etc/sysctl.conf, bug #24235 - thanks jochen <jochen.eisinger@gmx.de>.
25 414
26 Fix /sbin/runscript.sh and /lib/rcscripts/awk/cachedepend.awk to work 415 Fix /sbin/runscript.sh and /lib/rcscripts/awk/cachedepend.awk to work
27 with symlinks in /etc/init.d/, closing bug #24228. 416 with symlinks in /etc/init.d/, closing bug #24228.
28 417
29 Fix /etc/init.d/clock to work with UML, closing bug #24225 thanks to 418 Fix /etc/init.d/clock to work with UML, closing bug #24225 thanks to
30 John Mylchreest <johnm@gentoo.org>. 419 John Mylchreest <johnm@gentoo.org>.
31 420
32 Fix hardcoded color escape sequence in /sbin/rc, closing bug #24109, 421 Fix hardcoded color escape sequence in /sbin/rc, closing bug #24109,
33 thanks to splite <splite-gentoo@sigint.cs.purdue.edu>. 422 thanks to splite <splite-gentoo@sigint.cs.purdue.edu>.
34 423
35 Fix /sbin/functions.sh to disable color printing if NOCOLOR is set to 424 Fix /sbin/functions.sh to disable color printing if NOCOLOR is set to
36 "true" in /etc/make.conf, closing bug #24107. 425 "true" in /etc/make.conf, closing bug #24107.
37 426
38 Fix /etc/init.d/keymaps to be more non-x86 friendly, and also allow 427 Fix /etc/init.d/keymaps to be more non-x86 friendly, and also allow
39 more keymaps to be specified in /etc/rc.conf, bug #24084. 428 more keymaps to be specified in /etc/rc.conf, bug #24084.
40 429
41 15 Jul 2003; Martin Schlemmer <azarah@gentoo.org>: 430 15 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
42 431
43 Add /bin/csh to /etc/shells. 432 Add /bin/csh to /etc/shells.
44 433

Legend:
Removed from v.1.242  
changed lines
  Added in v.1.324

  ViewVC Help
Powered by ViewVC 1.1.20