The default path of conf files was bad in the Makefile : /usr/local/etc/ instead of /usr/local/etc/mfs/ , and I add the automatic copy, with a security check, from /var/mfs/metadata.mfs.empty to /var/mfs/metadat.mfs How-To-Repeat: cd /usr/ports/sysutils/moosefs-master && make install && mfsmaster
Class Changed From-To: maintainer-update->change-request Fix category (submitter is not maintainer) (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Maintainer of sysutils/moosefs-master, Please note that PR ports/186404 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186404 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
Please commit, thanks for fixing it. -- *Regards.* - Chifeng
State Changed From-To: feedback->open Maintainer approved.
A commit references this bug: Author: marino Date: Sat Jul 12 08:05:27 UTC 2014 New revision: 361602 URL: http://svnweb.freebsd.org/changeset/ports/361602 Log: sysutils/moosefs-master: Fix default conf path for master port The default path was PREFIX/etc but should be PREFIX/etc/mfs . This PR is getting submitted before the stage support PR. PR: 186404 Submitted by: loic (findspire.com) Approved by: maintainer (chifeng) Approved by: portmgr (implicit, NOT_STAGED) Changes: head/sysutils/moosefs-master/Makefile head/sysutils/moosefs-master/bsd.port.moosefs.mk
Note this this whole patch will be undone by patch in bug 191046 .
Which is a good thing because the patch was bad: > === Checking filesystem state after all packages deleted > ================================================================ > list of extra files and directories in / (not present on clean system but present after everything was deinstalled) > 8516 8 drwxr-xr-x 2 root wheel 256 Jul 12 08:06 usr/local/etc/mfs > 14984 8 -r--r--r-- 1 root wheel 998 Jul 12 08:06 usr/local/etc/mfs/mfsmaster.cfg > 14986 8 -r--r--r-- 1 root wheel 403 Jul 12 08:06 usr/local/etc/mfs/mfsmetalogger.cfg > 14985 8 -r--r--r-- 1 root wheel 4060 Jul 12 08:06 usr/local/etc/mfs/mfsexports.cfg > 14987 8 -r--r--r-- 1 root wheel 1123 Jul 12 08:06 usr/local/etc/mfs/mfstopology.cfg