Summary: | sysutils/nomad: pkg install creates default datadir with insecure permissions | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Michael Gmelin <grembo> | ||||
Component: | Individual Port(s) | Assignee: | John Hixson <jhixson> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Flags: | jhixson:
maintainer-feedback+
|
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Michael Gmelin
![]() ![]() A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd6aea61743bb5d429872edf9cf1204d1b64e8ec commit fd6aea61743bb5d429872edf9cf1204d1b64e8ec Author: John Hixson <jhixson@FreeBSD.org> AuthorDate: 2022-08-19 22:45:16 +0000 Commit: John Hixson <jhixson@FreeBSD.org> CommitDate: 2022-08-19 22:48:45 +0000 sysutils/nomad: Change home of nomad user to /nonexistent The port's default datadir is /var/tmp/nomad, which also happens to be its user's home directory. Therefore installing the package always creates a default datadir with permissions too lose to actually start the service. PR: 265230 Reported by: Michael Gmelin <grembo@FreeBSD.org> UIDs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) I've updated the port with your patch, thanks! (In reply to John Hixson from comment #2) Hi John, Re-opening this one, as it requires a PORTREVISION bump, so the change has an effect on builders (also merge back to quarterly). diff --git a/sysutils/nomad/Makefile b/sysutils/nomad/Makefile index db5d9b1afcd8..1848cfc9f186 100644 --- a/sysutils/nomad/Makefile +++ b/sysutils/nomad/Makefile @@ -1,7 +1,7 @@ PORTNAME= nomad DISTVERSIONPREFIX= v DISTVERSION= 1.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= jhixson@FreeBSD.org This was solved as a side-effect of bde51869ee0206eeaa2849d8ef28b14da59727a3 (portrevision bump) |