<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/etc/rc.d/cleartmp, branch releng/7.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2006-10-16T13:01:45Z</updated>
<entry>
<title>Improve cleartmp in a number of aspects:</title>
<updated>2006-10-16T13:01:45Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2006-10-16T13:01:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7d0ed28d3bca816ec292d4f21c5b8e96291bb3d1'/>
<id>urn:sha1:7d0ed28d3bca816ec292d4f21c5b8e96291bb3d1</id>
<content type='text'>
+ Use rc.subr(8) features properly.
+ Do the whole job of obliterating /tmp contents in find(1).
+ Leave lost+found and quota.{user,group} in /tmp only if root-owned.
+ Make the overall structure clearer by first removing the X dirs
  (perhaps along with the rest of /tmp) and then re-creating them.
+ Use "find -exec rm -rf {} +" for efficiency: each rm instance gets
  a chance to kill as much files in /tmp as ARG_MAX permits.

PR:		bin/104044
Submitted by:	Andrey Simonenko &lt;see PR for email&gt;
Hacked by:	yar
MFC after:	1 month
</content>
</entry>
<entry>
<title>Fix another braino, don't remove the X related socket directories</title>
<updated>2005-12-27T23:22:18Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2005-12-27T23:22:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cc41555849313a5d9797fc56cd6f3302916c40a8'/>
<id>urn:sha1:cc41555849313a5d9797fc56cd6f3302916c40a8</id>
<content type='text'>
right after creating them.

Twiddle whitespace while I'm here.
</content>
</entry>
<entry>
<title>Make sure that the prestart routine is run with *start, instead of</title>
<updated>2005-12-27T23:08:58Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2005-12-27T23:08:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eeb92ff283681c16ee3f5a496bfd22d91d1659f6'/>
<id>urn:sha1:eeb92ff283681c16ee3f5a496bfd22d91d1659f6</id>
<content type='text'>
just 'start'.

Reminded by:	keramida
</content>
</entry>
<entry>
<title>Include a somewhat hackish way to make sure that we *always* test the</title>
<updated>2005-12-20T23:22:47Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2005-12-20T23:22:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2092fca9810ea1a49deb19134d86807e801e69c9'/>
<id>urn:sha1:2092fca9810ea1a49deb19134d86807e801e69c9</id>
<content type='text'>
new clear_tmp_X variable when start'ing.
</content>
</entry>
<entry>
<title>Brooks pointed out a potential problem with disabling the X cleaning</title>
<updated>2005-12-20T20:36:48Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2005-12-20T20:36:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aa5affaf3be97995cd4cbe5d707a2eac73e0fabf'/>
<id>urn:sha1:aa5affaf3be97995cd4cbe5d707a2eac73e0fabf</id>
<content type='text'>
by default, so add a new knob that is on by default, and check that
knob in start_precmd so that it can run even if cleaning /tmp is
not enabled. This has the advantage of not violating POLA, while
still allowing the user to disable this behavior if they wish (for
example on a server that will never run X).
</content>
</entry>
<entry>
<title>Clear up problems with /etc/rc.d/{abi|cleanvar|cleartmp} brought</title>
<updated>2005-12-19T10:57:00Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2005-12-19T10:57:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea871df08c0fa6d26fb797dba6731dd3f7e1f4f3'/>
<id>urn:sha1:ea871df08c0fa6d26fb797dba6731dd3f7e1f4f3</id>
<content type='text'>
to light by the PR.  Specifically, convert these three scripts
into good rc.d citizens, making sure that their functionality
is preserved, but the rc.d framework rules are not broken.

Add support for cleanvar as a regular rc.d script in the
default rc.conf, and document this in the man page.

Add a descriptive comment to rc.conf that regarding the
three emulation/compatibility services provided by abi
so users will not be confused by these services not having
their own startup scripts.

PR:		conf/84574
Submitted by:	Alexander Botero-Lowry
</content>
</entry>
<entry>
<title>Create three additional X socket directories.  Using X applications when another</title>
<updated>2005-01-12T07:18:25Z</updated>
<author>
<name>Eric Anholt</name>
<email>anholt@FreeBSD.org</email>
</author>
<published>2005-01-12T07:18:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b9a9947ecae11428767aec35689db4554086dc01'/>
<id>urn:sha1:b9a9947ecae11428767aec35689db4554086dc01</id>
<content type='text'>
user owns these directories or the sticky bit is unset may open security holes,
so simply create them at startup with the correct owner/mode.

MFC after:	1 day
</content>
</entry>
<entry>
<title>Remove the requirement for the FreeBSD keyword as it no longer</title>
<updated>2004-10-07T13:55:26Z</updated>
<author>
<name>Mike Makonnen</name>
<email>mtm@FreeBSD.org</email>
</author>
<published>2004-10-07T13:55:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=337338ee009d6a396b8cd625d57f25f4269ed33d'/>
<id>urn:sha1:337338ee009d6a396b8cd625d57f25f4269ed33d</id>
<content type='text'>
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days
</content>
</entry>
<entry>
<title>Overhaul the /etc/rc.d/diskless script by splitting it out into</title>
<updated>2004-03-23T23:22:35Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2004-03-23T23:22:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e091039ee9b7c3a16b2072f1b60dd90bc4623a6'/>
<id>urn:sha1:3e091039ee9b7c3a16b2072f1b60dd90bc4623a6</id>
<content type='text'>
hostname, resolve, tmp, and var scripts.  The latter three are new and
were repo copied.  These scripts no longer depend on being booted with
and NFS root instead attempt to automaticly create mfs /tmp and /var
volumes if the they are not writable.  This behavior can be overridden
in /etc/rc.conf.

Reviewed by:    luigi, pjd
</content>
</entry>
<entry>
<title>Remove scripts we don't use from requirement lines. These were</title>
<updated>2004-03-05T07:43:38Z</updated>
<author>
<name>Mike Makonnen</name>
<email>mtm@FreeBSD.org</email>
</author>
<published>2004-03-05T07:43:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e571c70357857c93ec5257c0a8da3508ad4c38d'/>
<id>urn:sha1:6e571c70357857c93ec5257c0a8da3508ad4c38d</id>
<content type='text'>
hold-overs from the initial NetBSD import.
</content>
</entry>
</feed>
