From 9778e2f66ff7b1f06e841a416f295e6e3b74c377 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 12 Mar 2020 21:00:52 +0100 Subject: [PATCH] transmission: mount /etc/resolv.conf in jail transmission needs to have name resolution to be able to resolve the trackers' hostnames. Signed-off-by: Daniel Golle --- net/transmission/Makefile | 2 +- net/transmission/files/transmission.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/transmission/Makefile b/net/transmission/Makefile index 41fbef8456..25f84a3473 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -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 diff --git a/net/transmission/files/transmission.init b/net/transmission/files/transmission.init index 9f0f7958de..8f85782ed0 100644 --- a/net/transmission/files/transmission.init +++ b/net/transmission/files/transmission.init @@ -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" -- 2.30.2