On Monday, October 29, 2018 1:56 PM, Sebastien Marie <[email protected]> wrote:
> 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 Hi Sebastien and Antoine I just noticed this issue flyby and realized syncthing is having the same problem. # rcctl -d start syncthing doing _rc_parse_conf doing _rc_quirks syncthing_flags empty, using default >-no-browser< doing _rc_parse_conf /var/run/rc.d/syncthing doing _rc_quirks doing rc_check syncthing doing rc_start doing _rc_wait start doing rc_check 14:01:36 FATAL: mkdir /.config: permission denied doing _rc_rm_runfile (failed) Its HOME should be /var/syncthing/ Cheers Adam
