From: Peter Korsgaard <peter@korsgaard.com>
To: Vladimir Oltean <olteanv@gmail.com>
Cc: buildroot@buildroot.org,
Angelo Compagnucci <angelo.compagnucci@gmail.com>
Subject: Re: [Buildroot] [PATCH] package/sshguard: patch /usr/local/sbin/sshguard path in systemd service
Date: Wed, 20 Nov 2024 21:54:18 +0100 [thread overview]
Message-ID: <87plmptymd.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20241029231936.3712769-1-olteanv@gmail.com> (Vladimir Oltean's message of "Wed, 30 Oct 2024 01:19:36 +0200")
>>>>> "Vladimir" == Vladimir Oltean <olteanv@gmail.com> writes:
> The systemd service deployed to the target is derived from an example
> hardcoded for the /usr/local/sbin/ path, but we install sshguard at
> /usr/sbin/. Thus, by default we get this error message:
> $ journalctl -b -u sshguard.service -f
> systemd[1]: Started SSHGuard - blocks brute-force login attempts.
> (sshguard)[612]: sshguard.service: Unable to locate executable '/usr/local/sbin/sshguard': No such file or directory
> (sshguard)[612]: sshguard.service: Failed at step EXEC spawning /usr/local/sbin/sshguard: No such file or directory
> systemd[1]: sshguard.service: Main process exited, code=exited, status=203/EXEC
> systemd[1]: sshguard.service: Failed with result 'exit-code'.
> systemd[1]: sshguard.service: Scheduled restart job, restart counter is at 5.
> systemd[1]: sshguard.service: Start request repeated too quickly.
> systemd[1]: sshguard.service: Failed with result 'exit-code'.
> systemd[1]: Failed to start SSHGuard - blocks brute-force login attempts.
> Fix up the path in the service after the $(INSTALL) command has run.
> Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Committed to 2024.02.x and 2024.08.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-11-20 20:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 23:19 [Buildroot] [PATCH] package/sshguard: patch /usr/local/sbin/sshguard path in systemd service Vladimir Oltean
2024-10-31 8:04 ` Thomas Petazzoni via buildroot
2024-11-20 20:54 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87plmptymd.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=angelo.compagnucci@gmail.com \
--cc=buildroot@buildroot.org \
--cc=olteanv@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox