Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
issue with mirrorprobe mail handler #6
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue9
msg21 (view) Author: dfarning Date: 2009-10-07.23:17:12
Peter here is a issues report on the mail handler.
I just commented out lines 214-222 in /usr/bin/mirrorprobe .
msg29 (view) Author: poeml Date: 2009-10-08.11:33:52
Hi David, I remember the email where you already mentioned this. I didn't read closely enough though.
The lookup is done to have a hostname/domain to append to mailed logs; the feature of mailing logs
On my test host, the hostname "ubuntu" resolves to 127.0.0.1:
python -c "import socket; h = socket.gethostname(); print h; print socket.gethostbyaddr(h)"
The code is obviously naively running on assumptions that can't be met everywhere.
Development plans for the mirrorprobe are:
Therefore, I'd think the code should be removed, and make place for a better notification mechanism. A
I'll commit a fix in SVN, but as it will take a while until that ends up in the Ubuntu packages, I'd
This works here:
(Returns empty value, but doesn't crash at least)
msg30 (view) Author: poeml Date: 2009-10-08.11:46:56
Fix committed with r7838. Will be included in the next release (post-2.10.1).
(end of migrated issue)