Hi,
While reviewing possible rc.d files broken when started from /root
directory (see https://marc.info/?l=openbsd-bugs&m=154076971926143&w=2),
I found another class of issue, related to HOME variable setted to '/'.
# rcctl -d start minio
doing _rc_parse_conf
doing _rc_quirks
minio_flags empty, using default >/var/minio/export<
doing _rc_parse_conf /var/run/rc.d/minio
doing _rc_quirks
doing rc_check
minio
doing rc_start
doing _rc_wait start
doing rc_check
ERROR Unable to initialize configuration files: Insufficient permissions to
access path, `/.minio`.
> Please ensure the specified path can be accessed.
doing _rc_rm_runfile
(failed)
minio seems to use its HOME environment to look at configuration
directory.
regards.
--
Sebastien Marie