]> git.wh0rd.org - sysvinit.git/blobdiff - doc/Changelog
Include -Wunreachable-code when building.
[sysvinit.git] / doc / Changelog
index 18cd20becf85468790a9f188f8b29f6caa44de26..f5c8d600a063eec2622a151a539845295331bda8 100644 (file)
@@ -1,5 +1,102 @@
-sysvinit (2.88dsf) UNRELEASED; urgency=low
-
+sysvinit (2.89) UNRELEASED; urgency=low
+
+  [ Werner Fink ]
+  * Do not forget room for last NULL of new environment (was
+    local bug 35866)
+  * Handle deleted binaries in pidof (was local bug #34992)
+  * Allow init to delete extra environment variables (was local bug
+    #35858)
+  * Avoid that init double environment variables for its childs
+    (was local bug #35855)
+  * Remove man-db tag for encoding for canonical man
+  * 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
+    be more than one device, e.g. a serial line as well as a virtual
+    console as well as a simple printer.
+  * Fix counting message lines in wall. Patch from Petr Lautrbach.
+  * Fix bad printf conversion specifier in wall. Patch from Sébastien Luttringer.
+  * Add patches from Openwall project. Thanks goes to Solar Designer.
+  * Add code to detect the system consoles with the help of the
+    new /proc/consoles files of linux kernel 2.6.38+
+  * Try to make utmpdump IPv6 valid, change based on suggestion from
+    Navdeep Bhatia (see local bug #32429)
+  * Fix signal and alarm handling based on the patch from Florent Viard.
+    (was local bug #32304)
+  * Add fix for Redhat bug #573346: last incorrectly displays IPv6
+    addresses (was local bug #29497)
+  * Correct fix for Debian bug #547073: use IUTF8 flag if defined
+    and if already set to make sure the utf-8 flag is not cleared
+    from the tty. Patch from Samuel Thibault.
+  * Include limits.h in killall.c to enforce definition of PATH_MAX
+  * Fix sysvinit bug #29758 Linker invocation should not contain
+    headers. Change based on patch from Elias Pipping.
+  * Add fix for Debian bug #580272: use return value 1 of
+    is_selinux_enabled() to determine if SELinux is enabled,
+    otherwise initialize SELinux and load the policy. Patch from
+    Petter Reinholdtsen.
+  * Make quotes visible in example of the manual page of fstab-decode
+  * Sulogin: enforce reconnection of stdin/stdout/stderr if a device
+    was specified.
+  * Sulogin: if zero is read at reading the passwd guess it's done.
+  * Sulogin: respect byte order that is do not mix chars and ints
+  * Shutdown: use PATH_DEFAULT as suggested by Paul Arthur in local bug #36101
+  * Killall5/pidof: handle strange names of executables (local bug #36252)
+  * Sulogin: be aware the crypt(3) may fail (local bug #36313)
+
+  [ Petter Reinholdtsen ]
+  * Next release will be 2.89dsf.
+  * Add #ifdef in bootlogd.c to avoid gcc warnings about unused
+    variable on non-linux platforms.
+  * Only set the VSWTC field for termios in init if it is available,
+    to get the source building on FreeBSD.
+  * Add some code to be able to detect programs even as user with
+    kernel 3.0 and above
+  * Improve message printed when signaling processes to stop.
+    Patch from Matias A. Fonzo at the dragora project.
+  * Rename internal functions warn() and shutdown() in the shutdown
+    binary to avoid surprising dynamic library name resolution
+    conflict with NSS modules.  Patch from Richard Tollerton.
+  * Try harder to find libcrypt.*, even if there is no static library
+    available.  Also look in /usr/lib/*/ for the library, to handle
+    Debian multiarch systems.  Based on patch from Andrew Gregory.
+  * Adjust included headers to be compatible with the musl C
+    library.  Patch from Matias A. Fonzo and Dragora.
+  * Move dovoid() macro from #ifdef__GLIBC__ to #ifdef __linux__,
+    to match the condutions of the place where it is used.  Thanks
+    to Matias A. Fonzo for noticing.
+  * Define _XOPEN_SOURCE when building to get crypt() from <unistd.h>
+    instead of using <crypt.h> in sulogin.c, to get the source building
+    with the musl C library.
+  * Use sysconf(_SC_SYMLOOP_MAX) instead of MAXSYMLINKS.  If sysconf
+    returns an error, fall back to MAXSYMLINKS on platforms that
+    define it.  Fixes build on Hurd.  Patch from Justus Winter and
+    Debian.
+  * Adjust makefile to make it easier to link all binaries statically.
+    Patch from Matias A. Fonzo and Dragora.
+  * Rewrite findtty() in bootlogd.c to not chance working directory, to
+    reduce the amount of failure that can happin in that function.
+  * Adapt bootlogd TIOCCONS call to kfreebsd.  Patch from Mats Erik
+    Andersson and Debian.
+  * Document length limit for the process field in the inittab.  Patch
+    from Johannes Truschnigg and Debian.
+  * Fix typo in fstab-decode(8) font escape.  Patch from Bjarni Ingi
+    Gislason and Debian.
+  * Port ifdown.c to FreeBSD.  Patch from Guillem Jover and Debian.
+  * Drop dsf part from version number.  It no longer make sense to keep.
+  * Remove obsolete/ directory from tarball.  None of it have been useful
+    for many years.
+  * Make it possible to specify the initctl path as a compile time
+    define INIT_FIFO.
+  * Use narrowly scoped file descriptor for handling opened TTY in
+    spawn().  Patch from Michał Kulling.
+  * Check exit code from dup() in spawn() and log error if it fail.
+    Patch from Michał Kulling.
+
+ -- Petter Reinholdtsen <pere@hungry.com>  Sun Apr 11 11:28:55 CEST 2010
+
+sysvinit (2.88dsf) world; urgency=low
+
+  [ Petter Reinholdtsen ]
   * Mention new home on Savannah in README.
   * Revert change from Fedora/RedHat where the now obsolete command
     INIT_CMD_CHANGECONS was introduced.  Based on feedback and patch
   * Mention new home on Savannah in README.
   * Revert change from Fedora/RedHat where the now obsolete command
     INIT_CMD_CHANGECONS was introduced.  Based on feedback and patch
@@ -19,8 +116,77 @@ sysvinit (2.88dsf) UNRELEASED; urgency=low
     Frysinger and Gentoo.
   * Fix race condition in utmp writing.  Patch from Gil Kloepfer via
     Mike Frysinger and Gentoo.
     Frysinger and Gentoo.
   * Fix race condition in utmp writing.  Patch from Gil Kloepfer via
     Mike Frysinger and Gentoo.
-
- -- Petter Reinholdtsen <pere@hungry.com>  Sun, 12 Jul 2009 19:58:10 +0200
+  * Rewrite findtty() in bootlogd to recursively search /dev/ for the
+    correct device, to handle terminal devices for example in /dev/pty/.
+    Patch from Debian.
+  * Make sure bootlogd findpty() returns an error value when it fails to
+    find a usable pty.  Patch from Rob Leslie via Debian.
+  * Make sure bootlogd fflush() every line, even if asked not to flush
+    to disk using fdatasync().  Patch from Scott Gifford via Debian.
+  * Add compatibility code to handle old path "/etc/powerstatus" for a
+    while.
+  * Incude definition for MNT_DETACH which is missing in older GNU libc
+    headers.
+  * Do not strip binaries before installing them, to make it easier to
+    get binaries with debug information installed.
+
+  [ Werner Fink ]
+  * Add the comment from Andrea Arcangeli about the correct
+    place of setting the default childhandler within spawn().
+  * Make sure that newline is printed out for last(1) even
+    if an utmp record entry is truncated.
+  * Check if utmp not only exists but also is writable and delay
+    writing out of the utmp runlevel record if utmp is not writable.
+  * Be able to find libcrypt also on 64 bit based architectures.
+  * Add option -w to the last command to display the full user and
+    domain names in the output.  Patch from Petr Lautrbach.
+  * Add a manual page for utmpdump as this tool is sometimes
+    very useful even if not intended for normal use.
+  * Use paths.h macros for wall
+  * Change path "/etc/powerstatus" to "/var/run/powerstatus"
+  * Detected also removable block devices at halt/reboot to be able
+    to flush data and send them the ATA standby command.  This should
+    avoid data loss on USB sticks and other removable block devices.
+  * Flush block devices on halt/reboot if not done by the kernel.
+  * Set SHELL to /bin/sh in the environmant of shutdown.
+  * Retry to write out shutdown messages if interrupted.
+  * pidof/killall5 - make omit pid list a dynamic one.
+  * pidof - provide '-n' to skip stat(2) syscall on network based FS.
+  * init - avoid compiler warnings
+  * init - initialize console by using the macros from ttydefaults.h
+  * init - add the possiblity to ignore further interrupts from keyboard
+  * init - add the possiblity to set sane terminal line settings
+  * sulogin - add the possibility to reset the terminal io
+  * Fix some minor problems
+  * init - enable is_selinux_enabled() to detect selinuxfs
+  * Add fix for Debian bug #536574 -- Can be enabled by -DACCTON_OFF
+  * Add helper program fstab-decode to make it easier to handle
+    /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 #374038 - Make it clear that shutdown -c can
+    only cancel a waiting shutdown, not an active one.
+  * Add note to pidof manual page about the use of readlink(2). Patch by
+    Bill Nottingham and Fedora.
+  * Add PAM patch contrib/notify-pam-dead.patch based on Debian bug
+    #68621, which will add PAM support for programs spawned by init on
+    the console like sulogin. Based on patch by Topi Miettinen.  This
+    patch is not applied by default yet while we review its
+    usefullness.  It is only helpful for session handling, as sulogin
+    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
+    encrypted passwords due using getpwnam(3).
+  * Move utmp/wtmp before the execvp() in spawn() to be sure to
+    use the correct pid even on a controlling tty
+  * Remaining problem is that the pid of the second fork() for
+    getting a controlling tty isn't that reported by spawn()
+  * Re-enable writting utmp/wtmp for boot scripts
+  * Extend sulogin to support additional encryption algorithms
+  * Re-enable maintenance message of sulogin
+  * Enable the sulogin fallback password check to handle  MD5, SHA, and
+    Blowfish encrypted passwords in case of getpwnam(3) fails.
+  * sulogin picking the SELinux context was broken. Patch by Daniel Walsh
+
+ -- 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