Bug ID | 1130306 |
---|---|
Summary | packagekit-background.service sends no mail |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | karl.mistelberger@nefkom.net |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
/usr/share/PackageKit/packagekit-background.sh invokes mail. However the script
does not send mail when invoked by systemd. mail forks and systemd kills mail.
The following change is required:
diff /usr/share/PackageKit/packagekit-background.sh packagekit-background.sh
50c50
< mail -s "System updates available: $SYSTEM_NAME" $MAILTO < $PKTMP
---
> mail -Ssendwait -s "System updates available: $SYSTEM_NAME" -r root $MAILTO < $PKTMP