Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97424 - Fix syslog-ng startscript filtering for network-usage
Summary: Fix syslog-ng startscript filtering for network-usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 14:53 UTC by Timo Boettcher
Modified: 2005-07-04 10:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Boettcher 2005-06-29 14:53:42 UTC
the syslog-ng startscript /etc/init.d/syslog-ng greps for tcp or udp in /etc/syslog-ng/syslog-ng.conf to determine whether it should need net or not. It should check only for these occurences of tcp or udp that are NOT COMMENTED out.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-06-29 16:49:21 UTC
It does that already.

What does "grep Header /etc/init.d/syslog-ng" show?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-06-30 18:13:09 UTC
reopen with that info.
Comment 3 Timo Boettcher 2005-06-30 23:50:37 UTC
Sorry that I didn't provide the info earlier, I had to file the bug on a 
different machine.

I have syslog-ng-1.6.7

grep Header /etc/init.d/syslog-ng
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.
17 2004/12/14 23:16:47 agriffis Exp $

Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-06-30 23:56:41 UTC
and what does "sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf" give you? (attach
that as text/plain instead of inline please)
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-07-01 15:56:07 UTC
do the reopen thing again...
Comment 6 Timo Boettcher 2005-07-04 00:09:24 UTC
seems that during updating, the statement was changed from grep to sed | grep 
(IIRC). This works for me now.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-07-04 10:15:15 UTC
bugzilla
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-07-04 10:15:25 UTC
bugzilla