Page MenuHomePhabricator

Config archive permissions are wrong after upgrading from 1.1.8 to 1.2.0
Closed, ResolvedPublicBUG


When you upgrade from 1.1.8 to 1.2.0, and try to commit something, you'll get this error:

vyos@vyos# commit
Couldn't open /opt/vyatta/etc/config/archive/commits - Permission denied at /opt/vyatta/share/perl5/Vyatta/ line 108.
run-parts: /etc/commit/post-hooks.d/ exited with return code 13

The root cause is that the GID of the vyattacfg group has changes. VyOS 1.1.8 used GID 104, but in Debian Jessie, 104 belongs to systemd-network, so when vyattacfg group is created, it gets a different id.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close