Browse Source

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 <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 5 years ago
parent
commit
9778e2f66f
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      net/transmission/Makefile
  2. +1
    -0
      net/transmission/files/transmission.init

+ 1
- 1
net/transmission/Makefile View 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


+ 1
- 0
net/transmission/files/transmission.init View 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"


Loading…
Cancel
Save