/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 346 Revision 364
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-2003 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* rc-scripts 1.4.3.8 (20 May 2003)
6
7 20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
8
9 A '-' in a bash variable is not valid as well. Fix gendepend.awk and
10 rc-service.sh to handle this, thanks to YAMAKURA Makoto
11 <makoto@dsb.club.ne.jp>.
12
13 Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
14 about the host it is running on.
15
16 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
17
18 Do not let devfsd handle /dev/log's permission management, as it breaks
19 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
20 <pebenito@gentoo.org>.
21
22 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
23
24 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
25
26 We should not export the RC_GOT_* variables, as it breaks on some systems,
27 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
28
29 From C. Brewer <killian@gentoo.org>:
30 - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
31 suppose to be default, but why take chances?
32 - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
33 kppp complaint.
34
35 13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
36
37 For the network functions, the dependency code tried to create a funcion
38 with a '.' in the name, causing the network rc-scripts to not have any
39 dependencies. This should fix bug #20849 's order issue, thanks to
40 YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
41
42 Fix query_{before,after} to also check 'net' if 'service2' is a network
43 service.
44
45 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
46
47 More cleanups:
48 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
49 Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
50 this.
51 - Add functions for more common tasks in /sbin/runscript.sh to
52 /sbin/rc-services.sh.
53 - Move 'consoletype' to /sbin.
54 - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
55 /etc/init.d/bootmisc for this.
56 - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
57 - Improve detection of circular depends ... modified gendepend.awk for this.
58
59* rc-scripts 1.4.3.7 (11 May 2003)
60
61 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
62
63 Too many things to remember, so here is changes of note:
64 - More changes to gendepend.awk. This basically modifies it to not use
65 symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
66 create a file that can be sourced. Seems to speedup things nicely.
67 - Add /sbin/rc-services.sh. This is basically a module to get dependency
68 info from the new $svcdir/deptree, and some other new service functions.
69 - Modify the whole works to *only* source all needed files once. This
70 includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
71 rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
72 is sourced more than once (actually each time a service is started or
73 stopped, but is is cut down much). Also seems to speed things up again.
74 - Fix a long outstanding bug in gendepend.awk that caused the 'net'
75 dependency to not be actually used in shutdown, causing the services
76 needing it to be stoped before net.* services.
77 - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
78 /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
79 startup of services, and seems to work nicely. Only issues to date is
80 that printing of messages is not synced, and a race very intermittantly
81 that causes a service to be started when it was already scheduled.
82 - Add a new dependency type 'parallel' that can be used to control if a
83 service can be started in paralled or not. Possible arguments is "yes"
84 or "no"; if it is not present, it is considered as "yes":
85
86 depend() {
87 parallel yes|no
88 }
89
90 Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
91 - Fix the 'single' runlevel to actually work properly, and without a
92 /etc/runlevels/single directory.
93 - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
94 Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
95
96 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
97
98 Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
99 and adding more sanity checks.
100
101 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
102
103 Revert /etc/init.d/hostname the way it was, as it should be the user's
104 choice if he want to have a FQDN in there or not, bug #14946.
105
106 Add /etc/init.d/domainname for those that want to use it.
107
108 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
109
110 Change the root check back the way it was, else it breaks with non bash
111 shells; modified /etc/profile.
112
113 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
114
115 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
116
117 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
118
119 Add various patches from Rachel Holmes <rach@gmx.net>:
120
121 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
122 purpose. Modified:
123
124 /etc/init.d/net.ppp0
125 /etc/init.d/nscd
126 /sbin/functions.sh
127 /sbin/rc
128 /sbin/rc-daemon.sh
129 /sbin/rc-envupdate.sh.bash
130 /sbin/runscript.sh
131
132 Exchanged some gratuitous use of awk for grep. Awk is a little resource
133 hungry just for a simple test. (I [azarah] did not apply the changes to
134 tests for 'devfs', as having 'usbdevfs' in the equation will break
135 things). Modified /sbin/rc for this.
136
137 Gentoo enforces having /proc, so uname -r is a little redundant when the
138 information is available without an external command. Modified:
139
140 /etc/init.d/modules
141 /etc/init.d/serial
142 /sbin/functions.sh
143 /sbin/modules-update
144
145 Changed 'id -u' commands to use $EUID in bash executed scripts, same
146 result no extra command. Modified:
147
148 /sbin/rc-envupdate.sh
149 /sbin/rc-envupdate.sh.bash
150 /sbin/rc-update
151
152 Removed all the cat sections, and the separate echo sections. The output
153 is _exactly_ the same, minus some spare spaces that have been removed.
154 Fourfold speed increase in the (granted flimsy) tests I have done.
155 Modified /sbin/rc-help.sh for this.
156
157 Final remaining 'cat' commands removed, in favour of using bash's internal
158 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
159 i18n anyway. Modified:
160
161 /sbin/rc
162 /sbin/rc-envupdate.sh
163 /sbin/rc-envupdate.sh.bash
164
165
166
167* rc-scripts 1.4.3.6 (27 Apr 2003)
168
169 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
170
171 Add a 'save' function /etc/init.d/clock, bug #19685.
172
173 Add a slocate group to /etc/group, bug #19604.
174
175 Do not stop a network service if we do not reboot on runlevel change,
176 as it could have been started by the user or hotplug. This should
177 address bug #12763; modified /sbin/rc for this.
178
179 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
180 domainname.
181
182 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
183 This should close bug #16884.
184
185 Fix /etc/profile to be /bin/sh compadible, bug #18918.
186
187 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
188 be more 'generic' ? Only try to disable swap if any devices/files was
189 activated. This should close bug #19089.
190
191 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
192 rw in /etc/fstab, bug #19158.
193
194 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
195
196 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
197 but the ppp link was already down, bug #15333.
198
199 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
200
201 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
202 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
203
204 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
205 updated /sbin/rc for this.
206
207 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
208
209 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
210
211 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
212
213 Make checking in unmount more strict, fixing bug #19007.
214
215 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
216
217 Add one more check to genenviron.awk, to spot cases where there is a
218 space between the variable and the '='.
219
220 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
221
222 Fix interactive shell not to have coloured prompt when used as a
223 dumb client, bug #18886. Fix was inspired by patch from
224 Matthew Kennedy <mkennedy@gentoo.org>.
225
5* rc-scripts 1.4.3.5 (06 Apr 2003) 226* rc-scripts 1.4.3.5 (06 Apr 2003)
6 227
7 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: 228 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
8 229
9 Hopefully get the serial support sane again. Added /bin/consoletype 230 Hopefully get the serial support sane again. Added /bin/consoletype
10 from Redhat to check for serial console. This should resolve bug 231 from Redhat to check for serial console. This should resolve bug
11 #18329 partly. 232 #18329 partly.
12 233
13 Add the --nocolor option to suppress the use of colors. 234 Add the --nocolor option to suppress the use of colors.
14 235
15 Change the 'status' option to return true if the service is running, 236 Change the 'status' option to return true if the service is running,
16 and false if stopped. This is only if the '--quiet' flag was also 237 and false if stopped. This is only if the '--quiet' flag was also
17 given. 238 given.
18 239
19 Change the start and stop options not to output or return false if 240 Change the start and stop options not to output or return false if
20 the '--quiet' flag was given. 241 the '--quiet' flag was given.
21 242
22 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null 243 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
23 as well, fixing bug #18344. 244 as well, fixing bug #18344.
24 245
25 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to 246 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
26 Aron Griffis <agriffis@gentoo.org>. 247 Aron Griffis <agriffis@gentoo.org>.
27 248
28 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down 249 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
29 or rebooting. 250 or rebooting.
30 251
31 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>: 252 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
32 253
33 Fix bug #18329 ... $COLS was not setup properly for serial console. 254 Fix bug #18329 ... $COLS was not setup properly for serial console.
34 255
1434 1655
1435* rc-scripts 1.1.7 (18 Oct 2001) 1656* rc-scripts 1.1.7 (18 Oct 2001)
1436 1657
1437[old changelog format follows] 1658[old changelog format follows]
1438 1659
1439 *lots of scripts; woodchip 1660 *lots of scripts; woodchip
1440 removed old rc5 scripts from cvs 1661 removed old rc5 scripts from cvs
1441 1662
1442 *init.d/runscript.sh; agriffis 1663 *init.d/runscript.sh; agriffis
1443 Added support for rc.conf and home-grown functions 1664 Added support for rc.conf and home-grown functions
1444 1665
1445 *init.d/modules; 1666 *init.d/modules;
1446 Now correctly looks at /etc/modules.autoload 1667 Now correctly looks at /etc/modules.autoload
1447 1668
1448rc-scripts-1.1.6, released 15 Sep 2001 1669rc-scripts-1.1.6, released 15 Sep 2001
1449====================================== 1670======================================
1450 1671
1451 *init.d/runscript.sh, others 1672 *init.d/runscript.sh, others
1452 Handling of "net" dependencies resolve to all net devices in 1673 Handling of "net" dependencies resolve to all net devices in
1453 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1674 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1454 variable in /etc/rc.conf has been removed. 1675 variable in /etc/rc.conf has been removed.
1455 1676
1456 *init.d/runscript.sh 1677 *init.d/runscript.sh
1457 New "zap" option for manually resetting the state of an initscript 1678 New "zap" option for manually resetting the state of an initscript
1458 to stopped. 1679 to stopped.
1459 1680
1460 *init.d/{samba,sysklogd,sshd} 1681 *init.d/{samba,sysklogd,sshd}
1461 Removed from CVS; they live in their respective packages. 1682 Removed from CVS; they live in their respective packages.
1462 1683
1463rc-scripts-1.1.5, released 02 Sep 2001 1684rc-scripts-1.1.5, released 02 Sep 2001
1464==================================== 1685====================================
1465 1686
1466 *sbin/rc-update 1687 *sbin/rc-update
1467 New version of the rc-update command for the new initscripts. Works 1688 New version of the rc-update command for the new initscripts. Works
1468 similarly to the old version, except this one updates our dependency 1689 similarly to the old version, except this one updates our dependency
1469 cache. 1690 cache.
1470 1691
1471 *init.d/functions.sh 1692 *init.d/functions.sh
1472 New and better looking informational message functions (einfo, einfon). 1693 New and better looking informational message functions (einfo, einfon).
1473 Brand new message functions (ewarn). 1694 Brand new message functions (ewarn).
1474 1695
1475 *sbin/init, init.d/checkroot 1696 *sbin/init, init.d/checkroot
1476 We're going back to a /proc/mounts-based mtab symlink because it's 1697 We're going back to a /proc/mounts-based mtab symlink because it's
1477 just plain better. Appropriate changes made. 1698 just plain better. Appropriate changes made.
1478 1699
1479# vim:expandtab 1700# vim:expandtab

Legend:
Removed from v.346  
changed lines
  Added in v.364

  ViewVC Help
Powered by ViewVC 1.1.20