1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/os-specific/linux/mdadm
Léo Gaspard ec9a51d0cc mdadm: allow sending mail when using opensmtpd
OpenSMTPD does not require the setuid bit for its `sendmail`. This works
around it by wrapping the called `sendmail` so that the wrapper falls
back on either the setuid `sendmail` or the non-setuid `sendmail`
depending on what's available.

The solution of relying on `$PATH` to be set is unfortunately
unreliable, as `mdadm --monitor` will likely be executed from a
`systemd` unit, that runs with a clean `$PATH`.
2018-03-30 16:16:31 +02:00
..
default.nix mdadm: allow sending mail when using opensmtpd 2018-03-30 16:16:31 +02:00
no-self-references.patch mdadm: 3.3 -> 3.3.4 2016-01-18 04:21:15 +01:00