Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472936 - app-admin/sshguard - init script is broken (?)
Summary: app-admin/sshguard - init script is broken (?)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-11 03:49 UTC by three sixes
Modified: 2016-10-14 05:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.