Summary: | syslog-ng init script does not parse valid constructs while checking for "net" dependency | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tavis Ormandy (RETIRED) <taviso> |
Component: | New packages | Assignee: | Mr. Bones. (RETIRED) <mr_bones_> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Tavis Ormandy (RETIRED)
2004-08-15 14:39:37 UTC
actually, you can make weird constructs that syslog-ng accepts but that doesnt either. how about making a file for syslog-ng in /etc/conf.d that has DEPEND_ON_NET="yes" or something like that? sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf | xargs | grep -Eq '(source|destination).*(tcp|udp)' && need net That's pretty sufficient IMHO (with the xargs). There's an extremely low chance of false positives. sounds good, i dont think it does any harm depending on net anyway :) committed |