Public bug reported:

The various scripts use the mail -s command to send mail in the event of
failure. For example

if [ $? -ne 0 ]; then
    ( echo "Archive pool sync failed. Please check logs."; \
        egrep '^write failed|@ERROR' $LOGFILE ) | mail -s "Ubuntu archive sync 
failed" $EMAIL
    echo "$(date -R): Archive pool sync failed."
    exit 1
fi

However the package only depends on the existence of an MTA which
generally only come with the sendmail command, the mail command comes
from the mailutils package.

The ubumirror package should either depend on the mailutils package or
switch to using sendmail instead of mail.

** Affects: ubumirror (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1795762

Title:
  Relies on mail command without package dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubumirror/+bug/1795762/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to