Page MenuHomeVyOS Platform

Enabling TPM encryption causes commit revisions write to fail
Closed, ResolvedPublicBUG

Description

vyos@vyos# commit
_add_log_entry: CRITICAL:[Errno 13] Permission denied: '/opt/vyatta/etc/config/archive/commits'


vyos@vyos# ls -la /opt/vyatta/etc/config/archive/commits
-rw-rw-r-- 1 root root 128 Aug 13 09:55 /opt/vyatta/etc/config/archive/commits

It seems like chgrp needs to be used recursively - https://github.com/vyos/vyos-1x/blob/6e7e7842bc1ba55bd4c91c3af35faf8961793318/src/helpers/vyos-config-encrypt.py#L141

Steps to reproduce:

encryption enable
configure
set system host-name vyos-1
compare [TAB]

Details

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

Event Timeline

Unknown Object (User) triaged this task as Normal priority.Aug 14 2025, 1:06 PM
Unknown Object (User) added a project: VyOS 1.5 Circinus (1.5-stream-2025-Q3).
Unknown Object (User) assigned this task to sarthurdev.Aug 18 2025, 7:41 AM
a.kudientsov renamed this task from Enabling TPM encryption changes '/opt/vyatta/etc/config/' contents group owner to root to Enabling TPM encryption causes commit revisions write to fail.Aug 18 2025, 10:01 AM
a.kudientsov updated the task description. (Show Details)
sarthurdev changed the task status from Open to In progress.Aug 18 2025, 8:04 PM

This behavior is no more observed, the

commit

is successful on different scenario with encryption
Summary:
fixed and no more observed

dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.