/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.347  
changed lines
  Added in v.365

  ViewVC Help
Powered by ViewVC 1.1.20