summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Smee <strerror@gentoo.org>2005-10-10 00:53:56 +0000
committerBenjamin Smee <strerror@gentoo.org>2005-10-10 00:53:56 +0000
commit632514903fc1f2cbd2503bee2908584badc762b5 (patch)
tree714040a478c5dcc5e4270d934620b699e2cc2673
parentMarked stable on amd64. Closes bug #108508. (diff)
downloadgentoo-2-632514903fc1f2cbd2503bee2908584badc762b5.tar.gz
gentoo-2-632514903fc1f2cbd2503bee2908584badc762b5.tar.bz2
gentoo-2-632514903fc1f2cbd2503bee2908584badc762b5.zip
added fix for log_packets.initd
(Portage version: 2.0.51.22-r3)
-rw-r--r--net-analyzer/sguil-sensor/ChangeLog5
-rw-r--r--net-analyzer/sguil-sensor/files/log_packets.initd3
2 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/sguil-sensor/ChangeLog b/net-analyzer/sguil-sensor/ChangeLog
index a5b864f9f2f0..18d9f29cc87d 100644
--- a/net-analyzer/sguil-sensor/ChangeLog
+++ b/net-analyzer/sguil-sensor/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/sguil-sensor
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-sensor/ChangeLog,v 1.2 2005/10/09 13:54:39 strerror Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-sensor/ChangeLog,v 1.3 2005/10/10 00:53:56 strerror Exp $
+
+ 10 Oct 2005; Benjamin Smee <strerror@gentoo.org> files/log_packets.initd:
+ added fix for log_packets.initd
*sguil-sensor-0.5.3-r1 (09 Oct 2005)
diff --git a/net-analyzer/sguil-sensor/files/log_packets.initd b/net-analyzer/sguil-sensor/files/log_packets.initd
index db9ae1000490..5bab23c1d295 100644
--- a/net-analyzer/sguil-sensor/files/log_packets.initd
+++ b/net-analyzer/sguil-sensor/files/log_packets.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-sensor/files/log_packets.initd,v 1.2 2005/10/09 13:54:39 strerror Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-sensor/files/log_packets.initd,v 1.3 2005/10/10 00:53:56 strerror Exp $
opts="start stop cleandisk"
@@ -29,6 +29,7 @@ start() {
then
mkdir "${LOG_DIR}/${today}"
chmod 770 "${LOG_DIR}/${today}"
+ chown root:sguil "${LOG_DIR}/${today}"
fi
start-stop-daemon --start --quiet -b -m --pidfile /var/run/sguil/logpackets.pid \
--exec /usr/bin/snort \