Page MenuHomeVyOS Platform

/config/user-data and "preserved during image upgrade!"
Resolved (N/A)PublicFEATURE REQUEST

Description

set interfaces openvpn vtun1 tls cert-file /config/user-data/openvpn/vpn.crt

WARNING: '/config/user-data/openvpn/vpn.crt' lies outside of '/config/auth' directory.
It will not get preserved during image upgrade!

Why so? I think that /config/user-data is for USER-DATA!? And will preserved during image upgrade. Is it possible to return it back? As it was in 1.1.8 version?

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Improvement (missing useful functionality)

Event Timeline

The user-data dir actually is preserved on upgrade, it's just the check that is faulty. Need to look into it.

I successfully update the image from 1.2.6-s1 to VyOS 1.3-rolling-202012231522

All files were migrated without issue.

vyos@ovpnserv:~$ ls -la /config/user-data/openvpn/
total 28
drwxrwsr-x 2 root vyattacfg 4096 Dec 23 17:51 .
drwxrwsr-x 3 root vyattacfg 4096 Dec 23 17:50 ..
-rwxrwxr-x 1 root vyattacfg 1818 Dec 23 17:51 ca.crt
-rwxrwxr-x 1 root vyattacfg 5730 Dec 23 17:51 central.crt
-rw------- 1 root vyattacfg 1708 Dec 23 17:51 central.key
-rwxrwxr-x 1 root vyattacfg  424 Dec 23 17:51 dh2048.pem
vyos@ovpnserv:~$

@hexes Can you re-check it? Or describe which steps do you do?

erkin set Issue type to Improvement (missing useful functionality).Aug 30 2021, 6:35 AM
erkin removed a subscriber: Active contributors.