user [EMAIL PROTECTED] usertags #244917 close-20060531 thanks On Sun, Oct 23, 2005 at 06:42:48PM +0200, Marc Haber wrote: > On Tue, Apr 20, 2004 at 06:37:15PM +0200, Andy Spiegl wrote: > > I found two causes for a segfault: > > 1.) when called with the option --config-check independently of the > > contents of the config file. > > Examples: > > hostname:~#aide --config-check > > zsh: 13437 segmentation fault aide --config-check > > > > hostname:~#aide --config /dev/null --config-check > > zsh: 13140 segmentation fault aide --config /dev/null --config-check > > That one does not happen with the release candidates of aide 0.11, so > expect it to be fixed as soon as upstream releases 0.11.
Can you please verify whether this is still fixed in 0.11-1 from unstable? > > 2.) when using the macro "@@ifnhost" in the config file. > > Example: > > hostname:~#grep -A4 ifnhost /etc/aide/aide.conf > > @@ifnhost otherhostname.tld > > # check sources for modifications > > /usr/src L > > /usr/local/src L > > @@endif > > > > hostname:~#aide --init > > zsh: 15687 segmentation fault aide --init > > I can reproduce this, and have reported it upstream. Upstream comments on https://sourceforge.net/tracker/index.php?func=detail&aid=1337755&group_id=86976&atid=581579 The @@ifnhost and @@ifhost directives were intended to match only the hostname without the domainname. So in your example, "otherhostname.tld" is not a valid token for @@ifnhost. It should just be: @@ifnhost otherhostname # check sources for modifications /usr/src L /usr/local/src L @@endif See [ 1430482 ] fix for the broken @@ifhost and @@ifnhost directives for details on a patch to fix these directives. I suspect that this is also fixed in 0.11-1, please verify. I am marking this bug to be closed by the end of may 2006 shouldn't we find out that it still applies until then. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]