Bug 235355 - games/minetest: HOME needs to be set to run successfully as a server
Summary: games/minetest: HOME needs to be set to run successfully as a server
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
Depends on: 238064
  Show dependency treegraph
Reported: 2019-01-31 16:05 UTC by Dave Cottlehuber
Modified: 2019-07-31 22:52 UTC (History)
1 user (show)

See Also:
amdmi3: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cottlehuber freebsd_committer 2019-01-31 16:05:23 UTC
The rc.d script as it stands is broken as the minetest server *requires* HOME
dir to be set to a writable location.

Either we can add something like this to rc.d script:

: ${minetest_env="HOME=/var/db/minetest"}

Or change the daemon user creation to make the HOME dir location writable. I'd
prefer the latter but don't see how to do that within ports framework.
Comment 1 Dave Cottlehuber freebsd_committer 2019-05-28 18:39:13 UTC
maintainer timeout, will roll this into 238064
Comment 2 commit-hook freebsd_committer 2019-07-31 22:50:23 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Jul 31 22:50:16 UTC 2019
New revision: 507742
URL: https://svnweb.freebsd.org/changeset/ports/507742

  - Update to 5.0.1
  - Rework options
  - Unbundle dependencies where possible
  - Fix minetestserver rc.d script by setting HOME [1]
  - Unbreak in powerpc [3]
  - Update WWW

  PR:		235355 [1], 238064 [2], 239413 [3]
  Submitted by:	dch@freebsd.org [1], crwhipp@gmail.com [2], pkubaj@FreeBSD.org [3]