Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 472936

Summary: app-admin/sshguard - init script is broken (?)
Product: Gentoo Linux Reporter: three sixes <666threesixes666>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED WORKSFORME    
Severity: major CC: bkohler, god
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description three sixes 2013-06-11 03:49:43 UTC
sshguard init script is broken, the package works but it needs the init script completely reworked.  --background flag must be removed, and /var/log/auth.log does not exist.  its parent website claims support for metalog and syslog-ng, neither produced said file, upstreams configs reference this file also.  it fails to /etc/init.d/sshguard start out of the box.............
Comment 1 Ben Kohler gentoo-dev 2013-06-11 04:20:14 UTC
This package could use a note telling people that it won't start until they set a proper log path, but I don't know that any more action than that is needed.  

Many people do have their logger configured to produce /var/log/auth.log, some of the syslog-ng examples still reference this file.  See /usr/share/doc/syslog-ng-*/syslog-ng.conf.doc.bz2 for example.  There is no preset log path that's going to work for everyone, I think it just needs to be made clear that user action is absolutely required here.
Comment 2 Sergey Popov (RETIRED) gentoo-dev 2013-06-11 06:07:55 UTC
(In reply to three sixes from comment #0)
> sshguard init script is broken, the package works but it needs the init
> script completely reworked.  --background flag must be removed

Why this change is needed? Can you explain?


(In reply to three sixes from comment #0)
> /var/log/auth.log does not exist.

It is one of the default log files when you using sysklogd or syslog-ng(not sure about metalog though). So, possibly, this is problem in your configuration.