Hi Christoph,

I might have found the trigger of this bug. The chroot of postfix is
somewhat special:
1) (Debian's) init script copies some libs into the chroot
2) postfix loads a those libs and switches into the chroot

needrestart did always use the dev/inode numbers of the files copied
in 1) and compares them with the mapping data from procfs. Since the
libs in 1) are just copies and postfix loads the library *before* entering
the chroot in 2) this did always fail.

Could you please give
https://github.com/liske/needrestart/commit/89c720c3dc8903fbd3ad024bec922937a660a880
a try?


HTH & TIA,
Thomas


On Sun, May 31, 2015 at 07:05:30PM +0200, Christoph Anton Mitterer wrote:
> Control: tags -1 -fixed-upstream
> 
> > Could you give
> > https://github.com/liske/needrestart/commit/c18299ba5f5bd298c478979f01fdf2b3001ba699
> > a try
> that patch alone (and AFAICS this is the only change in HEAD to the
> debian version) doesn't fix the issue :-(
> 
> Cheers,
> Chris.

Reply via email to