Bug 408 - uninformative mail from sudo
uninformative mail from sudo
Status: RESOLVED DUPLICATE of bug 390
Product: Sudo
Classification: Unclassified
Component: Sudo
1.7.0
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-26 04:18 MDT by patrick2000
Modified: 2010-05-07 13:18 MDT (History)
0 users

See Also:


Attachments
the uninformative mail received from sudo (718 bytes, application/x-crossover-eml)
2010-04-26 04:26 MDT, patrick2000
Details

Note You need to log in before you can comment on or make changes to this bug.
Description patrick2000 2010-04-26 04:18:39 MDT
Recently I changed my network configuration a little and in the process probably messed up my /etc/hosts file a little.

I'm not sure if that's really "wrong", anyway: my hostname (babar) was not listed in the aliases for localhost. That was not a problem as long as my adsl router was running, because /etc/resolv.conf hat that one listed as nameserver and and "search lan". The dsl-router has a runs dns server which will resolve .lan hastnames based on dhcp information... etc. :-)

What's interresting: when I disconnected my dsl router, my hostname's fqdn could not be resolved any more because no nameserver was available. This caused various delays (eg. in exim, maybe rsyslogd ? (I'm running ubuntu karmic)), AND - as I found out by now, triggered a mail to be sent by sudo to the root account every time I'd use sudo. I attached that mail here for reference. I think it' could be improoved.

For example the sender could be mentioned somewhere, as well as the reason why the mail was sent, as well as in the send_mail c-function the hostname string pointer could be checked before attempting to inculde the hostname string in the mail, as not doing so results in binary garbage being included instead.

Cheers

Patrick


- the @babar.homelinux.net sender and receipient addresses are substitued by exim for all local accounts (it's counfigured like that)
Comment 1 patrick2000 2010-04-26 04:26:32 MDT
Created attachment 269 [details]
the uninformative mail received from sudo
Comment 2 Todd C. Miller 2010-05-07 13:18:24 MDT
This appears to be a duplicate of bug 390 which was fixed in sudo 1.7.2p3

*** This bug has been marked as a duplicate of bug 390 ***