Skip to content

Commit

Permalink
Allow jellyfin to map/execute tmpfs_t
Browse files Browse the repository at this point in the history
  • Loading branch information
karuboniru committed May 12, 2024
1 parent 753d0c1 commit e72ff1a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cils/container_jellyfin.cil
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(block container_jellyfin
(blockinherit container)
(blockinherit net_container)

(allow process user_home_t ( dir ( watch getattr ioctl lock open read search )))
(allow process user_home_t ( file ( watch getattr ioctl lock open read )))

(allow process tmpfs_t (file (execute map)))
)
1 change: 1 addition & 0 deletions server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ add-files:
"/etc/cils/container_rwhome_allbind.cil",
],
["cils/container_wireguard.cil", "/etc/cils/container_wireguard.cil"],
["cils/container_jellyfin.cil", "/etc/cils/container_jellyfin.cil"],
["etc/containers/containers.conf", "/etc/containers/containers.conf"],
["etc/containers/storage.conf", "/etc/containers/storage.conf"],
[
Expand Down

0 comments on commit e72ff1a

Please sign in to comment.