Commit | Line | Data |
---|---|---|
c6fb5841 PR |
1 | sysvinit (2.89dsf) UNRELEASED; urgency=low |
2 | ||
33dca826 | 3 | [ Werner Fink ] |
82111852 DWF |
4 | * Fix signal and alarm handling based on the patch from Florent Viard. |
5 | (was local bug #32304) | |
6 | * Add fix for Redhat bug #573346: last incorrectly displays IPv6 | |
7 | addresses (was local bug #29497) | |
33dca826 DWF |
8 | * Correct fix for Debian bug #547073: use IUTF8 flag if defined |
9 | and if already set to make sure the utf-8 flag is not cleared | |
10 | from the tty. Patch from Samuel Thibault. | |
64953d94 | 11 | * Include limits.h in killall.c to enforce definition of PATH_MAX |
8ec857d9 DWF |
12 | * Fix sysvinit bug #29758 Linker invocation should not contain |
13 | headers. Change based on patch from Elias Pipping. | |
be62ca92 DWF |
14 | * Add fix for Debian bug #580272: use return value 1 of |
15 | is_selinux_enabled() to determine if SELinux is enabled, | |
16 | otherwise initialize SELinux and load the policy. Patch from | |
17 | Petter Reinholdtsen. | |
3c2942d5 | 18 | * Make quotes visible in example of the manual page of fstab-decode |
33dca826 | 19 | |
c6fb5841 PR |
20 | [ Petter Reinholdtsen ] |
21 | * Next release will be 2.89dsf. | |
6a6815b5 PR |
22 | * Add #ifdef in bootlogd.c to avoid gcc warnings about unused |
23 | variable on non-linux platforms. | |
fc3def35 PR |
24 | * Only set the VSWTC field for termios in init if it is available, |
25 | to get the source building on FreeBSD. | |
c6fb5841 PR |
26 | |
27 | -- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010 | |
28 | ||
29 | sysvinit (2.88dsf) world; urgency=low | |
a33820c3 | 30 | |
6a169c50 | 31 | [ Petter Reinholdtsen ] |
5b37aca8 | 32 | * Mention new home on Savannah in README. |
a33820c3 PR |
33 | * Revert change from Fedora/RedHat where the now obsolete command |
34 | INIT_CMD_CHANGECONS was introduced. Based on feedback and patch | |
35 | from Bill Nottingham. | |
1ebf28b5 PR |
36 | * Adjust makefile to make sure the install directories are created |
37 | before files are copied into them. | |
bcbe7f89 | 38 | * Simplify build rules, based on patch from Mike Frysinger and Gentoo. |
54cb4b75 PR |
39 | * Fix minor bug in optimizing of argument parsing. Based on |
40 | report from jakemus on freshmeat. | |
192c4567 | 41 | * Add casts to get rid of compiler warning about signed/unsigned issues. |
334256b0 PR |
42 | * Change tty handling in init to make sure the UTF-8 flag is not cleared |
43 | on boot. Patch from Samuel Thibault. | |
545897fa | 44 | * Add Makefile in toplevel directory. |
b159ad89 PR |
45 | * Print usage information when shutdown is used by non-root user. |
46 | Patch from Mike Frysinger and Gentoo. | |
cd8b8a4b PR |
47 | * Sync shutdown manual page and usage information. Patch from Mike |
48 | Frysinger and Gentoo. | |
90c78fcc PR |
49 | * Fix race condition in utmp writing. Patch from Gil Kloepfer via |
50 | Mike Frysinger and Gentoo. | |
29ed3b1d PR |
51 | * Rewrite findtty() in bootlogd to recursively search /dev/ for the |
52 | correct device, to handle terminal devices for example in /dev/pty/. | |
53 | Patch from Debian. | |
81bc7c8e PR |
54 | * Make sure bootlogd findpty() returns an error value when it fails to |
55 | find a usable pty. Patch from Rob Leslie via Debian. | |
54e00d41 PR |
56 | * Make sure bootlogd fflush() every line, even if asked not to flush |
57 | to disk using fdatasync(). Patch from Scott Gifford via Debian. | |
364b4b0b PR |
58 | * Add compatibility code to handle old path "/etc/powerstatus" for a |
59 | while. | |
a42284e9 PR |
60 | * Incude definition for MNT_DETACH which is missing in older GNU libc |
61 | headers. | |
41669797 PR |
62 | * Do not strip binaries before installing them, to make it easier to |
63 | get binaries with debug information installed. | |
a33820c3 | 64 | |
6a169c50 PR |
65 | [ Werner Fink ] |
66 | * Add the comment from Andrea Arcangeli about the correct | |
67 | place of setting the default childhandler within spawn(). | |
68 | * Make sure that newline is printed out for last(1) even | |
69 | if an utmp record entry is truncated. | |
70 | * Check if utmp not only exists but also is writable and delay | |
71 | writing out of the utmp runlevel record if utmp is not writable. | |
72 | * Be able to find libcrypt also on 64 bit based architectures. | |
561a31d4 PR |
73 | * Add option -w to the last command to display the full user and |
74 | domain names in the output. Patch from Petr Lautrbach. | |
75 | * Add a manual page for utmpdump as this tool is sometimes | |
76 | very useful even if not intended for normal use. | |
77 | * Use paths.h macros for wall | |
78 | * Change path "/etc/powerstatus" to "/var/run/powerstatus" | |
79 | * Detected also removable block devices at halt/reboot to be able | |
80 | to flush data and send them the ATA standby command. This should | |
81 | avoid data loss on USB sticks and other removable block devices. | |
82 | * Flush block devices on halt/reboot if not done by the kernel. | |
83 | * Set SHELL to /bin/sh in the environmant of shutdown. | |
84 | * Retry to write out shutdown messages if interrupted. | |
85 | * pidof/killall5 - make omit pid list a dynamic one. | |
86 | * pidof - provide '-n' to skip stat(2) syscall on network based FS. | |
87 | * init - avoid compiler warnings | |
88 | * init - initialize console by using the macros from ttydefaults.h | |
89 | * init - add the possiblity to ignore further interrupts from keyboard | |
90 | * init - add the possiblity to set sane terminal line settings | |
91 | * sulogin - add the possibility to reset the terminal io | |
92 | * Fix some minor problems | |
93 | * init - enable is_selinux_enabled() to detect selinuxfs | |
55f242bf DWF |
94 | * Add fix for Debian bug #536574 -- Can be enabled by -DACCTON_OFF |
95 | * Add helper program fstab-decode to make it easier to handle | |
96 | /etc/mtab content. Patch by Miloslav Trmac and Fedora. | |
97 | * Add fix for Debian bug #335023 - Make sure TERM is set on FreeBSD. | |
98 | * Add fix for Debian bug #374038 - Make it clear that shutdown -c can | |
99 | only cancel a waiting shutdown, not an active one. | |
516b0c8f | 100 | * Add note to pidof manual page about the use of readlink(2). Patch by |
55f242bf | 101 | Bill Nottingham and Fedora. |
a13d8f37 PR |
102 | * Add PAM patch contrib/notify-pam-dead.patch based on Debian bug |
103 | #68621, which will add PAM support for programs spawned by init on | |
104 | the console like sulogin. Based on patch by Topi Miettinen. This | |
105 | patch is not applied by default yet while we review its | |
106 | usefullness. It is only helpful for session handling, as sulogin | |
107 | do not use and will not use a PAM conv() function. The current | |
108 | sulogin is able to handle DES as well as MD5, SHA, and Blowfish | |
109 | encrypted passwords due using getpwnam(3). | |
23d97522 DWF |
110 | * Move utmp/wtmp before the execvp() in spawn() to be sure to |
111 | use the correct pid even on a controlling tty | |
112 | * Remaining problem is that the pid of the second fork() for | |
113 | getting a controlling tty isn't that reported by spawn() | |
114 | * Re-enable writting utmp/wtmp for boot scripts | |
22786b24 | 115 | * Extend sulogin to support additional encryption algorithms |
47d64e61 | 116 | * Re-enable maintenance message of sulogin |
fd6f5c50 DWF |
117 | * Enable the sulogin fallback password check to handle MD5, SHA, and |
118 | Blowfish encrypted passwords in case of getpwnam(3) fails. | |
872353ef | 119 | * sulogin picking the SELinux context was broken. Patch by Daniel Walsh |
6a169c50 | 120 | |
c6fb5841 | 121 | -- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010 |
a33820c3 | 122 | |
a74aeac6 PR |
123 | sysvinit (2.87dsf) world; urgency=low |
124 | ||
125 | * Fix typos and do minor updates in the manual pages. | |
126 | * Correct section of mountpoint(1). | |
127 | * Document -e and -t options for telinit in init(8). | |
128 | * Update address of FSF in the COPYRIGHT file. | |
129 | * Document in halt(8) that -n might not disable all syncing. | |
130 | Patch by Bill Nottingham and Fedora | |
131 | * Adjust output from "last -x". In reboot lines, print endpoint | |
132 | of uptime too. In shutdown lines print downtimes rather than | |
133 | the time between downs. Fix typo in string compare in last.c. | |
134 | Patch by Thomas Hood. | |
135 | * Improve handling of IPv6 addresses in last. Patch from Fedora. | |
136 | * Document last options in usage information, previously only | |
137 | mentioned in the manual page. | |
138 | * Add new option -F to last, to output full date string instead | |
139 | of the short form provided by default. Patch from Olaf Dabrunz | |
140 | and SuSe. | |
141 | * Adjust build rules to make sure the installed binaries | |
142 | are stripped. | |
143 | * Increase the compiler warning level when building. | |
144 | * Fix utmp/wtmp updating on 64-bit platforms. Patch by Bill | |
145 | Nottingham and Fedora. | |
146 | * Avoid unchecked return value from malloc() in utmpdump. | |
147 | Patch from Christian 'Dr. Disk' Hechelmann and Fedora. | |
148 | * Make sure to use execle and no execl when passing environment to | |
149 | the new process. Patch from RedHat. | |
150 | * Correct init to make sure the waiting status is preserved across | |
151 | re-exec. Patch from RedHat. | |
152 | * Correct init to avoid race condition when starting programs during | |
153 | boot. Patch from SuSe. | |
154 | * Allow 'telinit u' in runlevels 0 and 6. Patch from Thomas Hood. | |
155 | * Change install rules to make pidof an absolute symlink. Patch from | |
156 | Thomas Hood. | |
157 | * Improve error message from init if fork() fail. Patch found in Suse. | |
158 | * Add support for SE Linux capability handling. Patch from Manoj | |
159 | Srivastava, adjusted to avoid aborting if SE policy was loaded in | |
160 | the initrd with patch from Bill Nottingham and Fedora. | |
161 | * Add -c option to pidof for only matching processes with the same | |
162 | process root. Ignore -c when not running as root. Patch from | |
163 | Thomas Woerner and Fedora. | |
164 | * Adjust init to terminate argv0 with one 0 rather than two so that | |
165 | process name can be one character longer. Patch by Kir Kolyshkin. | |
166 | * Make sure bootlogd exit with non-error exit code when forking of | |
167 | the child successfully. | |
168 | * Add bootlogd option -s to make it possible to control the use of | |
169 | fdatasync(). Patch from Thomas Hood. | |
170 | * Add bootlogd option -c to tell it to create the log file if it does | |
171 | not exist. Patch from Thomas Hood. | |
172 | * Let bootlogd also look at ttyB* devices to work on HPPA. Patch | |
173 | from Thomas Hood. | |
174 | * Change init to use setenv() instead of putenv, make sure the PATH | |
175 | value is usable on re-exec. Patch from Thomas Hood. | |
176 | * Add usleep in killall5 after killing processes, to force the kernel | |
177 | to reschedule. Patch from SuSe. | |
178 | * Modify pidof to not print empty line if no pid was found. | |
179 | * Modify init and sulogin to fix emergency mode's tty, making sure ^C | |
180 | and ^Z work when booting with 'emergency' kernel option. Patch from | |
181 | Samuel Thibault. | |
182 | * Modify init to allow some time for failed opens to resolve themselves. | |
183 | Patch from Bill Nottingham and Fedora. | |
184 | * Modify init to shut down IDE, SCSI and SATA disks properly. Patches | |
185 | from Sebastian Reichelt, Werner Fink and SuSe. | |
186 | * Modify wall to use UT_LINESIZE from <utmp.h> instead of hardcoded | |
187 | string lengths. Patch from SuSe. | |
188 | * Change wall to make halt include hostname in output. | |
189 | * Change killall to avoid killing init by mistake. Patch from SuSe. | |
190 | * Change killall5 to use the exit value to report if it found any | |
191 | processes to kill. Patch from Debian. | |
192 | * Add option -o opmitpid to killall5, to make it possible to skip | |
193 | some pids during shutdown. Based on patch from Colin Watson and | |
194 | Ubuntu. | |
195 | * Add references between killall5 and pidof manual pages. Patch from Debian. | |
196 | * Modify killall to work better with user space file system, by | |
197 | changing cwd to /proc when stopping and killing processes, and | |
198 | avoiding stat() when the value isn't used. Also, lock process | |
199 | pages in memory to avoid paging when user processes are stopped. | |
200 | Patch from Debian and Goswin von Brederlow with changes by Kel | |
201 | Modderman. | |
202 | * Change shutdown to only accept flags -H and -P with the -h flag, | |
203 | and document this requirement in the manual page. | |
204 | * Change reboot/halt to work properly when used as a login shell. | |
205 | Patch by Dale R. Worley and Fedora. | |
206 | * Let sulogin fall back to the staticly linked /bin/sash if both roots | |
207 | shell and /bin/sh fail to execute. | |
208 | ||
209 | -- Petter Reinholdtsen <pere@hungry.com> Sun, 12 Jul 2009 19:58:10 +0200 | |
210 | ||
211 | sysvinit (2.86) cistron; urgency=low | |
212 | ||
213 | * Fixed up bootlogd to read /proc/cmdline. Also keep an internal | |
214 | linebuffer to process \r, \t and ^H. It is becoming useable. | |
215 | * Applied trivial OWL patches | |
216 | * Block signals in syslog(), since syslog() is not re-entrant | |
217 | (James Olin Oden <joden@malachi.lee.k12.nc.us>, redhat bug #97534) | |
218 | * Minor adjustements so that sysvinit compiles on the Hurd | |
219 | * killall5 now skips kernel threads | |
220 | * Inittab entries with both 'S' and other runlevels were broken. | |
221 | Fix by Bryan Kadzban <bryan@kadzban.is-a-geek.net> | |
222 | * Changed initreq.h to be more flexible and forwards-compatible. | |
223 | * You can now through /dev/initctl set environment variables in | |
224 | init that will be inherited by its children. For now, only | |
225 | variables prefixed with INIT_ can be set and the maximum is | |
226 | 16 variables. There's also a length limit due to the size | |
227 | of struct init_request, so it should be safe from abuse. | |
228 | * Option -P and -H to shutdown set INIT_HALT=POWERDOWN and | |
229 | INIT_HALT=HALT as environment variables as described above | |
230 | * Add "mountpoint" utility. | |
231 | * Slightly better algorithm in killall5.c:pidof() | |
232 | * Added some patches from fedora-core (halt-usage, last -t, | |
233 | sulogin-message, user-console) | |
234 | ||
235 | -- Miquel van Smoorenburg <miquels@cistron.nl> Fri, 30 Jul 2004 14:14:58 +0200 | |
236 | ||
237 | sysvinit (2.85) cistron; urgency=low | |
238 | ||
239 | * Add IPv6 support in last(1) | |
240 | * Sulogin: even if the root password is empty, ask for a password- | |
241 | otherwise there is no way to set a timeout. | |
242 | * Removed support for ioctl.save. | |
243 | * Turned of support for /etc/initrunlvl and /var/run/initrunlvl | |
244 | * Fixed warts in dowall.c ("Dmitry V. Levin" <ldv@altlinux.org>) | |
245 | * Fix init.c::spawn(). The "f" variable was used both as file descriptor | |
246 | and waitpid(2) return code. In certain circumstances, this leads to | |
247 | TIOCSCTTY with wrong file descriptor (Vladimir N. Oleynik). | |
248 | * Fix fd leak in sulogin (Dmitry V. Levin). | |
249 | * More error checking in all wait() calling code (Dmitry V. Levin). | |
250 | * Fix argv[] initialization in spawn() (Dmitry V. Levin). | |
251 | * Change strncpy to strncat in most places (Dmitry V. Levin). | |
252 | ||
253 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 15 Apr 2003 16:37:57 +0200 | |
254 | ||
255 | sysvinit (2.84) cistron; urgency=low | |
256 | ||
257 | * Don't use /etc/initlvl interface for telinit; only use /dev/initctl, | |
258 | and give a clear error when that fails. | |
259 | * Add -i/--init command line flag to init - this tells init | |
260 | 'behave as system init even if you're not PID#1'. Useful for | |
261 | testing in chroot/jail type environments. | |
262 | ||
263 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 27 Nov 2001 13:10:08 +0100 | |
264 | ||
265 | sysvinit (2.83) cistron; urgency=low | |
266 | ||
267 | * Fix bug in shutdown where it didn't check correctly for a | |
268 | virtual console when checking /etc/shutdown.allow | |
269 | * Fix race condition in waitpid() [Andrea Arcangeli] | |
270 | * Call closelog() after openlog()/syslog() since recent libc's | |
271 | keep the logging fd open and that is fd#0 aka stdin. | |
272 | ||
273 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 2 Oct 2001 23:27:06 +0200 | |
274 | ||
275 | sysvinit (2.82) cistron; urgency=low | |
276 | ||
277 | * Print out correct version number at startup. | |
278 | * Fix spelling of initttab in init(8) | |
279 | ||
280 | -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 23 Aug 2001 17:50:44 +0200 | |
281 | ||
282 | sysvinit (2.81) cistron; urgency=low | |
283 | ||
284 | * Fix typo/bug in killall5/pidof, -o option failed to work since 2.79. | |
285 | Reformatted source code to prevent this from happening again. | |
286 | * shutdown.8: applied redhat manpage update | |
287 | * sulogin: applied redhat sysvinit-2.78-sulogin-nologin.patch | |
288 | * sulogin: applied redhat sysvinit-2.78-notty.patch | |
289 | * sulogin: applied redhat sysvinit-2.78-sigint.patch | |
290 | ||
291 | sysvinit (2.80) cistron; urgency=low | |
292 | ||
293 | * Grammar/spelling fixes in shutdown.c (Christian Steinrueck) | |
294 | * Don't set controlling tty for non-(sysinit,boot,single) runlevels | |
295 | ||
296 | -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 26 Jul 2001 13:26:56 +0200 | |
297 | ||
298 | sysvinit (2.79) cistron; urgency=low | |
299 | ||
300 | * New upstream version | |
301 | * several fixes to wall by Tim Robbins <fyre@box3n.gumbynet.org> | |
302 | * Several extra boundary checks by Solar Designer | |
303 | * Make /dev/console controlling tty | |
304 | * Stricter checks on ownership of tty by mesg(1) | |
305 | * Documented and restricted -n option to wall(1) | |
306 | * Make it compile with glibc 2.2.2 | |
307 | * Document IO redirection in wall manpage (closes: #79491) | |
308 | * Update README (closes: #85650) | |
309 | * Fix init.8 manpage (closes: #75268) | |
310 | * Fix typo in halt(8) manpage (closes: #67875) | |
311 | * Check time argument of shutdown(8) for correctness (closes: #67825) | |
312 | * Check for stale sessions in last(1) (Chris Wolf <cwolf@starclass.com>) | |
313 | ||
314 | -- Miquel van Smoorenburg <miquels@cistron.nl> Wed, 4 Jul 2001 15:04:36 +0200 | |
315 | ||
316 | sysvinit (2.78-2) frozen unstable; urgency=high | |
317 | ||
318 | * Change "booting" to "reloading" message at reload | |
319 | * Add "-z xxx" dummy command line argument (closes: #54717) | |
320 | ||
321 | -- Miquel van Smoorenburg <miquels@cistron.nl> Fri, 11 Feb 2000 12:17:54 +0100 | |
322 | ||
323 | sysvinit (2.78-1) unstable; urgency=low | |
324 | ||
325 | * 2.78 will be the new upstream version, I'm skipping 2.77 | |
326 | * Shutdown now calls sync before switching the runlevel to 0 or 6, | |
327 | or before unmounting filesystems if -n was used (closes: #46461) | |
328 | * Some cosmetic changes to init.c (closes: #32079) | |
329 | ||
330 | -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 30 Dec 1999 20:40:23 +0100 | |
331 | ||
332 | sysvinit (2.77-2) unstable; urgency=low | |
333 | ||
334 | * Fix last -i option | |
335 | ||
336 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 5 Oct 1999 21:51:50 +0200 | |
337 | ||
338 | sysvinit (2.77-1) unstable; urgency=low | |
339 | ||
340 | * Write reboot record into utmp file as well to make rms happy | |
341 | * Fork and dump core in / if SIGSEGV is received for debugging purposes | |
342 | * Patch by Craig Sanders <cas@vicnet.net.au> for "last" -i option | |
343 | ||
344 | -- Miquel van Smoorenburg <miquels@cistron.nl> Wed, 4 Aug 1999 11:16:23 +0200 | |
345 | ||
346 | sysvinit (2.76-4) unstable; urgency=low | |
347 | ||
348 | * Change dowall.c to handle Unix98 ptys correctly | |
349 | * Add comment in rcS about usage of setup.sh and unconfigured.sh | |
350 | * Shutdown now removes nologin file just before calling telinit | |
351 | * SEGV handler now tries to continue after sleep of 30 seconds. | |
352 | On a 386-class processor it also prints out the value of EIP. | |
353 | * Fix for racecondition in check_init_fifo() by Richard Gooch | |
354 | ||
355 | -- Miquel van Smoorenburg <miquels@cistron.nl> Sat, 8 May 1999 17:22:57 +0200 | |
356 | ||
357 | sysvinit (2.76-3) frozen unstable; urgency=high | |
358 | ||
359 | * Small bugfix to last.c courtesy of Danek Duvall <duvall@emufarm.ml.org> | |
360 | ||
361 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 12 Jan 1999 12:12:44 +0100 | |
362 | ||
363 | sysvinit (2.76-1) frozen unstable; urgency=high | |
364 | ||
365 | * Fix bug in check_pipe() which crashes init on the Alpha. | |
366 | ||
367 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 3 Nov 1998 11:09:13 +0100 | |
368 | ||
369 | sysvinit (2.75-4) unstable; urgency=low | |
370 | ||
371 | * Change sulogin password buffer to 128 characters. | |
372 | * Don't print control characters in dowall.c | |
373 | * Try to open getenv ("CONSOLE"), /dev/console and /dev/tty0 in order. | |
374 | For backwards compatibility when you try to boot a 2.0.x kernel | |
375 | with a linux > 2.1.70 /dev/console device. | |
376 | * Change src/Makefile for non-debian systems (mainly, RedHat) | |
377 | * Try to create /dev/initctl if not present; check every time to see | |
378 | if the dev/ino of /dev/initctl has changed and re-open it. This should | |
379 | help devfs a bit. | |
380 | * Send SIGUSR1 to init at bootup to let it re-open /dev/initctl; | |
381 | again in support of devfs. | |
382 | * Moved pidof to /bin (it's only a link to killall5 anyway) | |
383 | ||
384 | -- Miquel van Smoorenburg <miquels@cistron.nl> Mon, 5 Oct 1998 14:03:14 +0200 | |
385 | ||
386 | sysvinit (2.75-2) frozen unstable; urgency=medium | |
387 | ||
388 | * Fix last.c again. | |
389 | * Add check to see if /dev/initctl is really a FIFO | |
390 | * In ifdown.c first down all shaper devices then the real devices | |
391 | ||
392 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 2 Jun 1998 22:43:01 +0200 | |
393 | ||
394 | sysvinit (2.75-1) frozen unstable; urgency=low | |
395 | ||
396 | * Rewrote last.c to be much more memory friendly and correct, | |
397 | thanks to Nick Andrew <nick@zeta.org.au> and | |
398 | David Parrish <dparrish@zeta.org.au> | |
399 | * Fixes bugs: | |
400 | #21616: sysvinit: sulogin thinks md5 root password is bad | |
401 | #21765: sysvinit: Typo in `killall5.c' | |
402 | #21775: sysvinit: sysvinit does not support MD5 hashed passwords | |
403 | #21990: /usr/bin/last: unnecessary memset and off-by-one bug | |
404 | #22084: sysvinit 2.74-4: SIGPWR missing on sparc | |
405 | #21900: init, powerfail events, and shutdown.allow | |
406 | #21702: init 0 does not work as expected... | |
407 | #21728: sysvinit: Typo in `init.c' | |
408 | #22363: sysvinit: discrepance btw. manpage and /sbin/init | |
409 | ||
410 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 19 May 1998 11:02:29 +0200 | |
411 | ||
412 | sysvinit (2.74-4) frozen unstable; urgency=medium | |
413 | ||
414 | * Add -o option to last to process libc5 utmp files. | |
415 | * Buffer overflow fixed in init.c (not very serious; only exploitable | |
416 | by root). Thanks to Chris Evans <chris@ferret.lmh.ox.ac.uk> | |
417 | ||
418 | -- Miquel van Smoorenburg <miquels@cistron.nl> Wed, 15 Apr 1998 17:04:33 +0200 | |
419 | ||
420 | sysvinit (2.74-1) unstable; urgency=low | |
421 | ||
422 | * Should compile with glibc 1.99 :) | |
423 | * Change behaviour of reboot(1) and halt(1) so that the default when | |
424 | the runlevel can't be determined is to call shutdown. | |
425 | * Added re-exec patch from Al Viro (21 Feb 1998): | |
426 | 'U' flag added to telinit. It forces init to re-exec itself | |
427 | (passing its state through exec, certainly). | |
428 | May be useful for smoother (heh) upgrades. | |
429 | 24 Feb 1998, AV: | |
430 | did_boot made global and added to state - thanks, Miquel. | |
431 | Yet another file descriptors leak - close state pipe if | |
432 | re_exec fails. | |
433 | ||
434 | -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 12 Mar 1998 17:42:46 +0100 | |
435 | ||
436 | sysvinit (2.73-2) unstable; urgency=low | |
437 | ||
438 | * Change _NSIG to NSIG for 2.1.x kernel includes. | |
439 | ||
440 | -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 8 Jan 1998 16:01:02 +0100 | |
441 | ||
442 | sysvinit (2.73-1) unstable; urgency=low | |
443 | ||
444 | * Use siginterrupt, now that system calls are restarted by default. | |
445 | Main symptom was that the sulogin timeout didn't work but there | |
446 | might have been more hidden problems. | |
447 | * Kill process immidiately if turned off in inittab | |
448 | * Fixed sulogin check on tty arg. | |
449 | * Use strerror() instead of sys_errlist | |
450 | * wall now supports a '-n' option to suppress [most of] the banner. | |
451 | Debian doesn't use sysvinit's wall, but apparently Redhat does. | |
452 | * Add '-F' (forcefsck) option to shutdown | |
453 | * Close and reopen /dev/initctl on SIGUSR1 (mainly for a /dev in ram) | |
454 | ||
455 | -- Miquel van Smoorenburg <miquels@cistron.nl> Sat, 3 Jan 1998 16:32:39 +0100 | |
456 | ||
457 | sysvinit (2.72-3) unstable; urgency=low | |
458 | ||
459 | * Add extra fork() in dowall.c to avoid hanging in rare cases | |
460 | ||
461 | -- Miquel van Smoorenburg <miquels@cistron.nl> Wed, 22 Oct 1997 14:44:00 +0200 | |
462 | ||
463 | sysvinit (2.72) unstable; urgency=low | |
464 | ||
465 | * Applied manual page patches by Bill Hawes <whawes@star.net>. Thanks Bill! | |
466 | * Applied patches to the sample Slackware scripts by | |
467 | "Jonathan I. Kamens" <jik@kamens.brookline.ma.us> | |
468 | * Fix halt and reboot runlevels 0 & 6 check. | |
469 | * Only say "no more processes left in runlevel x" once | |
470 | * Fix race condition with SIGCHLD in spawn() | |
471 | (thanks to Alon Ziv <alonz@CS.Technion.AC.IL>) | |
472 | * Compress all manpages (missed 2) | |
473 | * Compiled for libc6 | |
474 | * Added poweroff patch by Roderich Schupp <rsch@ExperTeam.de> | |
475 | ||
476 | -- Miquel van Smoorenburg <miquels@cistron.nl> Sun, 12 Oct 1997 17:20:17 +0200 | |
477 | ||
478 | sysvinit (2.71-2) frozen unstable; urgency=low | |
479 | ||
480 | * Print 2.71 instead of 2.70 on startup :) | |
481 | ||
482 | -- Miquel van Smoorenburg <miquels@cistron.nl> Mon, 5 May 1997 12:45:25 +0200 | |
483 | ||
484 | sysvinit (2.71-1) frozen unstable; urgency=high | |
485 | ||
486 | * Added code for updwtmp() in utmp.c for glibc (2.0.3) | |
487 | * Fixed all programs to use functions from utmp.c and getutent() | |
488 | * Do not try to clean up utmp in init itself (Bug#9022) | |
489 | * Removed sync() from main loop. | |
490 | * Hopefully fixes bug #8657 (shutdown signal handling) | |
491 | ||
492 | -- Miquel van Smoorenburg <miquels@cistron.nl> Sat, 26 Apr 1997 19:57:27 +0200 | |
493 | ||
494 | sysvinit (2.70-1) unstable; urgency=low | |
495 | ||
496 | * Respawn fix | |
497 | * Removed StUdLy CaPs from source code | |
498 | * Moved files in source archive around | |
499 | * Fixes for glibc (utmp handling, signal handling). | |
500 | * Fixed '-d' option to last (now also works without '-a'). | |
501 | * Added extra checking in last.c to prevent showing dead entries | |
502 | ||
503 | -- Miquel van Smoorenburg <miquels@cistron.nl> Fri, 7 Feb 1997 15:31:30 +0100 | |
504 | ||
505 | sysvinit (2.69-1) frozen unstable; urgency=medium | |
506 | ||
507 | * Fixed bug that can throw X in a loop (or any other app that reads from | |
508 | /dev/tty0) | |
509 | ||
510 | -- Miquel van Smoorenburg <miquels@cistron.nl> Sun, 1 Dec 1996 15:32:24 +0100 | |
511 | ||
512 | sysvinit (2.67-1) frozen unstable; urgency=high | |
513 | ||
514 | * Fixes problem with /dev/console being controlling terminal of some | |
515 | daemons | |
516 | * Puts copyright file in the right place | |
517 | ||
518 | -- Miquel van Smoorenburg <miquels@cistron.nl> Fri, 15 Nov 1996 12:23:33 +0100 | |
519 | ||
520 | sysvinit (2.66-1) unstable; urgency=medium | |
521 | ||
522 | * Skipped 2.65. A development 2.65 got out by accident and is apparently | |
523 | being used.. | |
524 | * Also compiles and runs with GNU libc (and on the Alpha) | |
525 | * Fixed dowall.c not to exit when getpwuid() fails and uid == 0. | |
526 | * Fixed init panic'ing on empty lines in /etc/inittab | |
527 | * Changed default PATH to include /usr/local/sbin | |
528 | * Set /dev/console as controlling terminal for sysinit,bootwait,wait,powerwait | |
529 | This allows using ^C to interrupt some parts of eg the boot process. | |
530 | * Remove old symlink in /var/log/initlvl; let init check both | |
531 | /var/log and /etc itself. | |
532 | ||
533 | -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 29 Oct 1996 13:46:54 +0100 | |
534 | ||
535 | 2.66 29-Oct-1996 | |
536 | - Skipped 2.65. A development 2.65 got out by accident and is apparently | |
537 | being used.. | |
538 | - Fixed dowall.c not to exit when getpwuid() fails and uid == 0. | |
539 | - Fixed init panic'ing on empty lines in /etc/inittab | |
540 | - Changed default PATH to include /usr/local/sbin | |
541 | - Ported to Linux/Alpha and GNU libc. | |
542 | - Set /dev/console as controlling terminal for sysinit,bootwait,wait,powerwait. | |
543 | This allows using ^C to interrupt some parts of eg the boot process. | |
544 | - Remove old symlink in /var/log/initlvl; let init check both | |
545 | /var/log and /etc itself. | |
546 | ||
547 | 2.64 28-Jun-1996 | |
548 | - Init checks CONSOLE environment variable on startup (overrides /dev/console) | |
549 | - Init sets CONSOLE variable for all its children. | |
550 | - Wtmp(): when zeroing out old utmp entries, keep ut_id field | |
551 | - Wtmp(): try to re-use ut_id field if possible. | |
552 | - SetTerm(): only read from /etc/ioctl.save if written once. | |
553 | - Included start-stop-daemon, C version (source only). | |
554 | - Fixed wait() for the emergency shell. | |
555 | - killall5: ignore signal before doing kill(-1, pid). | |
556 | ||
557 | 2.63 14-Jun-1996 | |
558 | - Fixed preinst script for Debian | |
559 | - Fixed init.c to become init daemon if name is init.new | |
560 | - Fixed pidof to not return PIDs of shell scripts | |
561 | ||
562 | 2.62-2 09-Jun-1996 | |
563 | - Changed debian /etc/init.d/boot script to create a nologin file | |
564 | at boot and to remove it just before going multiuser. | |
565 | ||
566 | 2.62 31-May-1996 | |
567 | - Decided to release a 2.62 version with a BIG WARNING about upgrading | |
568 | init in it. Will send a patch to Linus for the linux/Documentation/Changes | |
569 | file so that 2.62 or later is mentioned as the version to upgrade to. | |
570 | - Added docs for Slackware | |
571 | ||
572 | 2.61-3 29-May-1996 | |
573 | - Fixed debian/etc/init.d/network for the lo device. | |
574 | - Added "-xdev" to the cd /tmp && find in debian/etc/init.d/boot | |
575 | - Made remove time for files in /tmp configurable. | |
576 | ||
577 | 2.61 29-Apr-1996 | |
578 | - Changed /etc/init.d/boot script again | |
579 | - Fixed problem in init.c with trailing whitespace after entries in inittab | |
580 | - Fixed killall5 problems | |
581 | - Added manpage for lastb | |
582 | - Added SHELL= environment variable to sulogin | |
583 | - Fixed sulogin & shadow problems | |
584 | - Added timeout option to sulogin | |
585 | ||
586 | 2.60-2 16-Apr-1996 | |
587 | - Fixed sulogin (didn't work if root wasn't first entry in shadow file) | |
588 | - Fixed mesg for systems with "tty" group (such as Debian) | |
589 | - Fixed nsyslog() in killall5.c | |
590 | ||
591 | 2.60 01-Apr-1996 | |
592 | - Fixed race condition in init.c, resulting in hanging shutdowns. | |
593 | Courtesy of Max Neunhoeffer <Max.Neunhoeffer@urz.uni-heidelberg.de>. | |
594 | - Fixed debian/etc/init.d/boot for swapon and mdadd | |
595 | - Added architecture to debian.control | |
596 | - Added manpages for rc.boot and rc.local | |
597 | - Updated inittab manpage for 4-character runlevel field | |
598 | - Added debian replaces for bsdutils < version_without_mesg | |
599 | - Fixed init.c so that it also works with kernels 1.3.81 and up | |
600 | ||
601 | 2.59 10-Mar-1996 | |
602 | - Init logs less to syslog (suspected to hang in syslog() or openlog() ) | |
603 | - removed closelog() from init.c | |
604 | - removed time check of runlevel record in halt. | |
605 | - Added options to last to get hostname from ut_addr field | |
606 | - Added last and mesg to installation targets | |
607 | - rewrote /etc/init.d/boot a bit. | |
608 | ||
609 | 2.58-2 04-Jan-1996 | |
610 | - Changed etc/init.d/rc to do a stty onlcr | |
611 | - Added /var/log/initrunlvl symlink | |
612 | ||
613 | 2.58-1 31-Dec-1995 | |
614 | - Added the latest debian files. | |
615 | - Added support for 4-character id fields (if you have libc5). | |
616 | - Fixed pidof (in killall5) parsing of /proc/.../stat | |
617 | - Save restore GMT setting in /etc/init.d/boot | |
618 | ||
619 | 2.57d 03-Dec-1995 | |
620 | - Added sulogin | |
621 | - Added "-b" flag to init, gives a shell before | |
622 | anything else (in case the startup scripts are screwed) | |
623 | - Moved fastboot to /fastboot | |
624 | - Folded in Debian patches. | |
625 | - Removed old scripts | |
626 | - Added debian /etc/directory. | |
627 | ||
628 | 2.57c 08-Oct-1995 | |
629 | - Changed over to init_request (with initreq.h) | |
630 | - Processes no longer killed when "process" field | |
631 | changes, change takes effect after next respawn. | |
632 | ||
633 | 2.57b xx-Aug-1995 | |
634 | - Bugfix release for Debian and Slackware 3.0 | |
635 | ||
636 | 2.57a 10-Jul-1995 | |
637 | - Fixed race condition init init.c wrt got_chld | |
638 | - Fixed one-off for malloc in killall5.c | |
639 | - Changed dowall.c | |
640 | - Console code: no relink to /dev/systty on CTRL-ALT-DEL) | |
641 | ||
642 | 2.57 22-May-1995 | |
643 | - Changed a few things here and there, didn't | |
644 | really document it :) | |
645 | ||
646 | 2.55 17-Jan-1995 | |
647 | - Added option to shutdown to run standalone. | |
648 | ||
649 | 2.54 12-Jan-1995 | |
650 | - Added GNU copyrigh to all *.[ch] files. | |
651 | - added /etc/initscript | |
652 | - reboot and halt now call shutdown in runlevels 1-5 | |
653 | - Can run from read-only root (CDROM) | |
654 | ||
655 | 2.53 10-Oct-1994 | |
656 | - Renamed pidof to killall5, updated all scripts to | |
657 | use killall5 instead of kill -1 .... | |
658 | - Rewrote scripts to use this, and some general changes. | |
659 | - Added SysV command line compatibility to shutdown. | |
660 | ||
661 | 2.52 30-Aug-1994 | |
662 | - Added `powerfailnow' keyword, for when UPS battery is low. | |
663 | - Updated `last'. | |
664 | - Fixed utmp handling (wrt. CLEAN_UTMP) | |
665 | TODO: | |
666 | * Make last compatible with GNU/BSD (long options?) | |
667 | * update powerd | |
668 | * remote SIGPWR broadcast? in powerd? (with priv. port) | |
669 | * remote shutdown | |
670 | ||
671 | 2.50 14-Feb-1994 | |
672 | - Ignores unknown command line arguments. | |
673 | - Modelled more after the "real" sysVinit | |
674 | - Lots of changes all over the place. | |
675 | (like showing runlevel in "ps" listing, logging | |
676 | runlevel into utmp file etc) | |
677 | - now using "reliable" signals instead of V7 style. | |
678 | - Updated all scripts. Examples are in two directories: | |
679 | etc (normal) and etc-sysv (sysv style scripts). | |
680 | - runlevel 0 = halt, 1 = single user, 6 = reboot. | |
681 | - added support for serial console. | |
682 | - updated Propaganda, manpages. | |
683 | - added shutdown access control. | |
684 | ||
685 | 2.4 24-May-93 | |
686 | - Send out the official version into the world as | |
687 | SysVinit-2.4.tar.z. | |
688 | ||
689 | 2.4g 15-May-93 | |
690 | - Changed init to really catch SIGPWR 'cause we | |
691 | hooked up an UPS to the Linux machine. The | |
692 | keyword for catching the TreeFingerSalute is | |
693 | now "ctrlaltdel" instead of "power{wait,fail}". | |
694 | ||
695 | 2.4a 22-Apr-93 | |
696 | - Fixed last to reckognize BSD style wtmp logging. | |
697 | - Changed init to write wtmp records that are | |
698 | SysV compliant but are also reckognized by the | |
699 | BSD last. Added a '+' option to the 'process' | |
700 | field of inittab, for getties that want to do | |
701 | their own utmp/wtmp housekeeping (kludge!). | |
702 | - Now accepts a runlevel on the command line, | |
703 | and reckognizes the 'auto' argument. (Sets the | |
704 | environment variable AUTOBOOT to YES) | |
705 | ||
706 | 2.2.3 24-Mar-93 | |
707 | - Ripped out the 'leave' action. To difficult, and | |
708 | unneeded. | |
709 | - Going single user now kills _all_ processes. | |
710 | - Added '-t secs' option to all commands. | |
711 | - This version is stable enough to post. | |
712 | ||
713 | 2.2 02-Mar-93 | |
714 | - Made wait()'s asynchronous | |
715 | - Changed whole thing to one big state machine | |
716 | - Now using 'pseudo levels' # & * for SYSINIT & BOOT | |
717 | - Added a new type of 'action', called leave. This | |
718 | process will be executed when the system goes from a | |
719 | runlevel specified in it's runlevel field to a | |
720 | level that's not. Nice to bring down NFS and the like. | |
721 | ||
722 | 2.1 28-Jan-93 | |
723 | - Fixed a bug with 'boot' and 'once'. | |
724 | - Check 'initdefault' for validity. | |
725 | - Reckognizes "single" as command line argument. | |
726 | - Retries execvp with 'sh -c exec ..' if command | |
727 | is a shell script. (shouldn't execvp do this?) | |
728 | - Added patches to use syslog if defined. | |
729 | ||
730 | 2.0 08-Dec-92 | |
731 | - Rewrote the code totally, so started with a new | |
732 | version number. | |
733 | - Dropped Minix support, this code now is Linux - specific. | |
734 | - With TEST switch on, this init & telinit can | |
735 | run standalone for test purposes. | |
736 | ||
737 | 1.3, 05-Jul-92 | |
738 | - Got a 386, so installed Linux. Added 'soft' reboot | |
739 | to be default under linux. Fixed some typos. | |
740 | ||
741 | 1.2, 16-Jun-92 | |
742 | - Bugreport from Michael Haardt ; removed deadlock | |
743 | and added 'waitpid' instead of 'wait' for SYSV. | |
744 | ||
745 | 1.1, 30-Apr-92 | |
746 | - Read manual wrong: there is no 'action' field called | |
747 | process, but all entries are of type process. Every | |
748 | 'process' get exec'ed by /bin/sh -c 'exec command'. | |
749 | - Rapidly respawning processes are caught in the act. | |
750 | - _SYSV support is really Linux support, | |
751 | done by poe@daimi.aau.dk on 25-Mar-92. | |
752 | ||
753 | 1.0, 01-Feb-92 | |
754 | - Initial version, very primitive for the Minix | |
755 | operating system. Required some mods. to the | |
756 | kernel. | |
757 |