[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [monit-dev] debian patches
From: |
Sergey B Kirpichev |
Subject: |
Re: [monit-dev] debian patches |
Date: |
Fri, 18 Feb 2011 20:28:48 +0300 |
On Fri, Feb 18, 2011 at 7:33 PM, Martin Pala <address@hidden> wrote:
> We have randomized the message id using seed based on current time, monit's
> pid and message order - if the hostname is duplicate for different hosts, the
> message id should no longer conflict even if if it is generated in the same
> second as described in Debian's Bug#613770.
Looks good, but putting the nodename (short hostname, without the
domain part) only
doesn't follow the RFC2822 _recommendations_ :
--->8---
3.6.4. Identification fields
[...]
at the same time. Though other algorithms will work, it is
RECOMMENDED that the right hand side contain some domain identifier
(either of the host itself or otherwise) such that the generator of
the message identifier can guarantee the uniqueness of the left hand
side within the scope of that domain.
--->8---
Probably, you can include output of getdomainname() in S.localhost too.