Bug 251889

Summary: www/minio: doesn't work correctly in distributed mode
Product: Ports & Packages Reporter: Boris Korzun <drtr0jan>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Some People CC: dmitry.wagin, ehaupt
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (swills)
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251663
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246775
Attachments:
Description Flags
www/minio patch
none
www/minio patch none

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