Bug 292405 - net-mgmt/victoria-logs: logs directory does not have VL_GROUPS permission
Summary: net-mgmt/victoria-logs: logs directory does not have VL_GROUPS permission
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: Oleksii Samorukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-12 14:26 UTC by Michael Osipov
Modified: 2026-02-07 19:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Osipov freebsd_committer freebsd_triage 2026-01-12 14:26:11 UTC
When starting the service the directory is created with 'wheel' group. It should be the group from the Makefile. I some Go services myself. There is a simpler way to make this right. I'd be happy to provide a patch.
Comment 1 commit-hook freebsd_committer freebsd_triage 2026-02-04 20:43:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=803ed72403e9c65bab3862647414b9235d06d8ea

commit 803ed72403e9c65bab3862647414b9235d06d8ea
Author:     Oleksii Samorukov <samm@FreeBSD.org>
AuthorDate: 2026-02-04 20:40:14 +0000
Commit:     Oleksii Samorukov <samm@FreeBSD.org>
CommitDate: 2026-02-04 20:42:38 +0000

    net-mgmt/victoria-logs: upgrade to 1.44.0

    - Update to the latest version
    - Change download to GH because of goproxy issue
    - fix logs directory ownership (PR 292405)

    PR: 292405
    ChangeLog: https://docs.victoriametrics.com/victorialogs/changelog/

 net-mgmt/victoria-logs/Makefile  | 12 +++++++++---
 net-mgmt/victoria-logs/distinfo  | 10 +++++-----
 net-mgmt/victoria-logs/pkg-plist |  5 +++++
 3 files changed, 19 insertions(+), 8 deletions(-)
Comment 2 Michael Osipov freebsd_committer freebsd_triage 2026-02-06 10:05:03 UTC
I checked the change, there is no fix for the issue. The log directory is still created with wheel group.

It should look like:
* https://github.com/freebsd/freebsd-ports/blob/b381b02bcdac173423c4ef719a32d880e2501ab3/devel/nexus2-oss/pkg-plist#L347
* https://github.com/freebsd/freebsd-ports/blob/b381b02bcdac173423c4ef719a32d880e2501ab3/devel/nexus2-oss/Makefile#L106
Comment 3 Oleksii Samorukov freebsd_committer freebsd_triage 2026-02-07 19:21:00 UTC
Thank you for checking, somehow I misread the report and was testing the database dir. Will fix now
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-02-07 19:32:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44866a19f0c401839d963d5cd09ce629e9e04675

commit 44866a19f0c401839d963d5cd09ce629e9e04675
Author:     Oleksii Samorukov <samm@FreeBSD.org>
AuthorDate: 2026-02-07 19:30:35 +0000
Commit:     Oleksii Samorukov <samm@FreeBSD.org>
CommitDate: 2026-02-07 19:30:35 +0000

    net-mgmt/victoria-logs: fix logs directory ownership

    PR: 292405

 net-mgmt/victoria-logs/Makefile               | 6 +++++-
 net-mgmt/victoria-logs/files/victoria_logs.in | 2 +-
 net-mgmt/victoria-logs/pkg-plist              | 1 +
 3 files changed, 7 insertions(+), 2 deletions(-)