https://bugzilla.redhat.com/show_bug.cgi?id=2393738

Mikel Olasagasti Uranga <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|AutomationTriaged           |



--- Comment #8 from Mikel Olasagasti Uranga <[email protected]> ---
- Add the following after "%global gomodulesmode GO111MODULE=on"

export GO_LDFLAGS="-X main.appVersion=%{version} \
                   -X main.buildTime=$(date -d "@${SOURCE_DATE_EPOCH}"
+%Y-%m-%dT%H:%M:%SZ)"

Otherwise `smtprelay --version` doesn't report a correct value.

- (optional) Adjust permissions for smtprelay.ini

From: 
> %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/smtprelay.ini

To:
%attr(0640,root,smtprelay) %config(noreplace) %{_sysconfdir}/smtprelay.ini

- (optional) You can enhance the service with the following params:

CapabilityBoundingSet=CAP_NET_BIND_SERVICE
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
RestrictSUIDSGID=yes
Restart=on-failure
RestartSec=5s


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2393738

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202393738%23c8

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to