Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#43 @@ifnhost doesn't work, gives wrong error message

closed
None
5
2006-03-01
2005-10-25
Marc Haber
No

This is from the Debian BTS;
http://bugs.debian.org/244917

If an @@ifnhost construct like
@@ifnhost otherhostname.tld
# check sources for modifications
/usr/src L
/usr/local/src L
@@endif

is used, aide complains:
29:syntax error:.
29:Error while reading configuration:.
Configuration error

The line number is completely off, and the error
message doesn't apply.

Discussion

  • Aide config file

     
    Attachments
  • Logged In: YES
    user_id=34397

    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.

     
  • Logged In: YES
    user_id=330646

    Please try the CVS version at
    http://aide.sourceforge.net/aide-CVS-snapshot.tar.gz

    If the problem persists, please attach your aide.conf, the
    output of aide run with -V255 and if possible a gdb backtrace.

     
    • assigned_to: nobody --> rvdb
     
    • status: open --> pending
     
  • Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed