Bug 279665 - mail/rspamd: make the rc script service jails aware
Summary: mail/rspamd: make the rc script service jails aware
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: Vsevolod Stakhov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 08:05 UTC by Alexander Leidinger
Modified: 2024-11-25 23:58 UTC (History)
0 users

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


Attachments
make the rc script service jails aware (314 bytes, patch)
2024-06-11 08:05 UTC, Alexander Leidinger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Leidinger freebsd_committer freebsd_triage 2024-06-11 08:05:07 UTC
Created attachment 251375 [details]
make the rc script service jails aware

Hi,

attached is a mechanical patch (untested) which makes the rc.d script service jails ready. This is a new feature in -current.

The setup I've chosen is to allow ipv4/ipv6 access. It does not allow to use sysv IPC in a jail. IF you want to add this possibility, the config would need to be changed to "net_basic sysvipc" instead. The config can be overridden in rc.conf.

See also:
  https://docs.freebsd.org/en/books/handbook/jails/#service-jails
  https://docs.freebsd.org/en/articles/rc-scripting/#rcng-service-jails

Bye,
Alexander.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-07-23 14:19:18 UTC
A commit in branch main references this bug:

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

commit d4359dc2249a87bc035f97b833348a2d32153d4a
Author:     Vsevolod Stakhov <vsevolod@FreeBSD.org>
AuthorDate: 2024-07-23 14:16:38 +0000
Commit:     Vsevolod Stakhov <vsevolod@FreeBSD.org>
CommitDate: 2024-07-23 14:16:38 +0000

    mail/rspamd: update to 3.9.1

    Make the rc script service jails aware [1]

    PR:     279665 [1]
    Submitted by:   netchild [1]

 mail/rspamd/Makefile        | 3 +--
 mail/rspamd/distinfo        | 6 +++---
 mail/rspamd/files/rspamd.in | 2 ++
 mail/rspamd/pkg-plist       | 7 +++++++
 4 files changed, 13 insertions(+), 5 deletions(-)