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

Diff of /rc-scripts/ChangeLog

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

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

Legend:
Removed from v.1.210  
changed lines
  Added in v.1.226

  ViewVC Help
Powered by ViewVC 1.1.20