Bug 251889 - www/minio: doesn't work correctly in distributed mode
Summary: www/minio: doesn't work correctly in distributed mode
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2020-12-16 11:25 UTC by Boris Korzun
Modified: 2020-12-18 14:47 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (swills)


Attachments
www/minio patch (4.23 KB, patch)
2020-12-16 11:25 UTC, Boris Korzun
no flags Details | Diff
www/minio patch (4.23 KB, patch)
2020-12-17 14:55 UTC, Boris Korzun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Korzun 2020-12-16 11:25:17 UTC
Created attachment 220615 [details]
www/minio patch

After bug #251663 MinIO doesn't work correctly in distributed mode.
The problem was fixed in bug #246775, but it was a workaround.
It suggested to create disks directory only in standalone mode.

Also minio_config has been deprecated (https://docs.min.io/docs/minio-server-configuration-guide.html). File mode bits in start_precmd() routine has been added.
Comment 1 Steve Wills freebsd_committer freebsd_triage 2020-12-17 14:36:42 UTC
(In reply to Boris Korzun from comment #0)
Ok, that makes sense. When I tested the rc script, I get:

# service minio restart
/usr/local/etc/rc.d/minio: 70: Syntax error: Missing '}'
Comment 2 Boris Korzun 2020-12-17 14:55:55 UTC
Created attachment 220664 [details]
www/minio patch

(In reply to Steve Wills from comment #1)

Sorry, there was a typo in the diff. I've fixed it.
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-12-18 14:46:42 UTC
A commit references this bug:

Author: swills
Date: Fri Dec 18 14:45:44 UTC 2020
New revision: 558376
URL: https://svnweb.freebsd.org/changeset/ports/558376

Log:
  www/minio: update to 2020.12.18.03.27.42 [1]

  While here, fix rc script when using distributed mode [2]

  PR:		251889 [2]
  Submitted by:	Boris Korzun <drtr0jan@yandex.ru> [2]

Changes:
  head/www/minio/Makefile
  head/www/minio/distinfo
  head/www/minio/files/minio.in