Bug 273973

Summary: multimedia/jellyfin adjust pkg-message to include proper jail parameter
Product: Ports & Packages Reporter: FiLiS <freebsdbugs>
Component: Individual Port(s)Assignee: Robert Clausecker <fuz>
Status: Closed FIXED    
Severity: Affects Some People CC: fuz, michiel
Priority: --- Flags: michiel: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
change files/pkg-message.in none

Description FiLiS 2023-09-20 14:56:12 UTC
Created attachment 245064 [details]
change files/pkg-message.in

in order to run in a jail, jellyfin needs the jail's parameter `allow.mlock` to be set, the pkg-message.in mentions this to be `allow_mlock=1`, which won't work. 
The attached patch fixes this and also uses `service jellyfin enable` instead of the `sysrc` line.
Comment 1 Michiel van Baak Jansen 2023-09-20 15:45:51 UTC
Sharp, thanks!
Comment 2 Michiel van Baak Jansen 2023-09-20 15:46:00 UTC
Sharp, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-09-22 05:09:02 UTC
A commit in branch main references this bug:

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

commit 67de7f3af9df240633f8f12ab5054d1aac55b227
Author:     FiLiS <freebsdbugs@filis.org>
AuthorDate: 2023-09-21 13:39:19 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-22 04:56:48 +0000

    multimedia/jellyfin: adjust pkg-message to include proper jail parameters

    In order to run in a jail, jellyfin needs the jail's parameter
    `allow.mlock` to be set, the pkg-message.in mentions this to be
    `allow_mlock=1`, which won't work.  Fix this and also use
    `service jellyfin enable` instead of the `sysrc` line.

    PR:             273973
    Approved by:    michiel@vanbaak.eu

 multimedia/jellyfin/files/pkg-message.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2023-09-22 05:15:17 UTC
Thank you for your contribution.