Connection State Checking and Base Image Upgrade #8
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
maxpeterkaya/pwrstat-exporter!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected Results
script/init.sh, the UPS should be connected in 2 seconds after/etc/init.d/pwrstatdlaunches a daemon. Andpwrstatcommand runs fine.Actual Results
pwrstatcommands silently fail, andpwrstat-exporterpanics.Container Logs
Analysis and Solution
/etc/init.d/pwrstatdlaunches/usr/sbin/pwrstatdas a daemon and stores its PID in/var/run/pwrstatd/pwrstatd.pid.pwrstatgives "No such file or directory" for non-help commands, andpwrstat-exporterpanics.Environment
Notes
72b9668cleans up the powerpanel installer to slim the image size.debian:trixie-slimimage does not ship with/etc/init.d. A manual directory creation can resolve errors during powerpanel installation, and everything works fine later on.