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

Diff of /rc-scripts/ChangeLog

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

Revision 1.211 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
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 '='.
4 208
5 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: 209 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
6 210
7 Fix interactive shell not to have coloured prompt when used as a 211 Fix interactive shell not to have coloured prompt when used as a
8 dumb client, bug #18886. Fix was inspired by patch from 212 dumb client, bug #18886. Fix was inspired by patch from
1440 1644
1441* rc-scripts 1.1.7 (18 Oct 2001) 1645* rc-scripts 1.1.7 (18 Oct 2001)
1442 1646
1443[old changelog format follows] 1647[old changelog format follows]
1444 1648
1445 *lots of scripts; woodchip 1649 *lots of scripts; woodchip
1446 removed old rc5 scripts from cvs 1650 removed old rc5 scripts from cvs
1447 1651
1448 *init.d/runscript.sh; agriffis 1652 *init.d/runscript.sh; agriffis
1449 Added support for rc.conf and home-grown functions 1653 Added support for rc.conf and home-grown functions
1450 1654
1451 *init.d/modules; 1655 *init.d/modules;
1452 Now correctly looks at /etc/modules.autoload 1656 Now correctly looks at /etc/modules.autoload
1453 1657
1454rc-scripts-1.1.6, released 15 Sep 2001 1658rc-scripts-1.1.6, released 15 Sep 2001
1455====================================== 1659======================================
1456 1660
1457 *init.d/runscript.sh, others 1661 *init.d/runscript.sh, others
1458 Handling of "net" dependencies resolve to all net devices in 1662 Handling of "net" dependencies resolve to all net devices in
1459 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1663 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1460 variable in /etc/rc.conf has been removed. 1664 variable in /etc/rc.conf has been removed.
1461 1665
1462 *init.d/runscript.sh 1666 *init.d/runscript.sh
1463 New "zap" option for manually resetting the state of an initscript 1667 New "zap" option for manually resetting the state of an initscript
1464 to stopped. 1668 to stopped.
1465 1669
1466 *init.d/{samba,sysklogd,sshd} 1670 *init.d/{samba,sysklogd,sshd}
1467 Removed from CVS; they live in their respective packages. 1671 Removed from CVS; they live in their respective packages.
1468 1672
1469rc-scripts-1.1.5, released 02 Sep 2001 1673rc-scripts-1.1.5, released 02 Sep 2001
1470==================================== 1674====================================
1471 1675
1472 *sbin/rc-update 1676 *sbin/rc-update
1473 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
1474 similarly to the old version, except this one updates our dependency 1678 similarly to the old version, except this one updates our dependency
1475 cache. 1679 cache.
1476 1680
1477 *init.d/functions.sh 1681 *init.d/functions.sh
1478 New and better looking informational message functions (einfo, einfon). 1682 New and better looking informational message functions (einfo, einfon).
1479 Brand new message functions (ewarn). 1683 Brand new message functions (ewarn).
1480 1684
1481 *sbin/init, init.d/checkroot 1685 *sbin/init, init.d/checkroot
1482 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
1483 just plain better. Appropriate changes made. 1687 just plain better. Appropriate changes made.
1484 1688
1485# vim:expandtab 1689# vim:expandtab

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

  ViewVC Help
Powered by ViewVC 1.1.20