On Wed, 04 Jan 2017 13:42:42 -0500 Matthew Gabeler-Lee <chee...@fastcat.org> wrote: > Package: mdadm > Version: 3.4-4 > Severity: normal > > I had some recent array events, notified by email (worked), and was trying > to look up when the recovery finished in syslog, only to discover that the > mdadm array monitor is not logging to syslog. This seems to be because the > systemd unit and/or initramfs support (not sure which) that started the > monitor daemon does not obey (or even look at?) /etc/default/mdadm, where I > have: > > DAEMON_OPTIONS="--syslog"
The canonical way to override the behaviour of systemd units is via drop-in config snippets. The usage of EnvironmentFile= is discouraged. /etc/default/$pkg is a kludge which was introduced to make SysV init scripts extensible. That said, it would probably be a good idea to add a comment to /etc/default/mdadm, that this file is only used by the SysV init script, to avoid confusion. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature