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