[__opendkim[_genkey]]: potential for wrong permissions with --userid #17
Labels
No labels
bug
confirmed
critical
discussion
documentation
enhancement
feedback-required
good-first-issue
ready
reviewed
suggestion
support
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist-contrib#17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Porting these types to work on FreeBSD I noticed that
__opendkim
has support for a--userid
parameter.OTOH,
__opendkim_genkey
just useschown opendkim:opendkim KEY.private
; therefore assuming that the service runs with those credentials.Without knowing the internals of Alpine, I can imagine this being an issue as per
opendkim(8)
:Instead of making things complex, I suggest deprecating
__opendkim
's--userid
argument; does that sound ok? Which use-case am I missing?__opendkim[_genkey]: potential for wrong permissions with --useridto [__opendkim[_genkey]]: potential for wrong permissions with --useridcc: @sparrowhawk
Uuugh, pretty sure that's a loosely concentrated me trying to ease further generalization of the type without actually thinking it through. We don't use that parameter anywhere, and I don't see why anyone would want to use another user than the one that is preconfigured in the package for their distribution.
Go for deprecation.