Bug ID | 1117938 |
---|---|
Summary | systemd - mailto for systemd timers |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | x86-64 |
OS | openSUSE Factory |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | systemd-maintainers@suse.de |
Reporter | kstreitova@suse.com |
QA Contact | qa-bugs@suse.de |
CC | kstreitova@suse.com |
Found By | --- |
Blocker | --- |
Hello, Currently, a process of migration from cron to systemd timers (fate#323635) is in progress (see boo#1115430 for openSUSE and bsc#1115399 for SLE tracker bugs). Packagers who are dealing with the upgrade raised a question about a MAILTO function - how to set up systemd to send an email when a unit fails. As cron had this feature, they would like to preserve this mechanism. Arch Linux brings a solution [1] using a shell script using e.g. sendmail and a service for starting the executable. Does it make any sense to you to pack this solution within the systemd package? Or should we encourage users to create these scripts on their own? Or do you see any better solution? Thank you! [1] https://wiki.archlinux.org/index.php/Systemd/Timers#MAILTO