From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
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: Thu, 31 Oct 2024 09:04:00 +0100 [thread overview]
Message-ID: <20241031090400.67f6bdc5@windsurf> (raw)
In-Reply-To: <20241029231936.3712769-1-olteanv@gmail.com>
On Wed, 30 Oct 2024 01:19:36 +0200
Vladimir Oltean <olteanv@gmail.com> wrote:
> 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>
> ---
> package/sshguard/sshguard.mk | 2 ++
> 1 file changed, 2 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-10-31 8:04 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 [this message]
2024-11-20 20:54 ` Peter Korsgaard
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=20241031090400.67f6bdc5@windsurf \
--to=buildroot@buildroot.org \
--cc=angelo.compagnucci@gmail.com \
--cc=olteanv@gmail.com \
--cc=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.