transmission: mount /etc/resolv.conf in jail
authorDaniel Golle <daniel@makrotopia.org>
Thu, 12 Mar 2020 20:00:52 +0000 (21:00 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 12 Mar 2020 20:19:05 +0000 (21:19 +0100)
transmission needs to have name resolution to be able to resolve
the trackers' hostnames.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/transmission/Makefile
net/transmission/files/transmission.init

index 41fbef8456819a78293db2e53530a8a6eeb58077..25f84a3473045d37aac00602450953651fa73a6a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=transmission
 PKG_VERSION:=2.94
-PKG_RELEASE:=13
+PKG_RELEASE:=14
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master
index 9f0f7958de331a06ccde06674392a719ce022f3a..8f85782ed06881eea7eb52064cfa984dcb46b0c0 100644 (file)
@@ -145,6 +145,7 @@ transmission() {
 
        procd_add_jail transmission log
        procd_add_jail_mount "$config_file"
+       procd_add_jail_mount "/etc/resolv.conf"
        procd_add_jail_mount_rw "$config_dir/resume"
        procd_add_jail_mount_rw "$config_dir/torrents"
        procd_add_jail_mount_rw "$config_dir/blocklists"