freebsd-nq/share/man/man5
Ralf S. Engelschall 724447ac41 Fix system shutdown timeout handling by again supporting longer running
shutdown procedures (which have a duration of more than 120 seconds).

We have two user-space affecting shutdown timeouts: a "soft" one in
/etc/rc.shutdown and a "hard" one in init(8). The first one can be
configured via /etc/rc.conf variable "rcshutdown_timeout" and defaults
to 30 seconds. The second one was originally (in 1998) intended to be
configured via sysctl(8) variable "kern.shutdown_timeout" and defaults
to 120 seconds.

Unfortunately, the "kern.shutdown_timeout" was declared "unused" in 1999
(as it obviously is actually not used within the kernel itself) and
hence was intentionally but misleadingly removed in revision 1.107 from
init_main.c. Kernel sysctl(8) variables are certainly a wrong way to
control user-space processes in general, but in this particular case the
sysctl(8) variable should have remained as it supports init(8), which
isn't passed command line flags (which in turn could have been set via
/etc/rc.conf), etc.

As there is already a similar "kern.init_path" sysctl(8) variable which
directly affects init(8), resurrect the init(8) shutdown timeout under
sysctl(8) variable "kern.init_shutdown_timeout". But this time document
it as being intentionally unused within the kernel and used by init(8).
Also document it in the manpages init(8) and rc.conf(5).

Reviewed by: phk
MFC after: 2 weeks
2005-09-15 13:16:07 +00:00
..
a.out.5 Use 'manual page' instead of 'man page' for consistency. 2005-06-30 13:18:15 +00:00
acct.5
bluetooth.hosts.5 Pathnames as .Nm arguments in the NAME section isn't a 2004-07-07 13:09:37 +00:00
bluetooth.protocols.5 Pathnames as .Nm arguments in the NAME section isn't a 2004-07-07 13:09:37 +00:00
config.5 Fully document (no)?(device|option)s?. 2005-02-10 14:26:21 +00:00
core.5 Remove some information that only applies to the old a.out core dump format. 2004-11-22 03:15:21 +00:00
devfs.5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
devfs.conf.5 Fix all the spelling mistakes I could find in the man pages for words 2005-07-31 03:30:48 +00:00
devfs.rules.5 (Mostly) markup fixes. 2005-06-16 18:46:17 +00:00
device.hints.5 Document portsize. 2003-09-19 22:27:54 +00:00
dir.5 Sort sections. 2005-01-21 08:36:40 +00:00
disktab.5 Update SEE ALSO section. 2005-07-29 11:31:16 +00:00
elf.5 Assorted markup fixes and minor wordsmithing. 2005-06-15 13:31:23 +00:00
ethers.5 Fixed macro abuse. 2005-01-21 10:46:36 +00:00
eui64.5 Fixed markup. 2004-07-07 20:32:33 +00:00
fbtab.5
fdescfs.5 Deal with unsafe tab characters. 2004-07-02 19:55:26 +00:00
forward.5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
fs.5 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
fstab.5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
group.5 Sort sections. 2005-01-21 08:36:40 +00:00
hesiod.conf.5 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
hosts.5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
hosts.equiv.5 Use 'manual page' instead of 'man page' for consistency. 2005-06-30 13:18:15 +00:00
hosts.lpd.5 Assorted markup, spelling, and grammar fixes. 2004-06-16 08:33:57 +00:00
intro.5 Sort sections. 2005-01-21 08:36:40 +00:00
libmap.conf.5 Correct some grammar. 2005-08-11 10:32:05 +00:00
link.5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
linprocfs.5 Sort sections. 2005-01-21 08:36:40 +00:00
mailer.conf.5 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
make.conf.5 document ENABLE_WPA_SUPPLICANT_EAPOL 2005-07-08 19:26:55 +00:00
Makefile Add portsnap to the base system. This is a secure, easy to use, 2005-08-08 20:10:06 +00:00
moduli.5
motd.5
msdosfs.5 Remove superfluous reference to the FreeBSD handbook. 2005-09-14 16:32:21 +00:00
networks.5 Sort sections. 2005-01-21 08:36:40 +00:00
nsmb.conf.5 Add a nsmb.conf manual page. 2003-08-09 19:11:52 +00:00
nsswitch.conf.5 Add note to remove nis entries when compiling with NO_NIS. 2005-04-24 20:24:59 +00:00
passwd.5 Add xrefs to crypt(3) and pw(8) and add a warning about not manually 2005-02-08 19:23:24 +00:00
pbm.5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
periodic.conf.5 Use 'manual page' instead of 'man page' for consistency. 2005-06-30 13:18:15 +00:00
phones.5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
portsnap.conf.5 Teach portsnap how to ignore unwanted parts of the ports tree. A line 2005-09-06 19:28:37 +00:00
procfs.5 Update doc dates. 2004-09-03 18:56:59 +00:00
protocols.5 Sort sections. 2005-01-21 08:36:40 +00:00
quota.user.5 Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
rc.conf.5 Fix system shutdown timeout handling by again supporting longer running 2005-09-15 13:16:07 +00:00
remote.5 Sort sections. 2005-01-21 08:36:40 +00:00
resolver.5 Improve the description of "timeout" and "attempts" resolver 2004-09-09 17:19:27 +00:00
services.5 Sort sections. 2005-01-21 08:36:40 +00:00
shells.5
stab.5 Sort sections. 2005-01-21 08:36:40 +00:00
style.Makefile.5 Fix a grammar nit of mine. 2005-02-28 18:32:25 +00:00
sysctl.conf.5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
utmp.5 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00