Running Nut 2.8.4_15 on IPFire 2.29 (x86-64) core 203 and getting errors shown in the .var/log/messages (see below)
I’m not sure whats causing the “NOTIFY..” problems but its the upsmon “OS user = not found”
I set the user “RUN_AS_USER = nutmon” in the upsmon.conf as I created a nutmon account as per the add docs. I’ve also tried creating accounts as “nut” and even “OS” but still get the error.
So before I contact the Nut mailing list, can I ask what was the pakfire nut add-on build flags ?, maybe the user name was “hard wired” when built/compiled ?
Thanks - Leigh
/var/log/messages - last line
Aug 6 20:14:29 ipfire usbhid-ups[2154]: using ‘battery.charge’ to set battery low state
Aug 6 20:14:29 ipfire usbhid-ups[2154]: using ‘battery.runtime’ to set battery low state
Aug 6 20:14:29 ipfire usbhid-ups[2154]: Listening on socket /var/state/ups/usbhid-ups-UPS1400
Aug 6 20:14:29 ipfire usbhid-ups[2158]: Startup successful
Aug 6 20:14:29 ipfire usbhid-ups[2158]: upsnotify: notify about state NOTIFY_STATE_READY_WITH_PID with libsystemd: was requested, but not running as a service unit now, will not spam more about it
Aug 6 20:14:29 ipfire usbhid-ups[2158]: upsnotify: failed to notify about state NOTIFY_STATE_READY_WITH_PID: no notification tech defined, will not spam more about it
Aug 6 20:14:29 ipfire usbhid-ups[2158]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
Aug 6 20:14:29 ipfire upsd[2159]: listening on 0.0.0.0 port 3493
Aug 6 20:14:29 ipfire upsd[2159]: Connected to UPS [UPS1400]: usbhid-ups-UPS1400
Aug 6 20:14:29 ipfire upsd[2159]: Found 1 UPS defined in ups.conf
Aug 6 20:14:29 ipfire usbhid-ups[2158]: sock_connect: enabling asynchronous mode (auto)
Aug 6 20:14:29 ipfire upsd[2160]: Startup successful
Aug 6 20:14:29 ipfire upsd[2160]: upsnotify: notify about state NOTIFY_STATE_READY_WITH_PID with libsystemd: was requested, but not running as a service unit now, will not spam more about it
Aug 6 20:14:29 ipfire upsd[2160]: upsnotify: failed to notify about state NOTIFY_STATE_READY_WITH_PID: no notification tech defined, will not spam more about it
Aug 6 20:14:29 ipfire upsd[2160]: upsnotify: logged the systemd watchdog situation once, will not spam more about it
Aug 6 20:14:29 ipfire upsmon[2162]: Startup successful
Aug 6 20:14:29 ipfire upsmon[2162]: OS user = not found