Bug 275982

Summary: Cannot start multimedia/jellyfin in jail
Product: Ports & Packages Reporter: Vincent Bentley <vince>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: grahamperrin, michiel, mikael
Priority: --- Flags: linimon: maintainer-feedback? (michiel)
Version: Latest   
Hardware: amd64   
OS: Any   

Description Vincent Bentley 2023-12-28 14:10:03 UTC
I cannot get Jellyfin 10.8.10_3 to start in a jail on FreeBSD 13.2p9 .

I created a thick jail using iocage.
Configured vnet to dhcp, networking to and from jail is OK on IPv4, IPv6 just local net.
Installed jellyfin from pkg.

epair0b: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:1b:78:29:d5:9b
	hwaddr 02:c8:96:b4:f2:0b
	inet6 fe80::21b:78ff:fe29:d59b%epair0b prefixlen 64 scopeid 0x3
	inet 192.168.1.120 netmask 0xffffff00 broadcast 192.168.1.255
	groups: epair
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

From /var/log/daemon.log:

Dec 28 13:02:20 jellyfin dhclient[75637]: receive_packet failed on epair0b: Device not configured
Dec 28 13:02:20 jellyfin dhclient[75637]: ioctl(SIOCGIFFLAGS) on epair0b: Operation not permitted
Dec 28 13:02:20 jellyfin dhclient[75637]: Interface epair0b no longer appears valid.
Dec 28 13:02:20 jellyfin dhclient[75637]: No live interfaces to poll on - exiting.
Dec 28 13:02:20 jellyfin dhclient[75637]: exiting.
Dec 28 13:02:20 jellyfin dhclient[75637]: connection closed
Dec 28 13:02:20 jellyfin dhclient[75637]: exiting.

From iocage get all:

allow_mlock:1
ip6:inherit

I already have a fully functional Emby server running in a jail on the same host. I was just curious to see if Jellyfin would be better for me.
Comment 1 Michiel van Baak Jansen 2023-12-28 18:06:32 UTC
please try jellyfin 10.8.13 (available in the /latest pkg repository)
Comment 2 Michiel van Baak Jansen 2023-12-28 18:11:36 UTC
and please pastbin/dpaste your `var/db/jellyfin/log/log_YYYYMMDD.log` and link it here so we can see what the logs say
Comment 3 Vincent Bentley 2023-12-28 23:00:25 UTC
10.8.13 starts and runs fine in a new jail.
Comment 4 Michiel van Baak Jansen 2023-12-29 12:34:08 UTC
(In reply to Vincent Bentley from comment #3)
Thanks for testing and confirming the latest version works as expected.
This issue can be closed then I think?
Comment 5 Mikael Urankar freebsd_committer freebsd_triage 2024-01-08 14:19:34 UTC
the port has been update and the new version fixes the bug