<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sbin/init, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2006-12-03T19:01:42Z</updated>
<entry>
<title>MFC 1.33:</title>
<updated>2006-12-03T19:01:42Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2006-12-03T19:01:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=06bcedf0118d31e3dfad9ee16c963157eb18ca86'/>
<id>urn:sha1:06bcedf0118d31e3dfad9ee16c963157eb18ca86</id>
<content type='text'>
use standard mode instead of 500 for /sbin/init
</content>
</entry>
<entry>
<title>MFC rev. 1.62:</title>
<updated>2006-07-08T15:34:27Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2006-07-08T15:34:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3646371461b0687ed7c6f49875b34acd7c161e16'/>
<id>urn:sha1:3646371461b0687ed7c6f49875b34acd7c161e16</id>
<content type='text'>
Reparent the process that executes the window= command from the ttys
to the init. This prevents zombies from being accumulated.

PR:		bin/64198
Tested by:	Eugene Grosbein &lt;eugen at www svzserv kemerovo su&gt;
Approved by:	kan (mentor)
</content>
</entry>
<entry>
<title>MFC to RELENG_6:</title>
<updated>2005-10-04T17:29:00Z</updated>
<author>
<name>Ralf S. Engelschall</name>
<email>rse@FreeBSD.org</email>
</author>
<published>2005-10-04T17:29:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=89d93b0fd05720285c2a27b118992e5de080c62e'/>
<id>urn:sha1:89d93b0fd05720285c2a27b118992e5de080c62e</id>
<content type='text'>
| 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
|
| Revision  Changes    Path
| 1.48      +7 -1      src/sbin/init/init.8
| 1.61      +1 -1      src/sbin/init/init.c
| 1.264     +16 -1     src/share/man/man5/rc.conf.5
| 1.257     +11 -0     src/sys/kern/init_main.c

Approved by: re (scottl)
</content>
</entry>
<entry>
<title>Sort sections.</title>
<updated>2005-01-18T10:09:38Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-18T10:09:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6087df9e8b0853475378c8ffa0d7f60590343e34'/>
<id>urn:sha1:6087df9e8b0853475378c8ffa0d7f60590343e34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make WARNS=6 happy with our init(8):</title>
<updated>2005-01-11T14:34:29Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-01-11T14:34:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ab03e6d5971541e1d1c4d1f181638284f3ec1ee8'/>
<id>urn:sha1:ab03e6d5971541e1d1c4d1f181638284f3ec1ee8</id>
<content type='text'>
	- Use more ``const''s where suitable.
	- Define strk() as a static function in global scope.
	  This avoids the "nested extern declaration" warnings.
	- Use static initialization of strings, rather than
	  referring string constants through char *.
	- Bump WARNS from 0 to 6.
</content>
</entry>
<entry>
<title>NOSHARED -&gt; NO_SHARED</title>
<updated>2004-12-21T09:59:45Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-12-21T09:59:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=83c7ade90a32f8aaff4de282b9fc2493076a54b9'/>
<id>urn:sha1:83c7ade90a32f8aaff4de282b9fc2493076a54b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar</title>
<updated>2004-11-03T18:01:21Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-11-03T18:01:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dee651eb15eb85ae1b3bd54056277d1dde58d129'/>
<id>urn:sha1:dee651eb15eb85ae1b3bd54056277d1dde58d129</id>
<content type='text'>
to PRECIOUSLIB from bsd.lib.mk.  The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.

Reviewed by:	oliver
</content>
</entry>
<entry>
<title>Turns out that revision 1.52 was a bad idea.  It broke the long</title>
<updated>2004-09-28T04:22:55Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-09-28T04:22:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=89e3b380f9983b1f6a59afea3061b268c230f6a0'/>
<id>urn:sha1:89e3b380f9983b1f6a59afea3061b268c230f6a0</id>
<content type='text'>
standing ability to list a non-existant device in /etc/ttys to keep it
from dying.  This is a documented feature of init(8):
     The init utility can also be used to keep arbitrary daemons running,
     automatically restarting them if they die.  In this case, the first field
     in the ttys(5) file must not reference the path to a configured device
     node and will be passed to the daemon as the final argument on its com-
     mand line.  This is similar to the facility offered in the AT&amp;T System V
     UNIX /etc/inittab.

So rather than fix the man page to 'break' this feature, back out the change.

At the time this change was made, people felt that the spamage from
getty was annoying on headless consoles.  Andrew Gallatin noted:
&gt; Most of my machines are headless without video cards and use a serial
&gt; console.  With devfs this means that /dev/ttyv[1-N] do not exist and
&gt; getty bitches like this:
&gt;
&gt; Sep 26 11:00:11 monet getty[543]: open /dev/ttyv1: No such file or directory

and we went off and applied this hack rather than fixing getty to
sleep forever when it gets an unknown device, as was Andrew's other
suggestion.  Since it breaks things, I'm off to do that instead.
</content>
</entry>
<entry>
<title>Add references to pf(4) and pfctl(8) at the description of</title>
<updated>2004-07-22T10:38:13Z</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2004-07-22T10:38:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=328dbe4a949869880b1946b6a5b044872ee42d0e'/>
<id>urn:sha1:328dbe4a949869880b1946b6a5b044872ee42d0e</id>
<content type='text'>
securelevel = 3.

PR:		docs/69417
Submitted by:	Janos Mohacsi (mohacsi(at)niif(dot)hu)
</content>
</entry>
<entry>
<title>Mechanically kill hard sentence breaks.</title>
<updated>2004-07-02T21:45:06Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-07-02T21:45:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9806e231322307da0109e101ae2ef997a4a22290'/>
<id>urn:sha1:9806e231322307da0109e101ae2ef997a4a22290</id>
<content type='text'>
</content>
</entry>
</feed>
