Bug 279667 - www/tt-rss: make the rc script service jails aware
Summary: www/tt-rss: 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 Only Me
Assignee: Alexander Leidinger
URL:
Keywords:
: 279668 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-11 08:07 UTC by Alexander Leidinger
Modified: 2024-06-12 06:55 UTC (History)
1 user (show)

See Also:
dereks: maintainer-feedback+


Attachments
make the rc script service jails aware (350 bytes, patch)
2024-06-11 08:07 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:07:14 UTC
Created attachment 251377 [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 Alexander Leidinger freebsd_committer freebsd_triage 2024-06-11 08:25:31 UTC
*** Bug 279668 has been marked as a duplicate of this bug. ***
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-06-12 06:41:36 UTC
A commit in branch main references this bug:

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

commit d668aa55341f93d4a1c121adb48945865fed455c
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-06-12 06:39:45 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-06-12 06:40:41 +0000

    www/tt-rss: make the rc script service jails aware

    PR:             279667
    Approved by:    maintainer

 www/tt-rss/Makefile        | 2 +-
 www/tt-rss/files/ttrssd.in | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)