Menu

#123 some pathname options still use space separated lists

main
closed-wont-fix
nobody
None
5
2015-12-02
2014-10-19
Cálestyo
No

Hi.

The config file says:

The last three examples are being configured as space-separated lists,

which is incorrect, generally, for options specifying pathnames. They

should be configured with one entry per line as in the first example.

i.e. pathname options should not be space separated lists.

However, at least:
BINDIR
IGNORE_PRELINK_DEP_ERR
EMPTY_LOGFILES
MISSING_LOGFILES

still use pathenames and space separated list, or at least are documented to allow that.

Cheers,
Chris.

Discussion

  • John Horne

    John Horne - 2015-11-30

    Yes, because it was considered that no-one would use a pathname for those options which included a space. It may be that there are some Linux distributions, or even OSX, that might include a space, but I couldn't think of any. I suspect there would be other programs that would fail if a log file had a space in it or the command PATH.

     
  • John Horne

    John Horne - 2015-11-30
    • status: open --> closed-wont-fix
     
  • John Horne

    John Horne - 2015-11-30

    Marking this as won't fix for now. If convinced otherwise, then this can be re-opened for fixing.

     
  • Cálestyo

    Cálestyo - 2015-12-02

    Well I simply thought changing it wouldn't hurt, and as the current way it's done doesn't fit rkhunters own documentation,... it seemed improvable from a cosmetic point of view ;-)

     

Log in to post a comment.

MongoDB Logo MongoDB