/etc/aliases overwritten

Bug #1436782 reported by Pep Toni
6
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
Revision history for this message
Sergey B Kirpichev (skirpichev) wrote :

> 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 || :

Changed in monit (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for monit (Ubuntu) because there has been no activity for 60 days.]

Changed in monit (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.