Wireguard User Routes not persisted

REPRODUCIBILITY: 100% (always)
OSVERSION: 5.0.0.72
HARDWARE: Xperia 10 III - xqbt52 - xqbt52 - 1.0.1.48 - aarch64
UI LANGUAGE: English (UK) (user: en_GB, os: en_GB.utf8)
REGRESSION: not specified

DESCRIPTION:

Was looking for a workaround of [5.0.0.67][C2] Wireguard - Selected routed networks not set upon VPN activation and tried to add a User Route in the advanced Wireguard VPN settings.

To my dismay, the setup is not persisted.

I wonder If the routes can be added in the vpn settings file direcly - or if is not implemented at all.

PRECONDITIONS:

A Wireguard VPN is defined.

STEPS TO REPRODUCE:

  1. Create/import a Wireguard VPN
  2. Add and save a User Route in the Advanced settings
  3. Go back to main settings. Note: at this stage, going back to advanced settings finds the freshly added route.
  4. Save main VPN settings
  5. Reopen the VPN settings/advanced: the ‘User Route’ is gone

EXPECTED RESULTS:

User Route is persisted upon VPN settings save.

ACTUAL RESULTS:

Newly added User Route is lost upon VPN settings save.

MODIFICATIONS:

  • Patchmanager: no
  • OpenRepos: yes
  • Chum: yes
  • Other: none specified

ADDITIONAL INFORMATION:

Device Owner User: defaultuser
Home Encryption: enabled


the initial version of this bug report was created using Bugger 0.9.16+git2