/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.20