[Nut-upsdev] [Nut-upsuser] Getting 'Data stale' error with bcmxcp_usb for a PowerWare 5115 on OSX

Arjen de Korte nut+devel at de-korte.org
Sat Mar 6 08:34:24 UTC 2010

Citeren Charlie Garrison <garrison op zeta.org.au>:

> I tried inlining the config.log but message was rejected due to  
> size. It's attached as gzip instead.

We prefer not to inline logfiles. Not only because of size, but also  
because in many cases the formatting is lost (which can be a pain if  
you need to run the output through a script). Anyway, I don't see  
anything suspicious here.

You could try if in 'drivers/main.c' moving the line

565 	        become_user(new_uid);

to just before the line

622 	        while (!exit_flag) {

helps. This delays dropping privileges to after backgrounding and just  
before we enter the main loop. This makes it harder to diagnose  
problems with permissions, but may be needed in your case.

I'm cross-posting this to the development mailinglist. I would prefer  
to continue this thread there, so please do not reply on the  
nut-upsuser list. This is more related to development and we probably  
need someone with more in-depth knowledge on OSX than I have  
(essentially none at all).

Best regards, Arjen
Please keep list traffic on the list

More information about the Nut-upsdev mailing list