<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/etc/defaults, branch release/5.4.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.4.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.4.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2005-05-07T17:51:10Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-05-07T17:51:10Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-05-07T17:51:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e87a6b5d6805bf9f3f9faf53db0ba96345ef0f77'/>
<id>urn:sha1:e87a6b5d6805bf9f3f9faf53db0ba96345ef0f77</id>
<content type='text'>
'RELENG_5_4_0_RELEASE'.

This commit was manufactured to restore the state of the 5.4-RELEASE image.
</content>
</entry>
<entry>
<title>MFC fixes for rc.d/random:</title>
<updated>2005-04-14T21:58:55Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2005-04-14T21:58:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ead05243bc2c4c0338c396b865ac43afe1a7dc71'/>
<id>urn:sha1:ead05243bc2c4c0338c396b865ac43afe1a7dc71</id>
<content type='text'>
/var/db/entropy -&gt; /var/db/entropy-file, and
Fix error message when save fails.

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC 1.244: Set freq to high instead of leaving boot default</title>
<updated>2005-04-07T17:29:04Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2005-04-07T17:29:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=97bc410e5bf6ca1affa7f094b56053c9632c0af8'/>
<id>urn:sha1:97bc410e5bf6ca1affa7f094b56053c9632c0af8</id>
<content type='text'>
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC: Disable C2/C3 for the release to be safe.</title>
<updated>2005-02-27T04:06:57Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2005-02-27T04:06:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ebd39438c646a6d16f7d21bcea29caa2d963be75'/>
<id>urn:sha1:ebd39438c646a6d16f7d21bcea29caa2d963be75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC: power_profile changes for cpufreq</title>
<updated>2005-02-25T21:46:27Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2005-02-25T21:46:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5f31d41ed8384bcd80467cb7c4bd6a0b3dc2a09a'/>
<id>urn:sha1:5f31d41ed8384bcd80467cb7c4bd6a0b3dc2a09a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC rc.conf 1.236, periodic.conf 1.33:</title>
<updated>2005-02-22T13:17:18Z</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2005-02-22T13:17:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b4e4a5abea666acf78c86f1e04b996d67d788910'/>
<id>urn:sha1:b4e4a5abea666acf78c86f1e04b996d67d788910</id>
<content type='text'>
Add a note about their respective manpages to rc.conf and periodic.conf
</content>
</entry>
<entry>
<title>MFC: For variables that are only checked with defined(), don't provide</title>
<updated>2005-02-13T07:23:46Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2005-02-13T07:23:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3152376aea3a65195a85469996d1f887cd880554'/>
<id>urn:sha1:3152376aea3a65195a85469996d1f887cd880554</id>
<content type='text'>
     any fake value.
</content>
</entry>
<entry>
<title>MFC: defaults/rc.conf	-&gt; 1.230, 1.231</title>
<updated>2005-01-17T11:51:00Z</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2005-01-17T11:51:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=eb579902ea8b2466d603c63bc634418a2d55550e'/>
<id>urn:sha1:eb579902ea8b2466d603c63bc634418a2d55550e</id>
<content type='text'>
     rc.subr		-&gt; 1.32, 1.33
     rc.d/tmp		-&gt; 1.35
     rc.d/var		-&gt; 1.35

Fix a minor, cosmetic typo of `rc.subr'.
Add two new rc.conf options: tmpmfs_flags and varmfs_flags.

These can be used to pass extra options to the mdmfs(8) utility,
to customize the finer details of the md file system creation
(i.e. to turn on/off softupdates, to specify a default owner for
md filesystem, etc).

Use these two new flags to mount tmpmfs and varmfs without
softupdates, since it doesn't make much sense to use SU on
malloc-backed file systems.
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-01-03T12:41:39Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-01-03T12:41:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8541b0697502b0b3d4e05d5d26703bfd090d7de7'/>
<id>urn:sha1:8541b0697502b0b3d4e05d5d26703bfd090d7de7</id>
<content type='text'>
Gmirror now uses shutdown hooks to stop itself in a clean way, that's why
we don't need stop method for rc.d/swap1 script anymore.
</content>
</entry>
<entry>
<title>MFC: src/etc/defaults/rc.conf:1.234</title>
<updated>2004-12-28T10:43:33Z</updated>
<author>
<name>Ralf S. Engelschall</name>
<email>rse@FreeBSD.org</email>
</author>
<published>2004-12-28T10:43:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=841348af9160715dfba0d70b1d36ca4f52b43185'/>
<id>urn:sha1:841348af9160715dfba0d70b1d36ca4f52b43185</id>
<content type='text'>
     src/etc/rc.d/jail:1.20
     src/etc/rc.shutdown:1.30

Improve the RC framework for the clean booting/shutdown of Jails:

1. Feature: for flexibility reasons and as a prerequisite to clean
   shutdowns, allow the configuration of a stop/shutdown command
   via rc.conf variable "jail_&lt;name&gt;_exec_stop" in addition to the
   start/boot command (rc.conf variable "jail_&lt;name&gt;_exec_start"). For
   backward compatibility reasons, rc.conf variable "jail_&lt;name&gt;_exec"
   is still supported, too.

2. Debug: Add the used boot/shutdown commands to the debug output of
   the /etc/rc.d/jail script, too.

3. Security: Run the Jail start/boot command in a cleaned environment
   to not leak information from the host to the Jail during startup.

4. Feature: Run the Jail stop/shutdown command "jail_&lt;name&gt;_exec_stop" on
   "/etc/rc.d/jail stop &lt;name&gt;" to allow a graceful shutdown of the Jail
   before its processes are just killed.

5. Bugfix: When killing the remaining Jail processes give the processes
   time to actually perform their termination sequence. Without this the
   subsequent umount(8) operations usually fail because the resources
   are still in use. Additionally, if after trying to TERM-inate the
   processes there are still processes hanging around, finally just KILL
   them.

6. Bugfix: In rc.shutdown, if running inside a Jail, skip the /etc/rc.d/*
   scripts which are flagged with the KEYWORD "nojail" to allow the
   correct operation of rc.shutdown under jail_&lt;name&gt;_exec_stop="/bin/sh
   /etc/rc.shutdown". This is analogous to what /etc/rc does inside a Jail.

Now the following typical host-configuration for two Jails works as
expected and correctly boots and shutdowns the Jails:

-----------------------------------------------------------
#  /etc/rc.conf:
jail_enable="YES"
jail_list="foo bar"
jail_foo_rootdir="/j/foo"
jail_foo_hostname="foo.example.com"
jail_foo_ip="192.168.0.1"
jail_foo_devfs_enable="YES"
jail_foo_mount_enable="YES"
jail_foo_exec_start="/bin/sh /etc/rc"
jail_foo_exec_stop="/bin/sh /etc/rc.shutdown"
jail_bar_rootdir="/j/bar"
jail_bar_hostname="bar.example.com"
jail_bar_ip="192.168.0.2"
jail_bar_devfs_enable="YES"
jail_bar_mount_enable="YES"
jail_bar_exec_start="/path/to/kjailer -v"
jail_bar_exec_stop="/bin/sh -c 'killall kjailer &amp;&amp; sleep 60'"
-----------------------------------------------------------
#  /etc/fstab.foo
/v/foo /j/foo/v/foo nullfs rw 0 0
-----------------------------------------------------------
#  /etc/fstab.bar
/v/bar /j/bar/v/bar nullfs rw 0 0
-----------------------------------------------------------
</content>
</entry>
</feed>
