publicarray / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com/
Other
66 stars 14 forks source link

DNSCrypt proxy - Unable to modify any application configuration through the GUI. Blacklist file does not update. #20

Closed NeoNefarious closed 4 years ago

NeoNefarious commented 4 years ago

Setup

Package Name: dnscrypt-proxy Package Version: 2.0.44

Router Model: RT2600ac SRM version: 1.2.4-8081

Expected behavior

As a user I want to be able to modify the application configuration properties through the GUI and wish that the blacklist file be auto generated.

Actual behavior

The application shows the following error message: [REDACTED_TIMESTAMP] [NOTICE] dnscrypt-proxy 2.0.44 [REDACTED_TIMESTAMP] [NOTICE] Dropping privileges [REDACTED_TIMESTAMP] [FATAL] Unable to drop additional groups: [operation not permitted] exit status 255

Steps to reproduce

1. Install the following released package on a RT2600ac model "dnscrypt-proxy_armv7-1.2_2.0.44-5.spk". 2. Try to modify any application package through the GUI.

publicarray commented 4 years ago

@NeoNefarious Thank you for the report! I can reproduce it, working on it tomorrow

publicarray commented 4 years ago

I've just pushed a new release, can you verify if the issue is now fixed? Thanks

Regarding updates, the package installs a cron job that should keep the list updated automatically. The last line of the text file shows when it was last updated.

NeoNefarious commented 4 years ago

@publicarray Thanks for the fix! It works as intended now.

Regarding the blacklist, the updating failed because one of the enabled ad-list is not available, so the script completes the refresh without updating the blacklist.

I disabled any ad-lists that were not available and it works correctly now. Thanks again!