[Nut-upsuser] "no longer stale" when disconnected with 2.0.5

Peter Selinger selinger at mathstat.dal.ca
Sun Jan 28 07:02:12 CET 2007


Yes, but he said "2.0.5" in the subject line. -- Peter

Arjen de Korte wrote:
> 
> Peter Selinger wrote:
> 
> > If I understood Markus correctly, the problem is not that the data
> > goes stale (it should do that when disconnecting the UPS
> > communications line), but that it goes unstale immediately afterwards
> > (even when the UPS is still disconnected).
> 
> That's entirely possible if he's using a version older than 2.0.4.
> That's why I asked him which version he's using.
> 
> > This shouldn't really happen. Maybe some debugging is needed.
> 
> Maybe, but in that case I would still like to know the version, in order
> to interpret the output in the right way. We've applied some bugfixes in
> this aspect, especially in the code that decides whether a UPS is stale
> or not.
> 
> > Markus: the function that decides whether your UPS is stale or not is
> > server/sstate.c:sstate_dead(). Perhaps you can insert some debugging
> > statements to figure out what this function returns and why. 
> 
> If sstate_dead() is the problem, I'm almost certain that Markus is using
> something older than 2.0.4. In that case he'd better update to something
> newer.
> 
> Best regards, Arjen
> 




More information about the Nut-upsuser mailing list