-
-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't use upsd.conf in upsmon #694
Comments
Finally got to take a look at this issue, looks as bogus as it did before - but now I am retrying from scratch to make sense of the wording vs. (expected) reality. Sample "broken use-case" configs would have helped. The main bogus-looking part is about So trying to find a world where the report makes sense, I think there may be a case of NUT driver daemons and Drivers do seem to only use a built-in path defined when For that matter, I suppose if they had a @Thermi : does this analysis (namely, the issue being actually between drivers and data server) match what you saw? |
Something that does make sense to do, as (maybe) highlighted here in a roundabout way, is to allow setting Note that support for envvars in NUT v2.8.x already allows to align different programs about such paths, but this is not something that users of e.g. NUT embedded in appliances might impact (whether they should - may be a separate philosophical discussion). |
…nglement of upsd and drivers, and envvar override [networkupstools#694] Signed-off-by: Jim Klimov <[email protected]>
…kupstools#694] Signed-off-by: Jim Klimov <[email protected]>
…upstools#694] Signed-off-by: Jim Klimov <[email protected]>
…onf [networkupstools#694] Signed-off-by: Jim Klimov <[email protected]>
…stools#694] Signed-off-by: Jim Klimov <[email protected]>
…ng for case-sensitivity [networkupstools#694] Signed-off-by: Jim Klimov <[email protected]>
When STATEPATH is configured in upsd.conf, which is currently ignored by upsd, upsmon can't connect to the driver, because it itself honors STATEPATH in upsd.conf (although it's not upsmon's config file), and therefore looks in a different directory than upsd writes the PIDs to.
The text was updated successfully, but these errors were encountered: