Debian Codegraph @

doc/Changelog

raw
1 sysvinit (3.18) unreleased; urgency=low
2 * Remove unneeded test script and references to it in Makefile.
3 * Fix man page translation.
4
5 sysvinit (3.17) released; urgency=low
6 * Fixed changelog.
7 * Remove systemd-to-shell script due to license conflict.
8 * Remove "set" variable from sulogin as it is unused.
9
10
11 sysvinit (3.16) released; urgency=low
12 * Clean up of inittab manual page by Bjarni Ingi Gislason.
13 * Clean up of init manual page by Bjarni Ingi Gislason.
14 * Improved systemd to sysv unit-to-script conversion.
15 Provided by avivdaum.
16 * Remove some debug/status messages when reading the /etc/inittab.d/
17 directory.
18 * Document how init reads the inittab.d directory in the inittab manual page.
19
20
21 sysvinit (3.15) released; urgency=low
22
23 * Patched manual page for runlevel command. This cleans up formatting and whitespace.
24 Patch provided by Bjarni Ingi Gislason.
25
26 * Fixed formatting in init manual page to indicate runlevel arguments
27 to telinit are not optional.
28
29
30 sysvinit (3.14) released; urgency=medium
31
32 * Re-introduced DESTDIR flag in src/Makefile to assist building on Arch.
33 * Fixed typo in init.8 manual page.
34 * Expand process length in inittab to allow a command line 253 characters
35 (up from 127). Expand child process structure to accomidate 253
36 and some buffer room for newline/NULL.
37 * Clear buffer when reading long lines from inittab, avoids garbage left
38 over from old lines with long commands or comments.
39 * Drop lines which are too long from inttab conf and log warning rather
40 than truncate.
41
42
43 sysvinit (3.13) released; urgency=low
44
45 * Adjusted manual page install location. Patch provided
46 by Mark Hindley.
47
48
49 sysvinit (3.12) released; urgency=low
50
51 * There were instances of the ctime() function being called in multiple files without
52 checking the return value (can be NULL) and without checking the length of the
53 returned information. While there _should_ never be a case where ctime() fails
54 assuming success and length of returned string isn't ideal (or future-proof).
55 We now check the return value of ctime() in bootlogd, dowall, last, logsave, and
56 shutdown. Where no valid value is returned we supply a dummy value (usually a
57 space in place of the expected time stamp). We also no longer assume returned string
58 is at least 11-16 characters.
59
60 * Re-commit flexible Makefile for GoboLinux.
61
62 * Make sure pty.h and sys/sysmacros.h are included when building bootlogd on
63 systems with glibc.
64
65 * Fixed typos and syntax in manual page for init.8.
66 Edits provided by : Bjarni Ingi Gislason.
67
68 * Allow setting of location of the /usr directory in src/Makefile.
69 This is handled by the usrdir variable.
70
71 * Make sure src/Makefile uses sysconfdir (/etc by default) when installing
72 configuration files.
73
74 * Fix typos and syntax in pidof manual page.
75
76
77
78 sysvinit (3.11) released; urgency=low
79
80 * Some escape characters were included in the inittab manual page, but not displayed
81 by the "man" command because they were not (ironically) properly escaped. This has been
82 fixed.
83
84 * Enabled chaining commands together in the inittab file. This allows the admin
85 to run commands like "task1 && task2" or "task2 || task2" from the inittab file.
86
87 * Fix typoes in halt manual page. Fixes provided by Bjarni Ingi Gislason.
88
89 * Fix typos/markdown in fstab-decode manual page.
90 Patch provided by Bjarni Ingi Gislason.
91
92
93 sysvinit (3.10) released; urgency=low
94
95 * When the user executes "machinectl stop", systemd sends SIGRTMIN+4 to PID 1
96 in the container, and expects that to initiate a graceful shutdown (power-off).
97 SysV init now catches this signal and initiates a shutdown (shutdown -hP now).
98 - floppym provided patch to accomplish this.
99
100 * Fix issue in bootlogd which could cause the service to enter an endless loop
101 (and use too much CPU) when it is able to open a device for writing, but not actually
102 able to write to it. This resulted in bootlogd closing and re-opening the device over
103 and over. Now bootlogd should simply fail gracefully when it cannot write to an open
104 file/device.
105
106 * Fix formatting in shutdown.8 manual page. Cleaned up whitespace and special characters.
107
108
109 sysvinit (3.09) released; urgency=low
110
111 * Patch for man/Makefile to fix the clean recipe.
112 Provided by Lucas Nussabaum and Mark Hindley
113
114 * On Linux systems, allow reboot command to pass a message
115 to the system firmware during the restart. This is
116 accomplished with the -m flag.
117
118 * Patch from kraj which allows hddown to compile
119 when musl is the C library.
120
121 sysvinit (3.08) released; urgency=low
122 * floppym provided patch which causes the halt command
123 to call "shutdown -h -H" instead of "shutdown -h" when
124 halt is invoked without parameters. This forces the shutdown
125 command to set the INIT_HALT variable and assume, unless other
126 conditions apply, that the "halt" call really wants to halt the
127 machine and INIT_HALT should be set. In other words we
128 assume halt wants to halt unless told otherwise.
129 Addresses downstream Gentoo bug ID 911257.
130
131 * Applied a patch from floppm which adds kexec option to the halt command.
132
133 * Updated halt documentation and help output to display parameters in
134 alphabetical order.
135
136
137 sysvinit (3.07) released; urgency=low
138 * Fixed killall5 so that processes in the omit list are
139 not sent any signals, including SIGSTOP.
140 * Fixed usage message for killall5 to be more accurate.
141 * pidof was not returning PIDs of programs which were launched
142 using a symbolic link. (ie /tmp/sleep when /tmp/sleep links to /usr/bin/sleep).
143 This is now fixed as we check both the realpath and symbolic path for processes.
144 In other words, "pidof /tmp/sleep" and "pidof /usr/bin/sleep" will return
145 the same PIDs when /tmp/sleep is a symbolic link to /usr/bin/sleep.
146 * Fixed memory initialization error in pidof. Fix provided by Markus Fischer.
147 * Accepted patch from Mark Hindley which avoids clearing realpath information
148 in pidof when trying to find matching executables.
149
150
151 sysvinit (3.06) released; urgency=low
152 * Mark Hindley fixed typo in es.po
153 * Mark Hindley cleaned up translation code in src/Makefile.
154 * Drop sulogin from Debian build. Removed libcrypt-dev dependency.
155 * Fixed pt translation pages which were failing due to mis-matched
156 open/close tags.
157 * Makefile now respects ROOT prefix when setting up pidof-to-killall5
158 symbolic link.
159 * Removed redundant translation files from man directory.
160 * Makefile now respects DESTDIR. User can specify either ROOT= or DESTDIR=
161 to set install prefix.
162
163
164 sysvinit (3.05) released; urgency=low
165 * Helge Kreutzmann provided updated Makefile for
166 translation of manual pages. This has been added
167 to the man directory.
168 * Added sys/sysmacros.h include in mountpoint.c to fix
169 compiler errors on systems where major/minor macros were not defined.
170 * Applied patches from Mark Hindley to clean up man page
171 Makefile, translations and installs of new man pages.
172 * Remove reliance on linux/fs.h as it conflicts with glibc 2.36.
173 Patch provided by lucascars.
174
175 sysvinit (3.04) released; urgency=low
176 * Mark Hindley supplied patch to make bootlogd compile
177 on GNU Hurd systems. Was missing major/minor macro.
178
179 sysvinit (3.03) released; urgency=low
180 * Fixed formatting in init.8 man page.
181 Patch provided by Mark Hindley.
182 * Fixed compile error on GNU Hurd and musl-base systems. Due to missing MAX_PATH definition.
183 Error reported by Mark Hindly.
184
185 sysvinit (3.02) released; urgency=low
186 * Added q and Q flags to synopsis in shutdown manual page.
187 * Applied fixes for markup and spacing in manual pages.
188 Patch provided by Mario Blattermann.
189 * Added translation framework (po4a) from Mario Blttermann.
190 * Added Makefile for man/ directory. Will handle translations
191 and substitutions.
192 * Applied new translations for multiple languages from Mario Blattermann.
193 * Added ability to use "@" symbol in command named in the inittab file. This
194 treats commands as literal and does not launch a shell to interpret them.
195 * Updated inittab manual page to include overview of symbols which trigger
196 a shell interpretor and how to disable them using the @ symbol.
197 * Introduced change which adds error checking in bootlogd when performing
198 chdir(). - Provided by Alexander Vickberg
199 * Add check for console using TIOCGDEV on Linux systems in bootlogd to
200 make finding console more robust. - Provided by Alexander Vickberg
201
202
203 sysvinit (3.01) released; urgency=low
204 * Default to showing processes in the uninterruptable state (D).
205 The -z flag no longer affects whether processes in D state are shown.
206 The -z flag does still toggle whether zombie (Z) processes are shown.
207
208 * Removed unnecessary check which is always true from init tab parsing.
209
210 sysvinit (3.00) released; urgency=low
211
212 * Applied patch from Matthias Schiffer which allows bootlogd to read from
213 a wider range of consoles. The console name is already passed in from the
214 kernel command line using "console=". We no longer filter out names as strictly
215 but do now check to confirm the "console=" device points to a valid TTY.
216
217 sysvinit (2.99) released; urgency=low
218
219 * Fixed typos and missing underlines in shutdown manual page.
220 Corrections provided by Helge Kreutzmann.
221
222 sysvinit (2.98) released; urgency=low
223
224 * Fixed time parsing in shutdown when there is a + in front of a 0 time offset.
225 Commands with a positive time offset (+1) would work but +0 fails.
226 This has been corrected by Arkadiusz Miskiewicz.
227
228 sysvinit (2.97) released; urgency=low
229
230 * Check $(ROOT) filesystem for libcrypt instead of a hardcoded path to /usr.
231 Added logsave and readbootlog to list of files git ignores.
232 - Patches provided by Petr Ovtchenkov.
233
234 * Code clean-up and making sure we avoid freeing unused memory.
235 Patch provided by David Hoyer.
236
237 * Added shell script from Trek which converts systemd unit files
238 into init.d style scripts.
239
240 * Added patch from Didier Gaudin which allows init to load configuration
241 data from files stored in /etc/inittab.d/
242
243 * Added patch from William Shipley which allows shutdown time to be specified
244 in the format +hh:mm. This is in addition to the existing formats such as
245 hh:mm, +m, and "now".
246
247 * Fixed typos in manual pages. Submitted by Helge Kreutzmann.
248
249
250 sysvinit (2.96) released; urgency=low
251
252 [ Jesse Smith ]
253
254 * Added -z command line parameter to pidof which tells pidof to
255 try to find processes in uninterruptible (D) or zombie (Z) states.
256 This can cause pidof to hang, but produces a more complete process
257 list.
258 Closes Savannah bug #56534
259
260 * Reformatted init code to make if/while logic more clear.
261
262 * Cleaned up some output from readbootlog.
263
264 * Added -e flag to bootlogd. When -e is used, data saved
265 to the boot log file does not have escape characters
266 removed. This means colour and cursor movement codes
267 stay in the log file. The may then look nicer when
268 read with "less -R', but may appear cluttered or
269 out of alignment when viewed with other, plain-text tools.
270 When -e is not used, escape characters are removed/filtered.
271 Closes Debian bug #672361.
272
273 * Make sure src/Makefile cleans up all executable files
274 when parent Makefile calls "make clean".
275
276
277 sysvinit (2.95) released; urgency=low
278
279 [ Jesse Smith ]
280
281 * Fixed various typos and control codes in manual pages.
282 Patch provided by Bjarni Ingi Gislason.
283 * Dropped "-f" format flag for pidof command as it
284 could be used to print information from memory or crash
285 pidof. Replaced flag with "-d" which allows for a custom
286 separator to be used between listed PIDs.
287 Patch supplied by KatolaZ.
288 * Updated manual page to describe -h and its modifiers (-H and -P)
289 in more detail. Should close Debian bug #374039.
290 * Use millisecond delays in init so that shutdown
291 can happen without a near-full-second delay after
292 all processes have terminated. Replaced do_sleep()
293 with do_msleep(), provided by Serge Belyshev.
294 * Replaced hardwired sleep constants in init.c with
295 defined constants for easy updating in the future.
296 * Accepted patch from Luc Gommans which explains why zombie and
297 deep sleep processes (Z and D) may be hidden from pidof.
298 * Removed link instruction against sepol library from src/Makefile.
299 This has no change to the resulting binary, just makes the
300 Makefile cleaner.
301
302 sysvinit (2.94) released; urgency=low
303
304 [ Jesse Smith ]
305
306 * When the halt command is called with the -p flag (or as poweroff)
307 the command now passes the "-h -P" flags to shutdown. This
308 in turn sets the INIT_HALT environment variable to POWEROFF.
309 Assuming this value is checked by initscripts during the
310 shutting down procedure, it should cause the system to
311 be powered off.
312 If halt is called without -p then the value of INIT_HALT
313 is not set and the default action (often set in /etc/default/halt)
314 is taken.
315 * Removed unnecessary malloc.h includes. Memory allocation
316 and freeing is now handled in stdlib.h
317 * Added defines for FreeBSD to make some components compile
318 on FreeBSD 11.
319 * Increased the size of the kernel command line buffer in bootlogd
320 from 256 characters to 4096. This size is defined in KERNEL_COMMAND_LENGTH
321 for easy modification downstream.
322 * Added logsave.c and logsave.8 manual page from e2fsprogs to make
323 sure logsave is available to initscripts.
324 * Updated src/Makefile to make sure bootlogd compiles with Clang.
325 * Use defined constants for password length in sulogin. Makes
326 it easier to update/patch later.
327 * Minor code fixes across multiple source files to avoid buffer
328 overflows, or uninitialized strings.
329 * Changed the way the "when" variable is used internally in shutdown.c.
330 It starts as a NULL pointer, then might get set as a pointer to optarg,
331 then it might get set to point to an argv parameter, then it might have
332 a string value copied into it, over-writing the original data. We should
333 not risk over-writing internal variables which might get used for something
334 else (it's rude and security risk). Set up "when" as its own buffer
335 that has data from optargs and/or argv copied into it.
336 * Fixed typo in init.8 manual page.
337 * Updated text of fstab-decode to explain what the utility does.
338
339
340 sysvinit (2.93) released; urgency=low
341
342 [ Jesse Smith ]
343
344 * Fixed typo in pidof which would prevent the -o (omit PID)
345 flag from working.
346 Fixes Debian bug ##913394.
347 * Fixed error where pidof would not omit checking PIDs passed
348 to it when the -o flag was used.
349 Fixes Debian bug #913394.
350
351
352 sysvinit (2.92) released; urgency=low
353
354 [ Jesse Smith ]
355
356 * The shutdown and init commands were using different default delays between
357 sending processes SIGTERM and SIGKILL - they were 3 and 5 seconds, respectively.
358 Unified these on 3 seconds, using a new defined value in init.h.
359 Updated shutdown manual page to reflect the change and better explain
360 how -t and -n flags work.
361 Updated the init manual page with the new default value.
362 The updated documentation resolves Debian bug #375274.
363 * Remove PC speaker beep from shutdown process in dowall.c.
364 Closes Debian bug #614893.
365 Patch provided by Andreas Fackler.
366 * Removed unused Version variable from wall.c.
367 * Updated halt/reboot manual page to acknowledge the -i
368 flag may not properly shut down network interfaces if the interface
369 does not have an IP address.
370 Addresses Debian bug #361935.
371 * Applied patch from Daniel Povey which should allow killall5/pidof to
372 avoid locking up if it encounters stopped or zombie processes
373 due to broken NFS mount points.
374 This should allow Debian bug #719273 to be closed.
375 * Applied patch from Regid Ichira to clarify shutdown command
376 line options. Updated manual page for shutdown.
377 Closes Debian bug #630661.
378 * shutdown command was setting environment variable INIT_HALT to
379 "POWERDOWN", this should have been "POWEROFF" as specified in the
380 manual page. Fixed code to match manual page and init scripts.
381 Closes Debian bugs #717531 and #590895
382 * Added -l flag to "last" command. When used it allows "last" to
383 display usernames longer than 8 characters long.
384 * Added -q and -Q flags to shutdown command to make the "system is going down"
385 message appear less often. The -q flag causes messages to only appear at the
386 10 minute, 5 minute and x-hour intervals.
387 The -Q flag maintains complete silence up until the final "now" warning.
388 * Mention GRUB as a potential boot loader in init page since LILO is
389 rarely used anymore, outside of Slackware.
390 * Swapped out ECHOPRT for ECHOE in stty settings when init brings up
391 emergency console. Should make backspace-erasing characters work
392 more naturally.
393 Closes Debian bug #402847.
394 * Updated src/Makefile to make sure we build all the software before
395 attempting to install.
396 * Removed typos from pidof manual page and killall5 page.
397 Closes Debian bugs #815839, #905245 and #890478
398 * Added -f <format> option to pidof program to allow printf
399 style formatting.
400 Closes Debian bug #571590
401 Thanks to Philipp Marek for the patch.
402 * Added new tool (readbootlog) which will read the /var/log/boot file
403 produced by bootlogd. The output is displayed cleaned up so there
404 are no control characters. This avoids the need to use sed or related
405 tools to try to clean up the contents of the log.
406 * Added manual page for readbootlog program. Updated bootlogd page
407 to reference it. Closes Debian bug #725123.
408 * Updated the shutdown manual page to try to make it more clear
409 where we are talking about an initscript called halt or the halt
410 program. Likewise whether we are talking about the shutdown process
411 or the specific shutdown program.
412 Should address Debian bug #374039.
413 * Added patch from Samuel Thibault to make project compile
414 on Hurd branch of Debian.
415
416
417 sysvinit (2.91) world; urgency=low
418
419 [ Jesse Smith ]
420
421 * Adjusted order of compile flags to make it easier for downstream
422 to adjust optimization level. Patch provided by Matias Fonzo.
423 Can now set optimization level in CFLAGS variable.
424 * Added --version command line flag to display current version info.
425 Updated manual page for init.8 to match.
426 * Version information is now fetched and defined by the Makefile.
427 No more need to update the version manually in the init.c source.
428 * The init process now writes the current runlevel to /var/run/runlevel.
429 This information can be read by the "runlevel" command as well as "halt"
430 and "reboot". Having the information logged in /var/run/runlevel as
431 well as the utmp file means systems without utmp (like those running
432 the musl C library) can still check the current runlevel. This is
433 useful when running halt/reboot as these programs want to check the
434 runlevel.
435 * Added patch from Walter Harms which allows pidof to run without
436 displaying output. In this mode pidof simply returns true or false
437 without displaying PID values.
438 Updated manual page with new -q (quiet) mode.
439 Added -h flag for pidof, which was recognized before, but not used.
440 The -h flag now displays brief usage information for pidof.
441 * Added check for kernel parameter init.autocon=1. If this exists, then
442 init will try to open its own console. If not, then any console=
443 parameters will be ignored. This avoids conflicts with native kernel
444 created consoles.
445
446 sysvinit (2.90) world; urgency=low
447
448 [ Jesse Smith ]
449 * Updated some comments in init.c to answer questions or
450 remove old notes we no longer need.
451 * Removed unneeded "count" variable in utmpdump.c.
452 * Fixed typo in accidental wrote_wtmp_rlevel == 0 || wrote_wtmp_rlevel
453 comparison so the latter is wrote_utmp_rlevel.
454 * Simplified logic in mountpoint.c when testing for same device or same inode.
455 Thanks to David Binderman for pointing out the above three issues.
456 * When we run shutdown and then the computer is put to sleep, the
457 shutdown command recognizes time has passed and continues its
458 countdown taking the time lapse into consideration. This prevents
459 longer waits if we slept past the time we should have shutdown.
460 Accurate to the nearest minute.
461 Closes Savannah bug #36279.
462 * Added document article and manual page for the initctl (/run/initctl)
463 named pipe. Makes it easier for people to communicate with and
464 extend communication to init.
465 * Added check that named pipe is open before trying to close it
466 when something goes wrong or we receive SIGUSER1. Avoids potential
467 crash if we receive SIGUSR1 while pipe is not open.
468 * Added new signal handler for SIGUSR2. When init receives SIGUSR2
469 it closes (and leaves closed) the named pipe /run/initctl. This
470 can be used to make sure init does not have any files open. However,
471 it also means we cannot switch run levels or bring down the system.
472 The pipe can be re-opened by sending init the SIGUSR1 signal.
473 * Added "Fall through" comments to some switch statements where multiple
474 approaches are tried in order to prevent warnings from GCC 7 (and newer).
475 (Thanks to Matias Fonzo for this fix.)
476 * Added includes on Linux for sys/sysmacros.h as the old defines in
477 the sys/types.h file will be removed in the future.
478 (Thanks to Matias Fonzo for this fix.)
479 * Removed old LSM file.
480 Added .gitignore files to avoid git tracking object files.
481 Removed old start-stop-daemon from contrib directory.
482 (Patches provided by Guillem Jover.)
483 * Cleaned up most warnings generated by GCC 7 & 8. We still
484 get some from faulty "nonstring" reports, but silencing them on
485 GCC 8 results in more warnings on GCC 7 and Clang, so leaving them
486 for now.
487 * Fixed compile error on Fedora 28 where crypt() will not link due to
488 undocumented dependency change.
489 * Updated Makefile to make sure correct version number and correct
490 version of files are used. Makefile was pulling from master to create
491 tarballs with old version information when trying to create beta
492 snapshot.
493 * Updated version information in init.c
494 * Updated compiler flag from -fstack-protector to -fstack-protector-strong
495 for better protection.
496 * Cleaned up toplevel Makefile so it stops creating unnecessary temporary
497 directories.
498 * Fixed typo in mountpoint.c. Patch provided by Radostin Stoyanov.
499
500
501 sysvinit (2.89) world; urgency=low
502
503 [ Jesse Smith ]
504 * Updated mountpoint command with -p flag. The -p flag causes
505 mountpoint to search for circular mount points. For example, if
506 /a/b/c/d is a mount point for /a/b then the former is a valid
507 mount point. This only works on Linux since it uses /proc/mounts.
508 Updated manual page to match. This fix closes Savannah bug #37114.
509 * Removed two sleep calls when we are doing sync anyway to make sure
510 data is being written. Speeds up reboot time by about two seconds.
511 * Fixed Clang compiler warning regarding variable data parameters to sprintf().
512 * Updated top-level Makefile to work with git repo instead of old svn repo.
513 * Removed unused variables and findtty() function in bootlogd
514 * Add checks to return code for fscanf() called in init.c.
515 This mostly just cleans up compiler warnings.
516 * Perform error check on setuid() call as suggested in manual page.
517 * Fix typo in killall5.c
518 Move initscript sample file from "src" to "doc" directory and updated
519 Makefile to match.
520 * Allow multiple console output
521 When booting a kernel with multiple serial console support, or multuiple
522 console arguments ala "console=tty1 console=ttyS0,9600" the kernel will output
523 messages to all consoles, init however will not. It will only send output to,
524 and accept input from, the last of the consoles.
525 This patch fixes it.
526 (Patch provided by Martin Buck.)
527 * Added Patch from Debian developer Mats Erik Andersson to make
528 ioctl work on GNU/kFreeBSD. Patches bootlogd.
529 * Added Robert Millan's Debian patch to set TERM variable to xterm (instead
530 of cons25) when running on GNU/kFreeBSD.
531 * Added Robert Millan's Debian patch to use /run/initctl as the named
532 pipe for communicating. This works around a limitation on the kFreeBSD
533 branch which prevents us from using /dev/initctl for pipes.
534 * Confirmed we have applied Guillem Jover's patch to make
535 ifdown work on FreeBSD.
536 * Confirmed we have Debian patch to fix enabling SELinux.
537 (Credit to Petter Reinholdtsen)
538 * Confirmed we have Debian patch to make sure utf-8 flag is not cleared from tty.
539 (Credit to Samuel Thibault)
540 * Confirmed we have Roger Leigh's Makefile patch to allow building
541 with multiarch libcrypt.
542 * Applied Justus Winter's symlink patch to make sure killall5
543 builds and runs on Hurd.
544 * Confirmed we have Werner Fink's PATH_MAX patch for getting
545 killall5 to build on Hurd.
546 * Made sure we have Petter Reinholdtsen's patch to init.c which
547 allows init to build on GNU/kFreeBSD despite missing VSWTC.
548 * Dropping Debian patch to use /run/nologin instead of /etc/nologin in paths.h.
549 Seems every distribution uses a different location. Oracle uses /etc/nologin,
550 CentOS seems to use /var/run/nologin.
551 We will use /etc/nologin and let distros patch to suit their own preference.
552 * Updated halt.8 man page with corrections from
553 Christoph Anton Mitterer.
554 * Confirmed we have applied patch from Bjarni Ingi Gislason
555 which fixes typo in fstab-decode man page.
556 * Applied Debian patch to allow init to build on GNU Hurd.
557 (Credit: Roger Leigh)
558 * Confirmed we have Debian patch from developer Johannes Truschnigg
559 which informs the user of field size limit.
560 * Applied patch from Debian to the init manual page (init.8)
561 to better address runlevels. (Author unknown)
562 * The pidof command used to discover the correct PID of
563 a process even if the wrong path was given. For example
564 pidof /wrongpath/sleep would find the PID of a command run as "sleep".
565 This bug was reported on Launchpad for Ubuntu and on Savannah.
566 https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1546126
567 http://savannah.nongnu.org/bugs/?47196
568 This bug appears to have been fixed in the development branch,
569 allowing these bugs to be tested/closed.
570 * Confirmed Savannah bug #37114 (mountpoint does not detect
571 mount points using --bind on same file system) still exists,
572 but fixed in Debian and Red Hat.
573 Considering this bug closed since distributions are using
574 util-linux's mountpoint program and ours is no longer
575 built/used by default.
576 Considered importing util-linux mountpoint but that would duplicate
577 effort and pull in a new dependency on libmount.
578 * Problem with pidof breaks after prelink (Savannah bug #34992)
579 fixed. Patch supplied by Dave Dykstra.
580 * Patch to automatically spawn a getty on kernel consoles
581 The feature is useful for developers and admins that occasionally need
582 to boot with e.g. console=ttyS0.
583 The built in default can be overridden via inittab for each device. An
584 entry like "S0::off:" turns off the getty on ttyS0.
585 characters in log file. Also makes parsing easier.
586 This should close Savannah bug report 36528.
587 http://savannah.nongnu.org/bugs/?36528
588 * Applied patches provided in Savannah bug report 49991. Fix tabs in
589 bootlogd and avoid printing uninitialized "buf" variable when
590 consolename() fails.
591
592 [ Werner Fink ]
593 * Do not forget room for last NULL of new environment (was
594 local bug 35866)
595 * Handle deleted binaries in pidof (was local bug #34992)
596 * Allow init to delete extra environment variables (was local bug
597 #35858)
598 * Avoid that init double environment variables for its children
599 (was local bug #35855)
600 * Remove man-db tag for encoding for canonical man
601 * Sulogin: try to detect the real device(s) used for the system console
602 /dev/console if but only if /dev/console is used. On Linux this can
603 be more than one device, e.g. a serial line as well as a virtual
604 console as well as a simple printer.
605 * Fix counting message lines in wall. Patch from Petr Lautrbach.
606 * Fix bad printf conversion specifier in wall. Patch from Sébastien Luttringer.
607 * Add patches from Openwall project. Thanks goes to Solar Designer.
608 * Add code to detect the system consoles with the help of the
609 new /proc/consoles files of linux kernel 2.6.38+
610 * Try to make utmpdump IPv6 valid, change based on suggestion from
611 Navdeep Bhatia (see local bug #32429)
612 * Fix signal and alarm handling based on the patch from Florent Viard.
613 (was local bug #32304)
614 * Add fix for Redhat bug #573346: last incorrectly displays IPv6
615 addresses (was local bug #29497)
616 * Correct fix for Debian bug #547073: use IUTF8 flag if defined
617 and if already set to make sure the utf-8 flag is not cleared
618 from the tty. Patch from Samuel Thibault.
619 * Include limits.h in killall.c to enforce definition of PATH_MAX
620 * Fix sysvinit bug #29758 Linker invocation should not contain
621 headers. Change based on patch from Elias Pipping.
622 * Add fix for Debian bug #580272: use return value 1 of
623 is_selinux_enabled() to determine if SELinux is enabled,
624 otherwise initialize SELinux and load the policy. Patch from
625 Petter Reinholdtsen.
626 * Make quotes visible in example of the manual page of fstab-decode
627 * Sulogin: enforce reconnection of stdin/stdout/stderr if a device
628 was specified.
629 * Sulogin: if zero is read at reading the passwd guess it's done.
630 * Sulogin: respect byte order that is do not mix chars and ints
631 * Shutdown: use PATH_DEFAULT as suggested by Paul Arthur in local bug #36101
632 * Killall5/pidof: handle strange names of executables (local bug #36252)
633 * Sulogin: be aware the crypt(3) may fail (local bug #36313)
634
635 [ Petter Reinholdtsen ]
636 * Next release will be 2.89dsf.
637 * Add #ifdef in bootlogd.c to avoid gcc warnings about unused
638 variable on non-linux platforms.
639 * Only set the VSWTC field for termios in init if it is available,
640 to get the source building on FreeBSD.
641 * Add some code to be able to detect programs even as user with
642 kernel 3.0 and above
643 * Improve message printed when signaling processes to stop.
644 Patch from Matias A. Fonzo at the dragora project.
645 * Rename internal functions warn() and shutdown() in the shutdown
646 binary to avoid surprising dynamic library name resolution
647 conflict with NSS modules. Patch from Richard Tollerton.
648 * Try harder to find libcrypt.*, even if there is no static library
649 available. Also look in /usr/lib/*/ for the library, to handle
650 Debian multiarch systems. Based on patch from Andrew Gregory.
651 * Adjust included headers to be compatible with the musl C
652 library. Patch from Matias A. Fonzo and Dragora.
653 * Move dovoid() macro from #ifdef__GLIBC__ to #ifdef __linux__,
654 to match the condutions of the place where it is used. Thanks
655 to Matias A. Fonzo for noticing.
656 * Define _XOPEN_SOURCE when building to get crypt() from <unistd.h>
657 instead of using <crypt.h> in sulogin.c, to get the source building
658 with the musl C library.
659 * Use sysconf(_SC_SYMLOOP_MAX) instead of MAXSYMLINKS. If sysconf
660 returns an error, fall back to MAXSYMLINKS on platforms that
661 define it. Fixes build on Hurd. Patch from Justus Winter and
662 Debian.
663 * Adjust makefile to make it easier to link all binaries statically.
664 Patch from Matias A. Fonzo and Dragora.
665 * Rewrite findtty() in bootlogd.c to not chance working directory, to
666 reduce the amount of failure that can happin in that function.
667 * Adapt bootlogd TIOCCONS call to kfreebsd. Patch from Mats Erik
668 Andersson and Debian.
669 * Document length limit for the process field in the inittab. Patch
670 from Johannes Truschnigg and Debian.
671 * Fix typo in fstab-decode(8) font escape. Patch from Bjarni Ingi
672 Gislason and Debian.
673 * Port ifdown.c to FreeBSD. Patch from Guillem Jover and Debian.
674 * Drop dsf part from version number. It no longer make sense to keep.
675 * Remove obsolete/ directory from tarball. None of it have been useful
676 for many years.
677 * Make it possible to specify the initctl path as a compile time
678 define INIT_FIFO.
679 * Use narrowly scoped file descriptor for handling opened TTY in
680 spawn(). Patch from Michał Kulling.
681 * Check exit code from dup() in spawn() and log error if it fail.
682 Patch from Michał Kulling.
683
684 -- Petter Reinholdtsen <[email protected]> Sun Apr 11 11:28:55 CEST 2010
685
686 sysvinit (2.88dsf) world; urgency=low
687
688 [ Petter Reinholdtsen ]
689 * Mention new home on Savannah in README.
690 * Revert change from Fedora/RedHat where the now obsolete command
691 INIT_CMD_CHANGECONS was introduced. Based on feedback and patch
692 from Bill Nottingham.
693 * Adjust makefile to make sure the install directories are created
694 before files are copied into them.
695 * Simplify build rules, based on patch from Mike Frysinger and Gentoo.
696 * Fix minor bug in optimizing of argument parsing. Based on
697 report from jakemus on freshmeat.
698 * Add casts to get rid of compiler warning about signed/unsigned issues.
699 * Change tty handling in init to make sure the UTF-8 flag is not cleared
700 on boot. Patch from Samuel Thibault.
701 * Add Makefile in toplevel directory.
702 * Print usage information when shutdown is used by non-root user.
703 Patch from Mike Frysinger and Gentoo.
704 * Sync shutdown manual page and usage information. Patch from Mike
705 Frysinger and Gentoo.
706 * Fix race condition in utmp writing. Patch from Gil Kloepfer via
707 Mike Frysinger and Gentoo.
708 * Rewrite findtty() in bootlogd to recursively search /dev/ for the
709 correct device, to handle terminal devices for example in /dev/pty/.
710 Patch from Debian.
711 * Make sure bootlogd findpty() returns an error value when it fails to
712 find a usable pty. Patch from Rob Leslie via Debian.
713 * Make sure bootlogd fflush() every line, even if asked not to flush
714 to disk using fdatasync(). Patch from Scott Gifford via Debian.
715 * Add compatibility code to handle old path "/etc/powerstatus" for a
716 while.
717 * Include definition for MNT_DETACH which is missing in older GNU libc
718 headers.
719 * Do not strip binaries before installing them, to make it easier to
720 get binaries with debug information installed.
721
722 [ Werner Fink ]
723 * Add the comment from Andrea Arcangeli about the correct
724 place of setting the default childhandler within spawn().
725 * Make sure that newline is printed out for last(1) even
726 if an utmp record entry is truncated.
727 * Check if utmp not only exists but also is writable and delay
728 writing out of the utmp runlevel record if utmp is not writable.
729 * Be able to find libcrypt also on 64 bit based architectures.
730 * Add option -w to the last command to display the full user and
731 domain names in the output. Patch from Petr Lautrbach.
732 * Add a manual page for utmpdump as this tool is sometimes
733 very useful even if not intended for normal use.
734 * Use paths.h macros for wall
735 * Change path "/etc/powerstatus" to "/var/run/powerstatus"
736 * Detected also removable block devices at halt/reboot to be able
737 to flush data and send them the ATA standby command. This should
738 avoid data loss on USB sticks and other removable block devices.
739 * Flush block devices on halt/reboot if not done by the kernel.
740 * Set SHELL to /bin/sh in the environmant of shutdown.
741 * Retry to write out shutdown messages if interrupted.
742 * pidof/killall5 - make omit pid list a dynamic one.
743 * pidof - provide '-n' to skip stat(2) syscall on network based FS.
744 * init - avoid compiler warnings
745 * init - initialize console by using the macros from ttydefaults.h
746 * init - add the possibility to ignore further interrupts from keyboard
747 * init - add the possibility to set sane terminal line settings
748 * sulogin - add the possibility to reset the terminal io
749 * Fix some minor problems
750 * init - enable is_selinux_enabled() to detect selinuxfs
751 * Add fix for Debian bug #536574 -- Can be enabled by -DACCTON_OFF
752 * Add helper program fstab-decode to make it easier to handle
753 /etc/mtab content. Patch by Miloslav Trmac and Fedora.
754 * Add fix for Debian bug #335023 - Make sure TERM is set on FreeBSD.
755 * Add fix for Debian bug #374038 - Make it clear that shutdown -c can
756 only cancel a waiting shutdown, not an active one.
757 * Add note to pidof manual page about the use of readlink(2). Patch by
758 Bill Nottingham and Fedora.
759 * Add PAM patch contrib/notify-pam-dead.patch based on Debian bug
760 #68621, which will add PAM support for programs spawned by init on
761 the console like sulogin. Based on patch by Topi Miettinen. This
762 patch is not applied by default yet while we review its
763 usefulness. It is only helpful for session handling, as sulogin
764 do not use and will not use a PAM conv() function. The current
765 sulogin is able to handle DES as well as MD5, SHA, and Blowfish
766 encrypted passwords due using getpwnam(3).
767 * Move utmp/wtmp before the execvp() in spawn() to be sure to
768 use the correct pid even on a controlling tty
769 * Remaining problem is that the pid of the second fork() for
770 getting a controlling tty isn't that reported by spawn()
771 * Re-enable writing utmp/wtmp for boot scripts
772 * Extend sulogin to support additional encryption algorithms
773 * Re-enable maintenance message of sulogin
774 * Enable the sulogin fallback password check to handle MD5, SHA, and
775 Blowfish encrypted passwords in case of getpwnam(3) fails.
776 * sulogin picking the SELinux context was broken. Patch by Daniel Walsh
777
778 -- Petter Reinholdtsen <[email protected]> Sun Apr 11 11:28:55 CEST 2010
779
780 sysvinit (2.87dsf) world; urgency=low
781
782 * Fix typos and do minor updates in the manual pages.
783 * Correct section of mountpoint(1).
784 * Document -e and -t options for telinit in init(8).
785 * Update address of FSF in the COPYRIGHT file.
786 * Document in halt(8) that -n might not disable all syncing.
787 Patch by Bill Nottingham and Fedora
788 * Adjust output from "last -x". In reboot lines, print endpoint
789 of uptime too. In shutdown lines print downtimes rather than
790 the time between downs. Fix typo in string compare in last.c.
791 Patch by Thomas Hood.
792 * Improve handling of IPv6 addresses in last. Patch from Fedora.
793 * Document last options in usage information, previously only
794 mentioned in the manual page.
795 * Add new option -F to last, to output full date string instead
796 of the short form provided by default. Patch from Olaf Dabrunz
797 and SuSe.
798 * Adjust build rules to make sure the installed binaries
799 are stripped.
800 * Increase the compiler warning level when building.
801 * Fix utmp/wtmp updating on 64-bit platforms. Patch by Bill
802 Nottingham and Fedora.
803 * Avoid unchecked return value from malloc() in utmpdump.
804 Patch from Christian 'Dr. Disk' Hechelmann and Fedora.
805 * Make sure to use execle and no execl when passing environment to
806 the new process. Patch from RedHat.
807 * Correct init to make sure the waiting status is preserved across
808 re-exec. Patch from RedHat.
809 * Correct init to avoid race condition when starting programs during
810 boot. Patch from SuSe.
811 * Allow 'telinit u' in runlevels 0 and 6. Patch from Thomas Hood.
812 * Change install rules to make pidof an absolute symlink. Patch from
813 Thomas Hood.
814 * Improve error message from init if fork() fail. Patch found in Suse.
815 * Add support for SE Linux capability handling. Patch from Manoj
816 Srivastava, adjusted to avoid aborting if SE policy was loaded in
817 the initrd with patch from Bill Nottingham and Fedora.
818 * Add -c option to pidof for only matching processes with the same
819 process root. Ignore -c when not running as root. Patch from
820 Thomas Woerner and Fedora.
821 * Adjust init to terminate argv0 with one 0 rather than two so that
822 process name can be one character longer. Patch by Kir Kolyshkin.
823 * Make sure bootlogd exit with non-error exit code when forking of
824 the child successfully.
825 * Add bootlogd option -s to make it possible to control the use of
826 fdatasync(). Patch from Thomas Hood.
827 * Add bootlogd option -c to tell it to create the log file if it does
828 not exist. Patch from Thomas Hood.
829 * Let bootlogd also look at ttyB* devices to work on HPPA. Patch
830 from Thomas Hood.
831 * Change init to use setenv() instead of putenv, make sure the PATH
832 value is usable on re-exec. Patch from Thomas Hood.
833 * Add usleep in killall5 after killing processes, to force the kernel
834 to reschedule. Patch from SuSe.
835 * Modify pidof to not print empty line if no pid was found.
836 * Modify init and sulogin to fix emergency mode's tty, making sure ^C
837 and ^Z work when booting with 'emergency' kernel option. Patch from
838 Samuel Thibault.
839 * Modify init to allow some time for failed opens to resolve themselves.
840 Patch from Bill Nottingham and Fedora.
841 * Modify init to shut down IDE, SCSI and SATA disks properly. Patches
842 from Sebastian Reichelt, Werner Fink and SuSe.
843 * Modify wall to use UT_LINESIZE from <utmp.h> instead of hardcoded
844 string lengths. Patch from SuSe.
845 * Change wall to make halt include hostname in output.
846 * Change killall to avoid killing init by mistake. Patch from SuSe.
847 * Change killall5 to use the exit value to report if it found any
848 processes to kill. Patch from Debian.
849 * Add option -o opmitpid to killall5, to make it possible to skip
850 some pids during shutdown. Based on patch from Colin Watson and
851 Ubuntu.
852 * Add references between killall5 and pidof manual pages. Patch from Debian.
853 * Modify killall to work better with user space file system, by
854 changing cwd to /proc when stopping and killing processes, and
855 avoiding stat() when the value isn't used. Also, lock process
856 pages in memory to avoid paging when user processes are stopped.
857 Patch from Debian and Goswin von Brederlow with changes by Kel
858 Modderman.
859 * Change shutdown to only accept flags -H and -P with the -h flag,
860 and document this requirement in the manual page.
861 * Change reboot/halt to work properly when used as a login shell.
862 Patch by Dale R. Worley and Fedora.
863 * Let sulogin fall back to the statically linked /bin/sash if both roots
864 shell and /bin/sh fail to execute.
865
866 -- Petter Reinholdtsen <[email protected]> Sun, 12 Jul 2009 19:58:10 +0200
867
868 sysvinit (2.86) cistron; urgency=low
869
870 * Fixed up bootlogd to read /proc/cmdline. Also keep an internal
871 linebuffer to process \r, \t and ^H. It is becoming usable.
872 * Applied trivial OWL patches
873 * Block signals in syslog(), since syslog() is not re-entrant
874 (James Olin Oden <[email protected]>, redhat bug #97534)
875 * Minor adjustments so that sysvinit compiles on the Hurd
876 * killall5 now skips kernel threads
877 * Inittab entries with both 'S' and other runlevels were broken.
878 Fix by Bryan Kadzban <[email protected]>
879 * Changed initreq.h to be more flexible and forwards-compatible.
880 * You can now through /dev/initctl set environment variables in
881 init that will be inherited by its children. For now, only
882 variables prefixed with INIT_ can be set and the maximum is
883 16 variables. There's also a length limit due to the size
884 of struct init_request, so it should be safe from abuse.
885 * Option -P and -H to shutdown set INIT_HALT=POWERDOWN and
886 INIT_HALT=HALT as environment variables as described above
887 * Add "mountpoint" utility.
888 * Slightly better algorithm in killall5.c:pidof()
889 * Added some patches from fedora-core (halt-usage, last -t,
890 sulogin-message, user-console)
891
892 -- Miquel van Smoorenburg <[email protected]> Fri, 30 Jul 2004 14:14:58 +0200
893
894 sysvinit (2.85) cistron; urgency=low
895
896 * Add IPv6 support in last(1)
897 * Sulogin: even if the root password is empty, ask for a password-
898 otherwise there is no way to set a timeout.
899 * Removed support for ioctl.save.
900 * Turned of support for /etc/initrunlvl and /var/run/initrunlvl
901 * Fixed warts in dowall.c ("Dmitry V. Levin" <[email protected]>)
902 * Fix init.c::spawn(). The "f" variable was used both as file descriptor
903 and waitpid(2) return code. In certain circumstances, this leads to
904 TIOCSCTTY with wrong file descriptor (Vladimir N. Oleynik).
905 * Fix fd leak in sulogin (Dmitry V. Levin).
906 * More error checking in all wait() calling code (Dmitry V. Levin).
907 * Fix argv[] initialization in spawn() (Dmitry V. Levin).
908 * Change strncpy to strncat in most places (Dmitry V. Levin).
909
910 -- Miquel van Smoorenburg <[email protected]> Tue, 15 Apr 2003 16:37:57 +0200
911
912 sysvinit (2.84) cistron; urgency=low
913
914 * Don't use /etc/initlvl interface for telinit; only use /dev/initctl,
915 and give a clear error when that fails.
916 * Add -i/--init command line flag to init - this tells init
917 'behave as system init even if you're not PID#1'. Useful for
918 testing in chroot/jail type environments.
919
920 -- Miquel van Smoorenburg <[email protected]> Tue, 27 Nov 2001 13:10:08 +0100
921
922 sysvinit (2.83) cistron; urgency=low
923
924 * Fix bug in shutdown where it didn't check correctly for a
925 virtual console when checking /etc/shutdown.allow
926 * Fix race condition in waitpid() [Andrea Arcangeli]
927 * Call closelog() after openlog()/syslog() since recent libc's
928 keep the logging fd open and that is fd#0 aka stdin.
929
930 -- Miquel van Smoorenburg <[email protected]> Tue, 2 Oct 2001 23:27:06 +0200
931
932 sysvinit (2.82) cistron; urgency=low
933
934 * Print out correct version number at startup.
935 * Fix spelling of initttab in init(8)
936
937 -- Miquel van Smoorenburg <[email protected]> Thu, 23 Aug 2001 17:50:44 +0200
938
939 sysvinit (2.81) cistron; urgency=low
940
941 * Fix typo/bug in killall5/pidof, -o option failed to work since 2.79.
942 Reformatted source code to prevent this from happening again.
943 * shutdown.8: applied redhat manpage update
944 * sulogin: applied redhat sysvinit-2.78-sulogin-nologin.patch
945 * sulogin: applied redhat sysvinit-2.78-notty.patch
946 * sulogin: applied redhat sysvinit-2.78-sigint.patch
947
948 sysvinit (2.80) cistron; urgency=low
949
950 * Grammar/spelling fixes in shutdown.c (Christian Steinrueck)
951 * Don't set controlling tty for non-(sysinit,boot,single) runlevels
952
953 -- Miquel van Smoorenburg <[email protected]> Thu, 26 Jul 2001 13:26:56 +0200
954
955 sysvinit (2.79) cistron; urgency=low
956
957 * New upstream version
958 * several fixes to wall by Tim Robbins <[email protected]>
959 * Several extra boundary checks by Solar Designer
960 * Make /dev/console controlling tty
961 * Stricter checks on ownership of tty by mesg(1)
962 * Documented and restricted -n option to wall(1)
963 * Make it compile with glibc 2.2.2
964 * Document IO redirection in wall manpage (closes: #79491)
965 * Update README (closes: #85650)
966 * Fix init.8 manpage (closes: #75268)
967 * Fix typo in halt(8) manpage (closes: #67875)
968 * Check time argument of shutdown(8) for correctness (closes: #67825)
969 * Check for stale sessions in last(1) (Chris Wolf <[email protected]>)
970
971 -- Miquel van Smoorenburg <[email protected]> Wed, 4 Jul 2001 15:04:36 +0200
972
973 sysvinit (2.78-2) frozen unstable; urgency=high
974
975 * Change "booting" to "reloading" message at reload
976 * Add "-z xxx" dummy command line argument (closes: #54717)
977
978 -- Miquel van Smoorenburg <[email protected]> Fri, 11 Feb 2000 12:17:54 +0100
979
980 sysvinit (2.78-1) unstable; urgency=low
981
982 * 2.78 will be the new upstream version, I'm skipping 2.77
983 * Shutdown now calls sync before switching the runlevel to 0 or 6,
984 or before unmounting filesystems if -n was used (closes: #46461)
985 * Some cosmetic changes to init.c (closes: #32079)
986
987 -- Miquel van Smoorenburg <[email protected]> Thu, 30 Dec 1999 20:40:23 +0100
988
989 sysvinit (2.77-2) unstable; urgency=low
990
991 * Fix last -i option
992
993 -- Miquel van Smoorenburg <[email protected]> Tue, 5 Oct 1999 21:51:50 +0200
994
995 sysvinit (2.77-1) unstable; urgency=low
996
997 * Write reboot record into utmp file as well to make rms happy
998 * Fork and dump core in / if SIGSEGV is received for debugging purposes
999 * Patch by Craig Sanders <[email protected]> for "last" -i option
1000
1001 -- Miquel van Smoorenburg <[email protected]> Wed, 4 Aug 1999 11:16:23 +0200
1002
1003 sysvinit (2.76-4) unstable; urgency=low
1004
1005 * Change dowall.c to handle Unix98 ptys correctly
1006 * Add comment in rcS about usage of setup.sh and unconfigured.sh
1007 * Shutdown now removes nologin file just before calling telinit
1008 * SEGV handler now tries to continue after sleep of 30 seconds.
1009 On a 386-class processor it also prints out the value of EIP.
1010 * Fix for racecondition in check_init_fifo() by Richard Gooch
1011
1012 -- Miquel van Smoorenburg <[email protected]> Sat, 8 May 1999 17:22:57 +0200
1013
1014 sysvinit (2.76-3) frozen unstable; urgency=high
1015
1016 * Small bugfix to last.c courtesy of Danek Duvall <[email protected]>
1017
1018 -- Miquel van Smoorenburg <[email protected]> Tue, 12 Jan 1999 12:12:44 +0100
1019
1020 sysvinit (2.76-1) frozen unstable; urgency=high
1021
1022 * Fix bug in check_pipe() which crashes init on the Alpha.
1023
1024 -- Miquel van Smoorenburg <[email protected]> Tue, 3 Nov 1998 11:09:13 +0100
1025
1026 sysvinit (2.75-4) unstable; urgency=low
1027
1028 * Change sulogin password buffer to 128 characters.
1029 * Don't print control characters in dowall.c
1030 * Try to open getenv ("CONSOLE"), /dev/console and /dev/tty0 in order.
1031 For backwards compatibility when you try to boot a 2.0.x kernel
1032 with a linux > 2.1.70 /dev/console device.
1033 * Change src/Makefile for non-debian systems (mainly, RedHat)
1034 * Try to create /dev/initctl if not present; check every time to see
1035 if the dev/ino of /dev/initctl has changed and re-open it. This should
1036 help devfs a bit.
1037 * Send SIGUSR1 to init at bootup to let it re-open /dev/initctl;
1038 again in support of devfs.
1039 * Moved pidof to /bin (it's only a link to killall5 anyway)
1040
1041 -- Miquel van Smoorenburg <[email protected]> Mon, 5 Oct 1998 14:03:14 +0200
1042
1043 sysvinit (2.75-2) frozen unstable; urgency=medium
1044
1045 * Fix last.c again.
1046 * Add check to see if /dev/initctl is really a FIFO
1047 * In ifdown.c first down all shaper devices then the real devices
1048
1049 -- Miquel van Smoorenburg <[email protected]> Tue, 2 Jun 1998 22:43:01 +0200
1050
1051 sysvinit (2.75-1) frozen unstable; urgency=low
1052
1053 * Rewrote last.c to be much more memory friendly and correct,
1054 thanks to Nick Andrew <[email protected]> and
1055 David Parrish <[email protected]>
1056 * Fixes bugs:
1057 #21616: sysvinit: sulogin thinks md5 root password is bad
1058 #21765: sysvinit: Typo in `killall5.c'
1059 #21775: sysvinit: sysvinit does not support MD5 hashed passwords
1060 #21990: /usr/bin/last: unnecessary memset and off-by-one bug
1061 #22084: sysvinit 2.74-4: SIGPWR missing on sparc
1062 #21900: init, powerfail events, and shutdown.allow
1063 #21702: init 0 does not work as expected...
1064 #21728: sysvinit: Typo in `init.c'
1065 #22363: sysvinit: discrepance btw. manpage and /sbin/init
1066
1067 -- Miquel van Smoorenburg <[email protected]> Tue, 19 May 1998 11:02:29 +0200
1068
1069 sysvinit (2.74-4) frozen unstable; urgency=medium
1070
1071 * Add -o option to last to process libc5 utmp files.
1072 * Buffer overflow fixed in init.c (not very serious; only exploitable
1073 by root). Thanks to Chris Evans <[email protected]>
1074
1075 -- Miquel van Smoorenburg <[email protected]> Wed, 15 Apr 1998 17:04:33 +0200
1076
1077 sysvinit (2.74-1) unstable; urgency=low
1078
1079 * Should compile with glibc 1.99 :)
1080 * Change behaviour of reboot(1) and halt(1) so that the default when
1081 the runlevel can't be determined is to call shutdown.
1082 * Added re-exec patch from Al Viro (21 Feb 1998):
1083 'U' flag added to telinit. It forces init to re-exec itself
1084 (passing its state through exec, certainly).
1085 May be useful for smoother (heh) upgrades.
1086 24 Feb 1998, AV:
1087 did_boot made global and added to state - thanks, Miquel.
1088 Yet another file descriptors leak - close state pipe if
1089 re_exec fails.
1090
1091 -- Miquel van Smoorenburg <[email protected]> Thu, 12 Mar 1998 17:42:46 +0100
1092
1093 sysvinit (2.73-2) unstable; urgency=low
1094
1095 * Change _NSIG to NSIG for 2.1.x kernel includes.
1096
1097 -- Miquel van Smoorenburg <[email protected]> Thu, 8 Jan 1998 16:01:02 +0100
1098
1099 sysvinit (2.73-1) unstable; urgency=low
1100
1101 * Use siginterrupt, now that system calls are restarted by default.
1102 Main symptom was that the sulogin timeout didn't work but there
1103 might have been more hidden problems.
1104 * Kill process immediately if turned off in inittab
1105 * Fixed sulogin check on tty arg.
1106 * Use strerror() instead of sys_errlist
1107 * wall now supports a '-n' option to suppress [most of] the banner.
1108 Debian doesn't use sysvinit's wall, but apparently Redhat does.
1109 * Add '-F' (forcefsck) option to shutdown
1110 * Close and reopen /dev/initctl on SIGUSR1 (mainly for a /dev in ram)
1111
1112 -- Miquel van Smoorenburg <[email protected]> Sat, 3 Jan 1998 16:32:39 +0100
1113
1114 sysvinit (2.72-3) unstable; urgency=low
1115
1116 * Add extra fork() in dowall.c to avoid hanging in rare cases
1117
1118 -- Miquel van Smoorenburg <[email protected]> Wed, 22 Oct 1997 14:44:00 +0200
1119
1120 sysvinit (2.72) unstable; urgency=low
1121
1122 * Applied manual page patches by Bill Hawes <[email protected]>. Thanks Bill!
1123 * Applied patches to the sample Slackware scripts by
1124 "Jonathan I. Kamens" <[email protected]>
1125 * Fix halt and reboot runlevels 0 & 6 check.
1126 * Only say "no more processes left in runlevel x" once
1127 * Fix race condition with SIGCHLD in spawn()
1128 (thanks to Alon Ziv <[email protected]>)
1129 * Compress all manpages (missed 2)
1130 * Compiled for libc6
1131 * Added poweroff patch by Roderich Schupp <[email protected]>
1132
1133 -- Miquel van Smoorenburg <[email protected]> Sun, 12 Oct 1997 17:20:17 +0200
1134
1135 sysvinit (2.71-2) frozen unstable; urgency=low
1136
1137 * Print 2.71 instead of 2.70 on startup :)
1138
1139 -- Miquel van Smoorenburg <[email protected]> Mon, 5 May 1997 12:45:25 +0200
1140
1141 sysvinit (2.71-1) frozen unstable; urgency=high
1142
1143 * Added code for updwtmp() in utmp.c for glibc (2.0.3)
1144 * Fixed all programs to use functions from utmp.c and getutent()
1145 * Do not try to clean up utmp in init itself (Bug#9022)
1146 * Removed sync() from main loop.
1147 * Hopefully fixes bug #8657 (shutdown signal handling)
1148
1149 -- Miquel van Smoorenburg <[email protected]> Sat, 26 Apr 1997 19:57:27 +0200
1150
1151 sysvinit (2.70-1) unstable; urgency=low
1152
1153 * Respawn fix
1154 * Removed StUdLy CaPs from source code
1155 * Moved files in source archive around
1156 * Fixes for glibc (utmp handling, signal handling).
1157 * Fixed '-d' option to last (now also works without '-a').
1158 * Added extra checking in last.c to prevent showing dead entries
1159
1160 -- Miquel van Smoorenburg <[email protected]> Fri, 7 Feb 1997 15:31:30 +0100
1161
1162 sysvinit (2.69-1) frozen unstable; urgency=medium
1163
1164 * Fixed bug that can throw X in a loop (or any other app that reads from
1165 /dev/tty0)
1166
1167 -- Miquel van Smoorenburg <[email protected]> Sun, 1 Dec 1996 15:32:24 +0100
1168
1169 sysvinit (2.67-1) frozen unstable; urgency=high
1170
1171 * Fixes problem with /dev/console being controlling terminal of some
1172 daemons
1173 * Puts copyright file in the right place
1174
1175 -- Miquel van Smoorenburg <[email protected]> Fri, 15 Nov 1996 12:23:33 +0100
1176
1177 sysvinit (2.66-1) unstable; urgency=medium
1178
1179 * Skipped 2.65. A development 2.65 got out by accident and is apparently
1180 being used..
1181 * Also compiles and runs with GNU libc (and on the Alpha)
1182 * Fixed dowall.c not to exit when getpwuid() fails and uid == 0.
1183 * Fixed init panic'ing on empty lines in /etc/inittab
1184 * Changed default PATH to include /usr/local/sbin
1185 * Set /dev/console as controlling terminal for sysinit,bootwait,wait,powerwait
1186 This allows using ^C to interrupt some parts of eg the boot process.
1187 * Remove old symlink in /var/log/initlvl; let init check both
1188 /var/log and /etc itself.
1189
1190 -- Miquel van Smoorenburg <[email protected]> Tue, 29 Oct 1996 13:46:54 +0100
1191
1192 2.66 29-Oct-1996
1193 - Skipped 2.65. A development 2.65 got out by accident and is apparently
1194 being used..
1195 - Fixed dowall.c not to exit when getpwuid() fails and uid == 0.
1196 - Fixed init panic'ing on empty lines in /etc/inittab
1197 - Changed default PATH to include /usr/local/sbin
1198 - Ported to Linux/Alpha and GNU libc.
1199 - Set /dev/console as controlling terminal for sysinit,bootwait,wait,powerwait.
1200 This allows using ^C to interrupt some parts of eg the boot process.
1201 - Remove old symlink in /var/log/initlvl; let init check both
1202 /var/log and /etc itself.
1203
1204 2.64 28-Jun-1996
1205 - Init checks CONSOLE environment variable on startup (overrides /dev/console)
1206 - Init sets CONSOLE variable for all its children.
1207 - Wtmp(): when zeroing out old utmp entries, keep ut_id field
1208 - Wtmp(): try to re-use ut_id field if possible.
1209 - SetTerm(): only read from /etc/ioctl.save if written once.
1210 - Included start-stop-daemon, C version (source only).
1211 - Fixed wait() for the emergency shell.
1212 - killall5: ignore signal before doing kill(-1, pid).
1213
1214 2.63 14-Jun-1996
1215 - Fixed preinst script for Debian
1216 - Fixed init.c to become init daemon if name is init.new
1217 - Fixed pidof to not return PIDs of shell scripts
1218
1219 2.62-2 09-Jun-1996
1220 - Changed debian /etc/init.d/boot script to create a nologin file
1221 at boot and to remove it just before going multiuser.
1222
1223 2.62 31-May-1996
1224 - Decided to release a 2.62 version with a BIG WARNING about upgrading
1225 init in it. Will send a patch to Linus for the linux/Documentation/Changes
1226 file so that 2.62 or later is mentioned as the version to upgrade to.
1227 - Added docs for Slackware
1228
1229 2.61-3 29-May-1996
1230 - Fixed debian/etc/init.d/network for the lo device.
1231 - Added "-xdev" to the cd /tmp && find in debian/etc/init.d/boot
1232 - Made remove time for files in /tmp configurable.
1233
1234 2.61 29-Apr-1996
1235 - Changed /etc/init.d/boot script again
1236 - Fixed problem in init.c with trailing whitespace after entries in inittab
1237 - Fixed killall5 problems
1238 - Added manpage for lastb
1239 - Added SHELL= environment variable to sulogin
1240 - Fixed sulogin & shadow problems
1241 - Added timeout option to sulogin
1242
1243 2.60-2 16-Apr-1996
1244 - Fixed sulogin (didn't work if root wasn't first entry in shadow file)
1245 - Fixed mesg for systems with "tty" group (such as Debian)
1246 - Fixed nsyslog() in killall5.c
1247
1248 2.60 01-Apr-1996
1249 - Fixed race condition in init.c, resulting in hanging shutdowns.
1250 Courtesy of Max Neunhoeffer <[email protected]>.
1251 - Fixed debian/etc/init.d/boot for swapon and mdadd
1252 - Added architecture to debian.control
1253 - Added manpages for rc.boot and rc.local
1254 - Updated inittab manpage for 4-character runlevel field
1255 - Added debian replaces for bsdutils < version_without_mesg
1256 - Fixed init.c so that it also works with kernels 1.3.81 and up
1257
1258 2.59 10-Mar-1996
1259 - Init logs less to syslog (suspected to hang in syslog() or openlog() )
1260 - removed closelog() from init.c
1261 - removed time check of runlevel record in halt.
1262 - Added options to last to get hostname from ut_addr field
1263 - Added last and mesg to installation targets
1264 - rewrote /etc/init.d/boot a bit.
1265
1266 2.58-2 04-Jan-1996
1267 - Changed etc/init.d/rc to do a stty onlcr
1268 - Added /var/log/initrunlvl symlink
1269
1270 2.58-1 31-Dec-1995
1271 - Added the latest debian files.
1272 - Added support for 4-character id fields (if you have libc5).
1273 - Fixed pidof (in killall5) parsing of /proc/.../stat
1274 - Save restore GMT setting in /etc/init.d/boot
1275
1276 2.57d 03-Dec-1995
1277 - Added sulogin
1278 - Added "-b" flag to init, gives a shell before
1279 anything else (in case the startup scripts are screwed)
1280 - Moved fastboot to /fastboot
1281 - Folded in Debian patches.
1282 - Removed old scripts
1283 - Added debian /etc/directory.
1284
1285 2.57c 08-Oct-1995
1286 - Changed over to init_request (with initreq.h)
1287 - Processes no longer killed when "process" field
1288 changes, change takes effect after next respawn.
1289
1290 2.57b xx-Aug-1995
1291 - Bugfix release for Debian and Slackware 3.0
1292
1293 2.57a 10-Jul-1995
1294 - Fixed race condition init init.c wrt got_chld
1295 - Fixed one-off for malloc in killall5.c
1296 - Changed dowall.c
1297 - Console code: no relink to /dev/systty on CTRL-ALT-DEL)
1298
1299 2.57 22-May-1995
1300 - Changed a few things here and there, didn't
1301 really document it :)
1302
1303 2.55 17-Jan-1995
1304 - Added option to shutdown to run standalone.
1305
1306 2.54 12-Jan-1995
1307 - Added GNU copyrigh to all *.[ch] files.
1308 - added /etc/initscript
1309 - reboot and halt now call shutdown in runlevels 1-5
1310 - Can run from read-only root (CDROM)
1311
1312 2.53 10-Oct-1994
1313 - Renamed pidof to killall5, updated all scripts to
1314 use killall5 instead of kill -1 ....
1315 - Rewrote scripts to use this, and some general changes.
1316 - Added SysV command line compatibility to shutdown.
1317
1318 2.52 30-Aug-1994
1319 - Added `powerfailnow' keyword, for when UPS battery is low.
1320 - Updated `last'.
1321 - Fixed utmp handling (wrt. CLEAN_UTMP)
1322 TODO:
1323 * Make last compatible with GNU/BSD (long options?)
1324 * update powerd
1325 * remote SIGPWR broadcast? in powerd? (with priv. port)
1326 * remote shutdown
1327
1328 2.50 14-Feb-1994
1329 - Ignores unknown command line arguments.
1330 - Modelled more after the "real" sysVinit
1331 - Lots of changes all over the place.
1332 (like showing runlevel in "ps" listing, logging
1333 runlevel into utmp file etc)
1334 - now using "reliable" signals instead of V7 style.
1335 - Updated all scripts. Examples are in two directories:
1336 etc (normal) and etc-sysv (sysv style scripts).
1337 - runlevel 0 = halt, 1 = single user, 6 = reboot.
1338 - added support for serial console.
1339 - updated Propaganda, manpages.
1340 - added shutdown access control.
1341
1342 2.4 24-May-93
1343 - Send out the official version into the world as
1344 SysVinit-2.4.tar.z.
1345
1346 2.4g 15-May-93
1347 - Changed init to really catch SIGPWR 'cause we
1348 hooked up an UPS to the Linux machine. The
1349 keyword for catching the TreeFingerSalute is
1350 now "ctrlaltdel" instead of "power{wait,fail}".
1351
1352 2.4a 22-Apr-93
1353 - Fixed last to reckognize BSD style wtmp logging.
1354 - Changed init to write wtmp records that are
1355 SysV compliant but are also reckognized by the
1356 BSD last. Added a '+' option to the 'process'
1357 field of inittab, for getties that want to do
1358 their own utmp/wtmp housekeeping (kludge!).
1359 - Now accepts a runlevel on the command line,
1360 and reckognizes the 'auto' argument. (Sets the
1361 environment variable AUTOBOOT to YES)
1362
1363 2.2.3 24-Mar-93
1364 - Ripped out the 'leave' action. To difficult, and
1365 unneeded.
1366 - Going single user now kills _all_ processes.
1367 - Added '-t secs' option to all commands.
1368 - This version is stable enough to post.
1369
1370 2.2 02-Mar-93
1371 - Made wait()'s asynchronous
1372 - Changed whole thing to one big state machine
1373 - Now using 'pseudo levels' # & * for SYSINIT & BOOT
1374 - Added a new type of 'action', called leave. This
1375 process will be executed when the system goes from a
1376 runlevel specified in it's runlevel field to a
1377 level that's not. Nice to bring down NFS and the like.
1378
1379 2.1 28-Jan-93
1380 - Fixed a bug with 'boot' and 'once'.
1381 - Check 'initdefault' for validity.
1382 - Reckognizes "single" as command line argument.
1383 - Retries execvp with 'sh -c exec ..' if command
1384 is a shell script. (shouldn't execvp do this?)
1385 - Added patches to use syslog if defined.
1386
1387 2.0 08-Dec-92
1388 - Rewrote the code totally, so started with a new
1389 version number.
1390 - Dropped Minix support, this code now is Linux - specific.
1391 - With TEST switch on, this init & telinit can
1392 run standalone for test purposes.
1393
1394 1.3, 05-Jul-92
1395 - Got a 386, so installed Linux. Added 'soft' reboot
1396 to be default under linux. Fixed some typos.
1397
1398 1.2, 16-Jun-92
1399 - Bugreport from Michael Haardt ; removed deadlock
1400 and added 'waitpid' instead of 'wait' for SYSV.
1401
1402 1.1, 30-Apr-92
1403 - Read manual wrong: there is no 'action' field called
1404 process, but all entries are of type process. Every
1405 'process' get exec'ed by /bin/sh -c 'exec command'.
1406 - Rapidly respawning processes are caught in the act.
1407 - _SYSV support is really Linux support,
1408 done by [email protected] on 25-Mar-92.
1409
1410 1.0, 01-Feb-92
1411 - Initial version, very primitive for the Minix
1412 operating system. Required some mods. to the
1413 kernel.
1414