Skip to content

Commit c40e440

Browse files
committed
docs/man/nut-ipmipsu.txt: add errata note about possible troubles when changing OS user accounts [#3193]
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 9e4e342 commit c40e440

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/man/nut-ipmipsu.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ Here is an example output for a Dell r610 server:
105105
KNOWN ISSUES
106106
------------
107107

108+
According to the research in https://github.com/networkupstools/nut/issues/3193
109+
the driver (or technically the libfreeipmi used in it) may have troubles if it
110+
changes the run-time user account, which NUT drivers usually do when started as
111+
`root` by init scripts -- by default they drop privileges to the configured
112+
user account such as `nut`, `ups` or `nobody`. If your driver fails to start,
113+
possibly with a segmentation fault reported, try either changing the context
114+
to the unprivileged user in init scripts (using `su` or `sudo`) or systemd unit
115+
(using a drop-in file to set `User=...` in `[Service]` section) before starting
116+
the actual driver program, or try setting `user=root` in its `ups.conf` section.
117+
108118
include::networked_hostnames.txt[]
109119

110120
AUTHOR

0 commit comments

Comments
 (0)