From: "Gábor Boskovits" <boskovits@gmail.com>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: 37631@debbugs.gnu.org
Subject: bug#37631: service zabbix-server (and zabbix-agent) fails starting (cannot run as root!)
Date: Sat, 5 Oct 2019 18:04:27 +0200 [thread overview]
Message-ID: <CAE4v=pjdQsGT4WAv5yS=1JVU=44EKHZEhFSNw61UjnmQM76SHw@mail.gmail.com> (raw)
In-Reply-To: <87lftzz79l.fsf@roquette.mug.biscuolo.net>
[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]
Hello Giovanni,
Giovanni Biscuolo <g@xelera.eu> ezt írta (időpont: 2019. okt. 5., Szo,
14:51):
> Giovanni Biscuolo <g@xelera.eu> writes:
>
> > executive summary: do we really need to start zabbix_server in
> > foreground mode?
>
> executive answer: I don't know **but** this is not the cause of my issue
> :)
>
> > --8<---------------cut here---------------start------------->8---
>
> [...]
>
> > (service zabbix-server-service-type
> > (zabbix-server-configuration
> > (include-files
> '("/root/secrets/zabbix-server-dbpass"))
> > (log-type "file")))
>
> ouch!... looking at the console (it's a remote VM so I usually connect
> via ssh only, but today I also connected via SPICE):
>
> --8<---------------cut here---------------start------------->8---
> zabbix_server [1942]: /root/secrets/zabbix-server-dbpass: [13] Permission
> denied
> --8<---------------cut here---------------end--------------->8---
>
> unfortunately shepherd did not catch this error (due to foreground
> mode?) in syslog :-(
>
> I just had to adjust the permissions to allow zabbix (I allowed the
> zabbix group to traverse /root/secrets and read the file) to read the
> included file
>
> this now works with both zabbix 4.2.0 and zabbix 4.2.7
>
> [...]
>
> Thanks! Gio'
>
> --
> Giovanni Biscuolo
>
> Xelera IT Infrastructures
>
>
>
> Can we consider this resolved then?
Best regards,
g_bor
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
[-- Attachment #2: Type: text/html, Size: 2259 bytes --]
next prev parent reply other threads:[~2019-10-05 16:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-05 10:14 bug#37631: service zabbix-server (and zabbix-agent) fails starting (cannot run as root!) Giovanni Biscuolo
2019-10-05 12:49 ` Giovanni Biscuolo
2019-10-05 16:04 ` Gábor Boskovits [this message]
2019-10-05 16:15 ` Giovanni Biscuolo
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAE4v=pjdQsGT4WAv5yS=1JVU=44EKHZEhFSNw61UjnmQM76SHw@mail.gmail.com' \
--to=boskovits@gmail.com \
--cc=37631@debbugs.gnu.org \
--cc=g@xelera.eu \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).