From 83012e81e32bcf735e066c7361ac8739a0303367 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 24 Jun 2010 15:21:03 -0400 Subject: Add small patch package to stop /etc/rc from removing /tmp/filter_dirty before it can be properly processed. Removing /tmp/filter_dirty will cause some package rules (such as Squid) to not be present at the end of the boot process. --- .../patch_rc_filter_dirty.inc | 18 ++++++ .../patch_rc_filter_dirty.patch | 10 ++++ .../patch_rc_filter_dirty.xml | 65 ++++++++++++++++++++++ pkg_config.7.xml | 10 ++++ 4 files changed, 103 insertions(+) create mode 100644 config/patch_rc_filter_dirty/patch_rc_filter_dirty.inc create mode 100644 config/patch_rc_filter_dirty/patch_rc_filter_dirty.patch create mode 100644 config/patch_rc_filter_dirty/patch_rc_filter_dirty.xml diff --git a/config/patch_rc_filter_dirty/patch_rc_filter_dirty.inc b/config/patch_rc_filter_dirty/patch_rc_filter_dirty.inc new file mode 100644 index 00000000..85b5edf6 --- /dev/null +++ b/config/patch_rc_filter_dirty/patch_rc_filter_dirty.inc @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/config/patch_rc_filter_dirty/patch_rc_filter_dirty.patch b/config/patch_rc_filter_dirty/patch_rc_filter_dirty.patch new file mode 100644 index 00000000..81163362 --- /dev/null +++ b/config/patch_rc_filter_dirty/patch_rc_filter_dirty.patch @@ -0,0 +1,10 @@ +--- rc.orig 2010-06-24 18:38:58.000000000 +0000 ++++ rc 2010-06-24 18:39:06.000000000 +0000 +@@ -319,7 +319,6 @@ + + # Remove stale files that have already been processed by bootup + # scripts +-rm -f /tmp/filter_dirty + rm -f /tmp/rc.linkup + nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status & + diff --git a/config/patch_rc_filter_dirty/patch_rc_filter_dirty.xml b/config/patch_rc_filter_dirty/patch_rc_filter_dirty.xml new file mode 100644 index 00000000..63f8f7d6 --- /dev/null +++ b/config/patch_rc_filter_dirty/patch_rc_filter_dirty.xml @@ -0,0 +1,65 @@ + + + + + + . + All rights reserved. + */ +/* ========================================================================== */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ +/* ========================================================================== */ + ]]> + + Patch to stop /etc/rc from removing /tmp/filter_dirty on boot. Fixes boot issues with some packages on certain platforms. + pfSense 1.2.3 + None + Patch rc to leave filter_dirty + 0.2 + Patch rc to leave filter_dirty + /usr/local/pkg/patch_rc_filter_dirty.inc + + /usr/local/pkg/ + 077 + http://www.pfsense.com/packages/config/patch_rc_filter_dirty/patch_rc_filter_dirty.inc + + + /usr/local/pkg/ + 077 + http://www.pfsense.com/packages/config/patch_rc_filter_dirty/patch_rc_filter_dirty.patch + + + patch_rc_filter_dirty_install(); + + diff --git a/pkg_config.7.xml b/pkg_config.7.xml index 8b652ef2..fb00ba25 100755 --- a/pkg_config.7.xml +++ b/pkg_config.7.xml @@ -1053,5 +1053,15 @@ http://www.pfsense.org/packages/config/rrd-summary/rrd-summary.xml rrd-summary.xml + + Patch rc to leave filter_dirty + Patch to stop /etc/rc from removing /tmp/filter_dirty on boot. Fixes boot issues with some packages on certain platforms. + System + http://www.pfsense.com/packages/config/patch_rc_filter_dirty/patch_rc_filter_dirty.xml + 0.1 + BETA + 1.2.3 + 1.2.3 + -- cgit v1.2.3