/etc/aliases overwritten
Bug #1436782 reported by
Pep Toni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
monit (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I had this contents in my /etc/aliases before setting up Monit:
root: <email address hidden>
After installing Monit, I ceased to receive mail sent to root. I looked at /etc/aliases and the contents where:
monit: root
My line was not there anymore. Does Monit setup OVERWRITE /etc/aliases instead of adding it's line...?
Thank you
description: | updated |
To post a comment you must log in.
> Does Monit setup OVERWRITE /etc/aliases instead of adding it's line...?
No, it shouldn't be the case. Monit _add_ line "monit: root", that's all. See postinst:
echo "monit: root" >> /etc/aliases
test -x /usr/bin/newaliases && newaliases || :