Transmission web interface broken

Transmission web interface is broken because jailed process does not have access to the web interface files.

TurrisOS 5.0.1
package: transmission-daemon-openssl_2.94-17_arm_cortex-a9_vfpv3-d16.ipk

fix:
— /etc/init.d/transmission.old 2020-06-18 12:10:00.465015465 +0200
+++ /etc/init.d/transmission 2020-06-18 12:17:53.613551004 +0200
@@ -156,6 +156,7 @@
procd_add_jail_mount_rw “$config_dir/blocklists”
procd_add_jail_mount_rw “$config_dir/stats.json”
procd_add_jail_mount_rw “$download_dir”
+ [ -d “$web_home” ] && procd_add_jail_mount_rw “$web_home”
procd_close_instance
}

Transmission package is maintained in the OpenWrt packages feed. If you will create pull request here https://github.com/openwrt/packages/blob/master/net/transmission/files/transmission.init and once it is applied in OpenWrt 19.07 branch as well, we will have it in the future updates.

pull request created: https://github.com/openwrt/packages/pull/12543

1 Like

Thanks! It is already included in HBK+ branches and once the fix is present in HBK, it is going to be included in the next version of Turris OS. In this case, Turris OS 5.0.2.