Changelog (sysvinit-2.98.tar.xz) | : | Changelog (sysvinit-2.99.tar.xz) | ||
---|---|---|---|---|
sysvinit (2.99) released; urgency=low | ||||
* Fixed typos and missing underlines in shutdown manual page. | ||||
Corrections provided by Helge Kreutzmann. | ||||
sysvinit (2.98) released; urgency=low | sysvinit (2.98) released; urgency=low | |||
* Fixed time parsing in shutdown when there is a + in front of a 0 time offs et. | * Fixed time parsing in shutdown when there is a + in front of a 0 time offs et. | |||
Commands with a postiive time offset (+1) would work but +0 fails. | Commands with a positive time offset (+1) would work but +0 fails. | |||
This has been corrected by Arkadiusz Miskiewicz. | This has been corrected by Arkadiusz Miskiewicz. | |||
sysvinit (2.97) released; urgency=low | sysvinit (2.97) released; urgency=low | |||
* Check $(ROOT) filesystem for libcrypt instead of a hardcoded path to /usr. | * Check $(ROOT) filesystem for libcrypt instead of a hardcoded path to /usr. | |||
Added logsave and readbootlog to list of files git ignores. | Added logsave and readbootlog to list of files git ignores. | |||
- Patches provided by Petr Ovtchenkov. | - Patches provided by Petr Ovtchenkov. | |||
* Code clean-up and making sure we avoid freeing unused memory. | * Code clean-up and making sure we avoid freeing unused memory. | |||
Patch provided by David Hoyer. | Patch provided by David Hoyer. | |||
skipping to change at line 32 | skipping to change at line 37 | |||
* Added patch from William Shipley which allows shutdown time to be specifie d | * Added patch from William Shipley which allows shutdown time to be specifie d | |||
in the format +hh:mm. This is in addition to the existing formats such as | in the format +hh:mm. This is in addition to the existing formats such as | |||
hh:mm, +m, and "now". | hh:mm, +m, and "now". | |||
* Fixed typos in manual pages. Submitted by Helge Kreutzmann. | * Fixed typos in manual pages. Submitted by Helge Kreutzmann. | |||
sysvinit (2.96) released; urgency=low | sysvinit (2.96) released; urgency=low | |||
[ Jesse Smith ] | [ Jesse Smith ] | |||
* Added -z command line paramter to pidof which tells pidof to | * Added -z command line parameter to pidof which tells pidof to | |||
try to find processes in uninterruptable (D) or zombie (Z) states. | try to find processes in uninterruptible (D) or zombie (Z) states. | |||
This can cause pidof to hang, but produces a more complete process | This can cause pidof to hang, but produces a more complete process | |||
list. | list. | |||
Closes Savannah bug #56534 | Closes Savannah bug #56534 | |||
* Reformatted init code to make if/while logic more clear. | * Reformatted init code to make if/while logic more clear. | |||
* Cleaned up some output from readbootlog. | * Cleaned up some output from readbootlog. | |||
* Added -e flag to bootlogd. When -e is used, data saved | * Added -e flag to bootlogd. When -e is used, data saved | |||
to the boot log file does not have escape characters | to the boot log file does not have escape characters | |||
skipping to change at line 90 | skipping to change at line 95 | |||
[ Jesse Smith ] | [ Jesse Smith ] | |||
* When the halt command is called with the -p flag (or as poweroff) | * When the halt command is called with the -p flag (or as poweroff) | |||
the command now passes the "-h -P" flags to shutdown. This | the command now passes the "-h -P" flags to shutdown. This | |||
in turn sets the INIT_HALT environment variable to POWEROFF. | in turn sets the INIT_HALT environment variable to POWEROFF. | |||
Assuming this value is checked by initscripts during the | Assuming this value is checked by initscripts during the | |||
shutting down procedure, it should cause the system to | shutting down procedure, it should cause the system to | |||
be powered off. | be powered off. | |||
If halt is called without -p then the value of INIT_HALT | If halt is called without -p then the value of INIT_HALT | |||
is not set and the default action (often set in /etc/defaut/halt) | is not set and the default action (often set in /etc/default/halt) | |||
is taken. | is taken. | |||
* Removed unnecessary malloc.h includes. Memory allocation | * Removed unnecessary malloc.h includes. Memory allocation | |||
and freeing is now handled in stdlib.h | and freeing is now handled in stdlib.h | |||
* Added defines for FreeBSD to make some components compile | * Added defines for FreeBSD to make some components compile | |||
on FreeBSD 11. | on FreeBSD 11. | |||
* Increased the size of the kernel command line buffer in bootlogd | * Increased the size of the kernel command line buffer in bootlogd | |||
from 256 characters to 4096. This size is defined in KERNEL_COMMAND_LENGTH | from 256 characters to 4096. This size is defined in KERNEL_COMMAND_LENGTH | |||
for easy modification downstream. | for easy modification downstream. | |||
* Added logsave.c and logsave.8 manual page from e2fsprogs to make | * Added logsave.c and logsave.8 manual page from e2fsprogs to make | |||
sure logsave is available to initscripts. | sure logsave is available to initscripts. | |||
skipping to change at line 174 | skipping to change at line 179 | |||
rarely used anymore, outside of Slackware. | rarely used anymore, outside of Slackware. | |||
* Swapped out ECHOPRT for ECHOE in stty settings when init brings up | * Swapped out ECHOPRT for ECHOE in stty settings when init brings up | |||
emergency console. Should make backspace-erasing characters work | emergency console. Should make backspace-erasing characters work | |||
more naturally. | more naturally. | |||
Closes Debian bug #402847. | Closes Debian bug #402847. | |||
* Updated src/Makefile to make sure we build all the software before | * Updated src/Makefile to make sure we build all the software before | |||
attempting to install. | attempting to install. | |||
* Removed typos from pidof manual page and killall5 page. | * Removed typos from pidof manual page and killall5 page. | |||
Closes Debian bugs #815839, #905245 and #890478 | Closes Debian bugs #815839, #905245 and #890478 | |||
* Added -f <format> option to pidof program to allow printf | * Added -f <format> option to pidof program to allow printf | |||
style formating. | style formatting. | |||
Closes Debian bug #571590 | Closes Debian bug #571590 | |||
Thanks to Philipp Marek for the patch. | Thanks to Philipp Marek for the patch. | |||
* Added new tool (readbootlog) which will read the /var/log/boot file | * Added new tool (readbootlog) which will read the /var/log/boot file | |||
produced by bootlogd. The output is displayed cleaned up so there | produced by bootlogd. The output is displayed cleaned up so there | |||
are no control characters. This avoids the need to use sed or related | are no control characters. This avoids the need to use sed or related | |||
tools to try to clean up the contents of the log. | tools to try to clean up the contents of the log. | |||
* Added manual page for readbootlog program. Updated bootlogd page | * Added manual page for readbootlog program. Updated bootlogd page | |||
to reference it. Closes Debian bug #725123. | to reference it. Closes Debian bug #725123. | |||
* Updated the shutdown manual page to try to make it more clear | * Updated the shutdown manual page to try to make it more clear | |||
where we are talking about an initscript called halt or the halt | where we are talking about an initscript called halt or the halt | |||
skipping to change at line 362 | skipping to change at line 367 | |||
fixed. Patch supplied by Dave Dykstra. | fixed. Patch supplied by Dave Dykstra. | |||
* Patch to automatically spawn a getty on kernel consoles | * Patch to automatically spawn a getty on kernel consoles | |||
The feature is useful for developers and admins that occasionally need | The feature is useful for developers and admins that occasionally need | |||
to boot with e.g. console=ttyS0. | to boot with e.g. console=ttyS0. | |||
The built in default can be overridden via inittab for each device. An | The built in default can be overridden via inittab for each device. An | |||
entry like "S0::off:" turns off the getty on ttyS0. | entry like "S0::off:" turns off the getty on ttyS0. | |||
characters in log file. Also makes parsing easier. | characters in log file. Also makes parsing easier. | |||
This should close Savannah bug report 36528. | This should close Savannah bug report 36528. | |||
http://savannah.nongnu.org/bugs/?36528 | http://savannah.nongnu.org/bugs/?36528 | |||
* Applied patches provided in Savannah bug report 49991. Fix tabs in | * Applied patches provided in Savannah bug report 49991. Fix tabs in | |||
bootlogd and avoid printing unitialized "buf" variable when | bootlogd and avoid printing uninitialized "buf" variable when | |||
consolename() fails. | consolename() fails. | |||
[ Werner Fink ] | [ Werner Fink ] | |||
* Do not forget room for last NULL of new environment (was | * Do not forget room for last NULL of new environment (was | |||
local bug 35866) | local bug 35866) | |||
* Handle deleted binaries in pidof (was local bug #34992) | * Handle deleted binaries in pidof (was local bug #34992) | |||
* Allow init to delete extra environment variables (was local bug | * Allow init to delete extra environment variables (was local bug | |||
#35858) | #35858) | |||
* Avoid that init double environment variables for its childs | * Avoid that init double environment variables for its children | |||
(was local bug #35855) | (was local bug #35855) | |||
* Remove man-db tag for encoding for canonical man | * Remove man-db tag for encoding for canonical man | |||
* Sulogin: try to detect the real device(s) used for the system console | * Sulogin: try to detect the real device(s) used for the system console | |||
/dev/console if but only if /dev/console is used. On Linux this can | /dev/console if but only if /dev/console is used. On Linux this can | |||
be more than one device, e.g. a serial line as well as a virtual | be more than one device, e.g. a serial line as well as a virtual | |||
console as well as a simple printer. | console as well as a simple printer. | |||
* Fix counting message lines in wall. Patch from Petr Lautrbach. | * Fix counting message lines in wall. Patch from Petr Lautrbach. | |||
* Fix bad printf conversion specifier in wall. Patch from Sébastien Luttringer . | * Fix bad printf conversion specifier in wall. Patch from Sébastien Luttringer . | |||
* Add patches from Openwall project. Thanks goes to Solar Designer. | * Add patches from Openwall project. Thanks goes to Solar Designer. | |||
* Add code to detect the system consoles with the help of the | * Add code to detect the system consoles with the help of the | |||
skipping to change at line 490 | skipping to change at line 495 | |||
Mike Frysinger and Gentoo. | Mike Frysinger and Gentoo. | |||
* Rewrite findtty() in bootlogd to recursively search /dev/ for the | * Rewrite findtty() in bootlogd to recursively search /dev/ for the | |||
correct device, to handle terminal devices for example in /dev/pty/. | correct device, to handle terminal devices for example in /dev/pty/. | |||
Patch from Debian. | Patch from Debian. | |||
* Make sure bootlogd findpty() returns an error value when it fails to | * Make sure bootlogd findpty() returns an error value when it fails to | |||
find a usable pty. Patch from Rob Leslie via Debian. | find a usable pty. Patch from Rob Leslie via Debian. | |||
* Make sure bootlogd fflush() every line, even if asked not to flush | * Make sure bootlogd fflush() every line, even if asked not to flush | |||
to disk using fdatasync(). Patch from Scott Gifford via Debian. | to disk using fdatasync(). Patch from Scott Gifford via Debian. | |||
* Add compatibility code to handle old path "/etc/powerstatus" for a | * Add compatibility code to handle old path "/etc/powerstatus" for a | |||
while. | while. | |||
* Incude definition for MNT_DETACH which is missing in older GNU libc | * Include definition for MNT_DETACH which is missing in older GNU libc | |||
headers. | headers. | |||
* Do not strip binaries before installing them, to make it easier to | * Do not strip binaries before installing them, to make it easier to | |||
get binaries with debug information installed. | get binaries with debug information installed. | |||
[ Werner Fink ] | [ Werner Fink ] | |||
* Add the comment from Andrea Arcangeli about the correct | * Add the comment from Andrea Arcangeli about the correct | |||
place of setting the default childhandler within spawn(). | place of setting the default childhandler within spawn(). | |||
* Make sure that newline is printed out for last(1) even | * Make sure that newline is printed out for last(1) even | |||
if an utmp record entry is truncated. | if an utmp record entry is truncated. | |||
* Check if utmp not only exists but also is writable and delay | * Check if utmp not only exists but also is writable and delay | |||
skipping to change at line 519 | skipping to change at line 524 | |||
* Detected also removable block devices at halt/reboot to be able | * Detected also removable block devices at halt/reboot to be able | |||
to flush data and send them the ATA standby command. This should | to flush data and send them the ATA standby command. This should | |||
avoid data loss on USB sticks and other removable block devices. | avoid data loss on USB sticks and other removable block devices. | |||
* Flush block devices on halt/reboot if not done by the kernel. | * Flush block devices on halt/reboot if not done by the kernel. | |||
* Set SHELL to /bin/sh in the environmant of shutdown. | * Set SHELL to /bin/sh in the environmant of shutdown. | |||
* Retry to write out shutdown messages if interrupted. | * Retry to write out shutdown messages if interrupted. | |||
* pidof/killall5 - make omit pid list a dynamic one. | * pidof/killall5 - make omit pid list a dynamic one. | |||
* pidof - provide '-n' to skip stat(2) syscall on network based FS. | * pidof - provide '-n' to skip stat(2) syscall on network based FS. | |||
* init - avoid compiler warnings | * init - avoid compiler warnings | |||
* init - initialize console by using the macros from ttydefaults.h | * init - initialize console by using the macros from ttydefaults.h | |||
* init - add the possiblity to ignore further interrupts from keyboard | * init - add the possibility to ignore further interrupts from keyboard | |||
* init - add the possiblity to set sane terminal line settings | * init - add the possibility to set sane terminal line settings | |||
* sulogin - add the possibility to reset the terminal io | * sulogin - add the possibility to reset the terminal io | |||
* Fix some minor problems | * Fix some minor problems | |||
* init - enable is_selinux_enabled() to detect selinuxfs | * init - enable is_selinux_enabled() to detect selinuxfs | |||
* Add fix for Debian bug #536574 -- Can be enabled by -DACCTON_OFF | * Add fix for Debian bug #536574 -- Can be enabled by -DACCTON_OFF | |||
* Add helper program fstab-decode to make it easier to handle | * Add helper program fstab-decode to make it easier to handle | |||
/etc/mtab content. Patch by Miloslav Trmac and Fedora. | /etc/mtab content. Patch by Miloslav Trmac and Fedora. | |||
* Add fix for Debian bug #335023 - Make sure TERM is set on FreeBSD. | * Add fix for Debian bug #335023 - Make sure TERM is set on FreeBSD. | |||
* Add fix for Debian bug #374038 - Make it clear that shutdown -c can | * Add fix for Debian bug #374038 - Make it clear that shutdown -c can | |||
only cancel a waiting shutdown, not an active one. | only cancel a waiting shutdown, not an active one. | |||
* Add note to pidof manual page about the use of readlink(2). Patch by | * Add note to pidof manual page about the use of readlink(2). Patch by | |||
Bill Nottingham and Fedora. | Bill Nottingham and Fedora. | |||
* Add PAM patch contrib/notify-pam-dead.patch based on Debian bug | * Add PAM patch contrib/notify-pam-dead.patch based on Debian bug | |||
#68621, which will add PAM support for programs spawned by init on | #68621, which will add PAM support for programs spawned by init on | |||
the console like sulogin. Based on patch by Topi Miettinen. This | the console like sulogin. Based on patch by Topi Miettinen. This | |||
patch is not applied by default yet while we review its | patch is not applied by default yet while we review its | |||
usefullness. It is only helpful for session handling, as sulogin | usefulness. It is only helpful for session handling, as sulogin | |||
do not use and will not use a PAM conv() function. The current | do not use and will not use a PAM conv() function. The current | |||
sulogin is able to handle DES as well as MD5, SHA, and Blowfish | sulogin is able to handle DES as well as MD5, SHA, and Blowfish | |||
encrypted passwords due using getpwnam(3). | encrypted passwords due using getpwnam(3). | |||
* Move utmp/wtmp before the execvp() in spawn() to be sure to | * Move utmp/wtmp before the execvp() in spawn() to be sure to | |||
use the correct pid even on a controlling tty | use the correct pid even on a controlling tty | |||
* Remaining problem is that the pid of the second fork() for | * Remaining problem is that the pid of the second fork() for | |||
getting a controlling tty isn't that reported by spawn() | getting a controlling tty isn't that reported by spawn() | |||
* Re-enable writting utmp/wtmp for boot scripts | * Re-enable writing utmp/wtmp for boot scripts | |||
* Extend sulogin to support additional encryption algorithms | * Extend sulogin to support additional encryption algorithms | |||
* Re-enable maintenance message of sulogin | * Re-enable maintenance message of sulogin | |||
* Enable the sulogin fallback password check to handle MD5, SHA, and | * Enable the sulogin fallback password check to handle MD5, SHA, and | |||
Blowfish encrypted passwords in case of getpwnam(3) fails. | Blowfish encrypted passwords in case of getpwnam(3) fails. | |||
* sulogin picking the SELinux context was broken. Patch by Daniel Walsh | * sulogin picking the SELinux context was broken. Patch by Daniel Walsh | |||
-- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010 | -- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010 | |||
sysvinit (2.87dsf) world; urgency=low | sysvinit (2.87dsf) world; urgency=low | |||
skipping to change at line 636 | skipping to change at line 641 | |||
* Modify killall to work better with user space file system, by | * Modify killall to work better with user space file system, by | |||
changing cwd to /proc when stopping and killing processes, and | changing cwd to /proc when stopping and killing processes, and | |||
avoiding stat() when the value isn't used. Also, lock process | avoiding stat() when the value isn't used. Also, lock process | |||
pages in memory to avoid paging when user processes are stopped. | pages in memory to avoid paging when user processes are stopped. | |||
Patch from Debian and Goswin von Brederlow with changes by Kel | Patch from Debian and Goswin von Brederlow with changes by Kel | |||
Modderman. | Modderman. | |||
* Change shutdown to only accept flags -H and -P with the -h flag, | * Change shutdown to only accept flags -H and -P with the -h flag, | |||
and document this requirement in the manual page. | and document this requirement in the manual page. | |||
* Change reboot/halt to work properly when used as a login shell. | * Change reboot/halt to work properly when used as a login shell. | |||
Patch by Dale R. Worley and Fedora. | Patch by Dale R. Worley and Fedora. | |||
* Let sulogin fall back to the staticly linked /bin/sash if both roots | * Let sulogin fall back to the statically linked /bin/sash if both roots | |||
shell and /bin/sh fail to execute. | shell and /bin/sh fail to execute. | |||
-- Petter Reinholdtsen <pere@hungry.com> Sun, 12 Jul 2009 19:58:10 +0200 | -- Petter Reinholdtsen <pere@hungry.com> Sun, 12 Jul 2009 19:58:10 +0200 | |||
sysvinit (2.86) cistron; urgency=low | sysvinit (2.86) cistron; urgency=low | |||
* Fixed up bootlogd to read /proc/cmdline. Also keep an internal | * Fixed up bootlogd to read /proc/cmdline. Also keep an internal | |||
linebuffer to process \r, \t and ^H. It is becoming useable. | linebuffer to process \r, \t and ^H. It is becoming usable. | |||
* Applied trivial OWL patches | * Applied trivial OWL patches | |||
* Block signals in syslog(), since syslog() is not re-entrant | * Block signals in syslog(), since syslog() is not re-entrant | |||
(James Olin Oden <joden@malachi.lee.k12.nc.us>, redhat bug #97534) | (James Olin Oden <joden@malachi.lee.k12.nc.us>, redhat bug #97534) | |||
* Minor adjustements so that sysvinit compiles on the Hurd | * Minor adjustments so that sysvinit compiles on the Hurd | |||
* killall5 now skips kernel threads | * killall5 now skips kernel threads | |||
* Inittab entries with both 'S' and other runlevels were broken. | * Inittab entries with both 'S' and other runlevels were broken. | |||
Fix by Bryan Kadzban <bryan@kadzban.is-a-geek.net> | Fix by Bryan Kadzban <bryan@kadzban.is-a-geek.net> | |||
* Changed initreq.h to be more flexible and forwards-compatible. | * Changed initreq.h to be more flexible and forwards-compatible. | |||
* You can now through /dev/initctl set environment variables in | * You can now through /dev/initctl set environment variables in | |||
init that will be inherited by its children. For now, only | init that will be inherited by its children. For now, only | |||
variables prefixed with INIT_ can be set and the maximum is | variables prefixed with INIT_ can be set and the maximum is | |||
16 variables. There's also a length limit due to the size | 16 variables. There's also a length limit due to the size | |||
of struct init_request, so it should be safe from abuse. | of struct init_request, so it should be safe from abuse. | |||
* Option -P and -H to shutdown set INIT_HALT=POWERDOWN and | * Option -P and -H to shutdown set INIT_HALT=POWERDOWN and | |||
skipping to change at line 877 | skipping to change at line 882 | |||
* Change _NSIG to NSIG for 2.1.x kernel includes. | * Change _NSIG to NSIG for 2.1.x kernel includes. | |||
-- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 8 Jan 1998 16:01:02 +0100 | -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 8 Jan 1998 16:01:02 +0100 | |||
sysvinit (2.73-1) unstable; urgency=low | sysvinit (2.73-1) unstable; urgency=low | |||
* Use siginterrupt, now that system calls are restarted by default. | * Use siginterrupt, now that system calls are restarted by default. | |||
Main symptom was that the sulogin timeout didn't work but there | Main symptom was that the sulogin timeout didn't work but there | |||
might have been more hidden problems. | might have been more hidden problems. | |||
* Kill process immidiately if turned off in inittab | * Kill process immediately if turned off in inittab | |||
* Fixed sulogin check on tty arg. | * Fixed sulogin check on tty arg. | |||
* Use strerror() instead of sys_errlist | * Use strerror() instead of sys_errlist | |||
* wall now supports a '-n' option to suppress [most of] the banner. | * wall now supports a '-n' option to suppress [most of] the banner. | |||
Debian doesn't use sysvinit's wall, but apparently Redhat does. | Debian doesn't use sysvinit's wall, but apparently Redhat does. | |||
* Add '-F' (forcefsck) option to shutdown | * Add '-F' (forcefsck) option to shutdown | |||
* Close and reopen /dev/initctl on SIGUSR1 (mainly for a /dev in ram) | * Close and reopen /dev/initctl on SIGUSR1 (mainly for a /dev in ram) | |||
-- Miquel van Smoorenburg <miquels@cistron.nl> Sat, 3 Jan 1998 16:32:39 +0100 | -- Miquel van Smoorenburg <miquels@cistron.nl> Sat, 3 Jan 1998 16:32:39 +0100 | |||
sysvinit (2.72-3) unstable; urgency=low | sysvinit (2.72-3) unstable; urgency=low | |||
End of changes. 15 change blocks. | ||||
16 lines changed or deleted | 21 lines changed or added |