Bug 279641 - ftp/smbftpd: make the rc script service jails aware
Summary: ftp/smbftpd: 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: Alexander Leidinger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 11:44 UTC by Alexander Leidinger
Modified: 2024-07-10 13:42 UTC (History)
1 user (show)

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


Attachments
make the rc script service jails aware (401 bytes, patch)
2024-06-10 11:44 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-10 11:44:23 UTC
Created attachment 251355 [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-10 13:41:48 UTC
A commit in branch main references this bug:

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

commit c751a45895017481aa8792b0d72adebdf4aeaf33
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-07-10 13:34:49 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-07-10 13:39:45 +0000

    ftp/smbftpd: make the rc script service jails aware

    PR:             279641
    Approved by:    maintainer timeout (1 month)

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