[Bug 279494] www/apache24: make the start script service jails ready

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Aug 2025 08:08:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279494

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit a3fbcaec539824a635d1bd53a2508fafae06ec6a
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2025-08-29 07:44:59 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2025-08-29 08:07:34 +0000

    www/apache24: make the start script service jails ready

    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 use this possibility, the
    config would need to be changed to "net_basic sysvipc" instead.
    More advanced use cases may need different service jail options.
    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

    Some notes:
     - There are special apache24_limits_* stuff which is different from
       the name_limits stuff as part of the rc framework.
     - The limits part in the precmd will probably not work in a service
       jail, as the start command will be executed in a jail and the precmd
       outside the jail.
     - While the patch is taking the profiles into account, it may fail when
       the jail is started, as the name of the service jail is derived from
       the name of the rc script (assuming "profiles" means different
       instances of apache are started for each profile).
       The tomcat/oauth2-proxy/openhab ports use a way to have different
       instances of the software running in parallel which is based upon the
       name of the rc script (via links to the original rc script). That way
       works well with service jails.

    Approved by:    maintainer timeout
    PR:             279494

 www/apache24/Makefile          | 1 +
 www/apache24/files/apache24.in | 3 +++
 2 files changed, 4 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.