* Re: Can not run sshguard as a service
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17728@inbox.vuxu.org>
2019-12-29 11:16 ` Can not run sshguard as a service voidlinux-github
@ 2020-01-02 17:42 ` voidlinux-github
2020-01-02 17:43 ` voidlinux-github
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-02 17:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
New comment by kotoko on void-packages repository
https://github.com/void-linux/void-packages/issues/17728#issuecomment-570283008
Comment:
I fixed my problem. It turned out that `iptables` (service in runit) was not running. When deleted check for it from `/etc/sv/sshguuard-socklog/run`, sshguard run successfully.
In my opinion the biggest fail was that runit did not show any useful information. I would expect to see some kind of tip that dependency was at fault here. Somehow check for iptables timed out?
You can close issue.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can not run sshguard as a service
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17728@inbox.vuxu.org>
2019-12-29 11:16 ` Can not run sshguard as a service voidlinux-github
2020-01-02 17:42 ` voidlinux-github
@ 2020-01-02 17:43 ` voidlinux-github
2020-01-02 17:46 ` voidlinux-github
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-02 17:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
New comment by kotoko on void-packages repository
https://github.com/void-linux/void-packages/issues/17728#issuecomment-570283008
Comment:
I fixed my problem. It turned out that `iptables` (service in runit) was not running. When deleted check for it from `/etc/sv/sshguuard-socklog/run`, sshguard run successfully.
In my opinion the biggest fail was that runit did not show any useful information. I would expect to see some kind of tip that dependency was at fault here. By the way, somehow check for iptables timed out?
You can close issue.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can not run sshguard as a service
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17728@inbox.vuxu.org>
` (2 preceding siblings ...)
2020-01-02 17:43 ` voidlinux-github
@ 2020-01-02 17:46 ` voidlinux-github
2020-02-02 19:52 ` [ISSUE] [CLOSED] " voidlinux-github
2020-02-02 19:56 ` voidlinux-github
5 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-02 17:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
New comment by kotoko on void-packages repository
https://github.com/void-linux/void-packages/issues/17728#issuecomment-570283008
Comment:
I fixed my problem. It turned out that `iptables` (service in runit) was not running. When deleted check for it from `/etc/sv/sshguard-socklog/run`, sshguard run successfully.
In my opinion the biggest fail was that runit did not show any useful information. I would expect to see some kind of tip that dependency was at fault here. By the way, somehow check for iptables timed out?
You can close issue.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ISSUE] [CLOSED] Can not run sshguard as a service
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17728@inbox.vuxu.org>
` (3 preceding siblings ...)
2020-01-02 17:46 ` voidlinux-github
@ 2020-02-02 19:52 ` voidlinux-github
2020-02-02 19:56 ` voidlinux-github
5 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-02-02 19:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]
Closed issue by kotoko on void-packages repository
https://github.com/void-linux/void-packages/issues/17728
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname: `Void 5.3.18_1 X86_64 GenuineIntel uptodate rFFF`
* packages:
* `sshguard-2.4.0_1`
* `openssh-8.1p1_1`
* `socklog-2.1.0_5`
### Expected behavior
You can start sshguard service using `sv` command.
### Actual behavior
`sv` command times out and kills process.
### Steps to reproduce the behavior
Assuming you have already running ssh server. I am using socklog as logger.
```
$ xbps-install sshguard
$ ln -s /etc/sv/sshguard-socklog /var/service
$ sv up sshguard-socklog
timeout: down: sshguard-socklog: 1s, normally up, want up
```
### Comment
So it looks like sshguard is running as normal program without forking/going to background by itself. It is running as long as executable is executing. On the other hand `sv` expects that all commands end within few seconds or it fails. I did experiment and run as root `sshguard` and tested with failed login attempt to ssh server. It worked as expected (banned me). So it is just problem with running.
Second thing I noticed is that there is passed `-l` (small L) as parameter which is no longer supported. I think there is mandatory file `/etc/sshguard.conf` for configuration.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can not run sshguard as a service
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17728@inbox.vuxu.org>
` (4 preceding siblings ...)
2020-02-02 19:52 ` [ISSUE] [CLOSED] " voidlinux-github
@ 2020-02-02 19:56 ` voidlinux-github
5 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-02-02 19:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by kotoko on void-packages repository
https://github.com/void-linux/void-packages/issues/17728#issuecomment-581170769
Comment:
I don't know if I'm right, but I guess that because runit does not have a concept of dependencies `iptables check` was waiting until service `iptables` is started.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can not run sshguard as a service
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17728@inbox.vuxu.org>
@ 2019-12-29 11:16 ` voidlinux-github
2020-01-02 17:42 ` voidlinux-github
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-12-29 11:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
New comment by CameronNemo on void-packages repository
https://github.com/void-linux/void-packages/issues/17728#issuecomment-569495831
Comment:
From `/usr/bin/sshguard`:
```
eval $tailcmd | $libexec/sshg-parser | \
$libexec/sshg-blocker $flags | $BACKEND &
```
does runit allow nesting log dirs within log dirs? if so you may be able to get runit to set those pipes up on your behalf.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-02 19:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17728@inbox.vuxu.org>
2019-12-29 11:16 ` Can not run sshguard as a service voidlinux-github
2020-01-02 17:42 ` voidlinux-github
2020-01-02 17:43 ` voidlinux-github
2020-01-02 17:46 ` voidlinux-github
2020-02-02 19:52 ` [ISSUE] [CLOSED] " voidlinux-github
2020-02-02 19:56 ` voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).