seapath / meta-seapath

This is the core of the seapath project. The meta-seapath repo contains the yocto Seapath layer, which contains all the code (yocto recipes) needed to build the seapath images used to install seapath (host, guest, flasher, etc.)
https://lfenergy.org/projects/seapath/
Apache License 2.0
6 stars 10 forks source link

pacemaker: remove /var/log/msmtp dependancy #69

Closed dupremathieu closed 2 years ago

dupremathieu commented 2 years ago

The Pacemaker systemd service needs /var/log/msmtp to be created but, this directory is not created in SEAPATH because msmtp is not installed.

Remove this dependancy.

Signed-off-by: Mathieu Dupré mathieu.dupre@savoirfairelinux.com

insatomcat commented 2 years ago

It's on the roadmap to add smtp capability to seapath for alerting purposes, can you take a look at this commit ? 337b9132b49eb42a1d97202a65696466f0a3fb44

Maybe we could merge this one to solve this issue ?

dupremathieu commented 2 years ago

It's on the roadmap to add smtp capability to seapath for alerting purposes, can you take a look at this commit ? 337b913

Maybe we could merge this one to solve this issue ?

It will fix for hypervisors only not for the observer. We need to install mailx also for in the observer. To do this we can move mails installation from seapath-host-common.inc to seapath-host-common-ha.inc.

insatomcat commented 2 years ago

got it, can you take a look ? #70

dupremathieu commented 2 years ago

Ok, I run a test.