Page MenuHomeVyOS Platform

Commit-archive function does not work with VRF and transport git
Open, NormalPublicBUG

Description

Commit-archive function does not work with VRF and transport git.

Configuration

set interfaces ethernet eth0 address '192.168.43.100/24'
set interfaces ethernet eth0 description 'test'
set interfaces ethernet eth0 vrf 'TEST'
set system config-management commit-archive location test git authentication username 'TOKEN'
set system config-management commit-archive location test git path 'PATH TO GIT REPO'
set system config-management commit-archive location test git server 'github.com'
set system config-management commit-archive location test git transport 'https'
set system config-management commit-archive vrf 'TEST'
set system name-server '8.8.8.8'
set vrf name TEST protocols static route 0.0.0.0/0 next-hop 192.168.43.2
set vrf name TEST table '200'

After committing, I got an error:

vyos@vyos# commit
Archiving config...
  test: git+https://github.com/<PATH TO GIT REPO> Unable to upload "git+https://github.com/<PATH TO GIT REPO>/config.boot-test2.20261113_161912": Permission denied: cannot execute commands in VRF and netns contexts as an unprivileged user

run-parts: /etc/commit/post-hooks.d/02vyos-commit-archive exited with return code 1
[edit]
vyos@vyos#

Details

Version
2026.11.13-0016-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

a.apostoliuk triaged this task as Normal priority.

I tested in VyOS 1.5.1-S1 and got the same error.

set system config-management commit-archive location 'git+https://<TOKEN>@github.com/<PATH TO GIT REPO>'
set system config-management commit-archive vrf 'TEST'
vyos@vyos# commit
Archiving config...
  git+https://github.com/<PATH TO GIT REPO> Unable to upload "git+https://github.com/<PATH TO GIT REPO>/config.boot-vyos.20261113_170051": Permission denied: cannot execute commands in VRF and netns contexts as an unprivileged user
run-parts: /etc/commit/post-hooks.d/02vyos-commit-archive exited with return code 1
[edit]
vyos@vyos#