📄 changelog
字号:
sysvinit (2.86) cistron; urgency=low * Fixed up bootlogd to read /proc/cmdline. Also keep an internal linebuffer to process \r, \t and ^H. It is becoming useable. * Applied trivial OWL patches * Block signals in syslog(), since syslog() is not re-entrant (James Olin Oden <joden@malachi.lee.k12.nc.us>, redhat bug #97534) * Minor adjustements so that sysvinit compiles on the Hurd * killall5 now skips kernel threads * Inittab entries with both 'S' and other runlevels were broken. Fix by Bryan Kadzban <bryan@kadzban.is-a-geek.net> * Changed initreq.h to be more flexible and forwards-compatible. * You can now through /dev/initctl set environment variables in init that will be inherited by its children. For now, only variables prefixed with INIT_ can be set and the maximum is 16 variables. There's also a length limit due to the size of struct init_request, so it should be safe from abuse. * Option -P and -H to shutdown set INIT_HALT=POWERDOWN and INIT_HALT=HALT as environment variables as described above * Add "mountpoint" utility. * Slightly better algorithm in killall5.c:pidof() * Added some patches from fedora-core (halt-usage, last -t, sulogin-message, user-console) -- Miquel van Smoorenburg <miquels@cistron.nl> Fri, 30 Jul 2004 14:14:58 +0200sysvinit (2.85) cistron; urgency=low * Add IPv6 support in last(1) * Sulogin: even if the root password is empty, ask for a password- otherwise there is no way to set a timeout. * Removed support for ioctl.save. * Turned of support for /etc/initrunlvl and /var/run/initrunlvl * Fixed warts in dowall.c ("Dmitry V. Levin" <ldv@altlinux.org>) * Fix init.c::spawn(). The "f" variable was used both as file descriptor and waitpid(2) return code. In certain circumstances, this leads to TIOCSCTTY with wrong file descriptor (Vladimir N. Oleynik). * Fix fd leak in sulogin (Dmitry V. Levin). * More error checking in all wait() calling code (Dmitry V. Levin). * Fix argv[] initialization in spawn() (Dmitry V. Levin). * Change strncpy to strncat in most places (Dmitry V. Levin). -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 15 Apr 2003 16:37:57 +0200sysvinit (2.84) cistron; urgency=low * Don't use /etc/initlvl interface for telinit; only use /dev/initctl, and give a clear error when that fails. * Add -i/--init command line flag to init - this tells init 'behave as system init even if you're not PID#1'. Useful for testing in chroot/jail type environments. -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 27 Nov 2001 13:10:08 +0100sysvinit (2.83) cistron; urgency=low * Fix bug in shutdown where it didn't check correctly for a virtual console when checking /etc/shutdown.allow * Fix race condition in waitpid() [Andrea Arcangeli] * Call closelog() after openlog()/syslog() since recent libc's keep the logging fd open and that is fd#0 aka stdin. -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 2 Oct 2001 23:27:06 +0200sysvinit (2.82) cistron; urgency=low * Print out correct version number at startup. * Fix spelling of initttab in init(8) -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 23 Aug 2001 17:50:44 +0200sysvinit (2.81) cistron; urgency=low * Fix typo/bug in killall5/pidof, -o option failed to work since 2.79. Reformatted source code to prevent this from happening again. * shutdown.8: applied redhat manpage update * sulogin: applied redhat sysvinit-2.78-sulogin-nologin.patch * sulogin: applied redhat sysvinit-2.78-notty.patch * sulogin: applied redhat sysvinit-2.78-sigint.patchsysvinit (2.80) cistron; urgency=low * Grammar/spelling fixes in shutdown.c (Christian Steinrueck) * Don't set controlling tty for non-(sysinit,boot,single) runlevels -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 26 Jul 2001 13:26:56 +0200sysvinit (2.79) cistron; urgency=low * New upstream version * several fixes to wall by Tim Robbins <fyre@box3n.gumbynet.org> * Several extra boundary checks by Solar Designer * Make /dev/console controlling tty * Stricter checks on ownership of tty by mesg(1) * Documented and restricted -n option to wall(1) * Make it compile with glibc 2.2.2 * Document IO redirection in wall manpage (closes: #79491) * Update README (closes: #85650) * Fix init.8 manpage (closes: #75268) * Fix typo in halt(8) manpage (closes: #67875) * Check time argument of shutdown(8) for correctness (closes: #67825) * Check for stale sessions in last(1) (Chris Wolf <cwolf@starclass.com>) -- Miquel van Smoorenburg <miquels@cistron.nl> Wed, 4 Jul 2001 15:04:36 +0200sysvinit (2.78-2) frozen unstable; urgency=high * Change "booting" to "reloading" message at reload * Add "-z xxx" dummy command line argument (closes: #54717) -- Miquel van Smoorenburg <miquels@cistron.nl> Fri, 11 Feb 2000 12:17:54 +0100sysvinit (2.78-1) unstable; urgency=low * 2.78 will be the new upstream version, I'm skipping 2.77 * Shutdown now calls sync before switching the runlevel to 0 or 6, or before unmounting filesystems if -n was used (closes: #46461) * Some cosmetic changes to init.c (closes: #32079) -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 30 Dec 1999 20:40:23 +0100sysvinit (2.77-2) unstable; urgency=low * Fix last -i option -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 5 Oct 1999 21:51:50 +0200sysvinit (2.77-1) unstable; urgency=low * Write reboot record into utmp file as well to make rms happy * Fork and dump core in / if SIGSEGV is received for debugging purposes * Patch by Craig Sanders <cas@vicnet.net.au> for "last" -i option -- Miquel van Smoorenburg <miquels@cistron.nl> Wed, 4 Aug 1999 11:16:23 +0200sysvinit (2.76-4) unstable; urgency=low * Change dowall.c to handle Unix98 ptys correctly * Add comment in rcS about usage of setup.sh and unconfigured.sh * Shutdown now removes nologin file just before calling telinit * SEGV handler now tries to continue after sleep of 30 seconds. On a 386-class processor it also prints out the value of EIP. * Fix for racecondition in check_init_fifo() by Richard Gooch -- Miquel van Smoorenburg <miquels@cistron.nl> Sat, 8 May 1999 17:22:57 +0200sysvinit (2.76-3) frozen unstable; urgency=high * Small bugfix to last.c courtesy of Danek Duvall <duvall@emufarm.ml.org> -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 12 Jan 1999 12:12:44 +0100sysvinit (2.76-1) frozen unstable; urgency=high * Fix bug in check_pipe() which crashes init on the Alpha. -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 3 Nov 1998 11:09:13 +0100sysvinit (2.75-4) unstable; urgency=low * Change sulogin password buffer to 128 characters. * Don't print control characters in dowall.c * Try to open getenv ("CONSOLE"), /dev/console and /dev/tty0 in order. For backwards compatibility when you try to boot a 2.0.x kernel with a linux > 2.1.70 /dev/console device. * Change src/Makefile for non-debian systems (mainly, RedHat) * Try to create /dev/initctl if not present; check every time to see if the dev/ino of /dev/initctl has changed and re-open it. This should help devfs a bit. * Send SIGUSR1 to init at bootup to let it re-open /dev/initctl; again in support of devfs. * Moved pidof to /bin (it's only a link to killall5 anyway) -- Miquel van Smoorenburg <miquels@cistron.nl> Mon, 5 Oct 1998 14:03:14 +0200sysvinit (2.75-2) frozen unstable; urgency=medium * Fix last.c again. * Add check to see if /dev/initctl is really a FIFO * In ifdown.c first down all shaper devices then the real devices -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 2 Jun 1998 22:43:01 +0200sysvinit (2.75-1) frozen unstable; urgency=low * Rewrote last.c to be much more memory friendly and correct, thanks to Nick Andrew <nick@zeta.org.au> and David Parrish <dparrish@zeta.org.au> * Fixes bugs: #21616: sysvinit: sulogin thinks md5 root password is bad #21765: sysvinit: Typo in `killall5.c' #21775: sysvinit: sysvinit does not support MD5 hashed passwords #21990: /usr/bin/last: unnecessary memset and off-by-one bug #22084: sysvinit 2.74-4: SIGPWR missing on sparc #21900: init, powerfail events, and shutdown.allow #21702: init 0 does not work as expected... #21728: sysvinit: Typo in `init.c' #22363: sysvinit: discrepance btw. manpage and /sbin/init -- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 19 May 1998 11:02:29 +0200sysvinit (2.74-4) frozen unstable; urgency=medium * Add -o option to last to process libc5 utmp files. * Buffer overflow fixed in init.c (not very serious; only exploitable by root). Thanks to Chris Evans <chris@ferret.lmh.ox.ac.uk> -- Miquel van Smoorenburg <miquels@cistron.nl> Wed, 15 Apr 1998 17:04:33 +0200sysvinit (2.74-1) unstable; urgency=low * Should compile with glibc 1.99 :) * Change behaviour of reboot(1) and halt(1) so that the default when the runlevel can't be determined is to call shutdown. * Added re-exec patch from Al Viro (21 Feb 1998): 'U' flag added to telinit. It forces init to re-exec itself (passing its state through exec, certainly). May be useful for smoother (heh) upgrades. 24 Feb 1998, AV: did_boot made global and added to state - thanks, Miquel. Yet another file descriptors leak - close state pipe if re_exec fails. -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 12 Mar 1998 17:42:46 +0100sysvinit (2.73-2) unstable; urgency=low * Change _NSIG to NSIG for 2.1.x kernel includes. -- Miquel van Smoorenburg <miquels@cistron.nl> Thu, 8 Jan 1998 16:01:02 +0100sysvinit (2.73-1) unstable; urgency=low * Use siginterrupt, now that system calls are restarted by default. Main symptom was that the sulogin timeout didn't work but there might have been more hidden problems. * Kill process immidiately if turned off in inittab * Fixed sulogin check on tty arg. * Use strerror() instead of sys_errlist * wall now supports a '-n' option to suppress [most of] the banner. Debian doesn't use sysvinit's wall, but apparently Redhat does. * Add '-F' (forcefsck) option to shutdown * 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 +0100sysvinit (2.72-3) unstable; urgency=low * Add extra fork() in dowall.c to avoid hanging in rare cases -- Miquel van Smoorenburg <miquels@cistron.nl> Wed, 22 Oct 1997 14:44:00 +0200sysvinit (2.72) unstable; urgency=low * Applied manual page patches by Bill Hawes <whawes@star.net>. Thanks Bill! * Applied patches to the sample Slackware scripts by "Jonathan I. Kamens" <jik@kamens.brookline.ma.us> * Fix halt and reboot runlevels 0 & 6 check. * Only say "no more processes left in runlevel x" once * Fix race condition with SIGCHLD in spawn() (thanks to Alon Ziv <alonz@CS.Technion.AC.IL>) * Compress all manpages (missed 2) * Compiled for libc6 * Added poweroff patch by Roderich Schupp <rsch@ExperTeam.de> -- Miquel van Smoorenburg <miquels@cistron.nl> Sun, 12 Oct 1997 17:20:17 +0200sysvinit (2.71-2) frozen unstable; urgency=low * Print 2.71 instead of 2.70 on startup :) -- Miquel van Smoorenburg <miquels@cistron.nl> Mon, 5 May 1997 12:45:25 +0200sysvinit (2.71-1) frozen unstable; urgency=high
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -