Bug 279670 - mail/dovecot: make the rc script service jails aware
Summary: mail/dovecot: 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: Larry Rosenman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 08:09 UTC by Alexander Leidinger
Modified: 2024-06-11 14:01 UTC (History)
0 users

See Also:
ler: maintainer-feedback+


Attachments
make the rc script service jails aware (365 bytes, patch)
2024-06-11 08:09 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:09:42 UTC
Created attachment 251378 [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-06-11 14:01:37 UTC
A commit in branch main references this bug:

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

commit 8838c981bdf1258a54358d67d601a538f8007ace
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-06-11 13:59:48 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-06-11 14:01:09 +0000

    mail/dovecot: make the rc script service jails aware

    PR:             279670
    Approved by:    maintainer

 mail/dovecot/Makefile         | 2 +-
 mail/dovecot/files/dovecot.in | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)