<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyatta-cfg.git/scripts, branch test-codeowners</title>
<subtitle>Vyatta configuration system (mirror of https://github.com/vyos/vyatta-cfg.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyatta-cfg.git/atom?h=test-codeowners</id>
<link rel='self' href='https://git.amelek.net/vyos/vyatta-cfg.git/atom?h=test-codeowners'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/'/>
<updated>2023-08-24T03:04:18+00:00</updated>
<entry>
<title>save-config: T4292: use vyos-save-config.py</title>
<updated>2023-08-24T03:04:18+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-24T03:04:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=f56f01300512a3083d444d19fbba8323fbce540f'/>
<id>urn:sha1:f56f01300512a3083d444d19fbba8323fbce540f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #65 from cuongdt1994/current</title>
<updated>2023-07-15T07:41:37+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-15T07:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=009f55ab7f7e51d032ae24a1141afd2e7c00f26c'/>
<id>urn:sha1:009f55ab7f7e51d032ae24a1141afd2e7c00f26c</id>
<content type='text'>
T5291: vyatta-cfg-cmd-wrapper missing ${vyos_libexec_dir} variable</content>
</entry>
<entry>
<title>T3355: remove legacy code and migrate remains to vyos-1x repo</title>
<updated>2023-07-09T18:44:37+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-09T18:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=40d0930727300c21ac24a9799078aa7a25e8a268'/>
<id>urn:sha1:40d0930727300c21ac24a9799078aa7a25e8a268</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T775: Add postcommit-hooks in run directory</title>
<updated>2023-06-30T12:03:21+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-06-30T11:54:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=95c691d200cfc88ba919f7fca1d316f20f62436a'/>
<id>urn:sha1:95c691d200cfc88ba919f7fca1d316f20f62436a</id>
<content type='text'>
Use /run/scripts/commit/post-hooks.d directory for scripts generated
by "set service config-sync"
</content>
</entry>
<entry>
<title>tacacs: T141: cleanup configuration files on system boot</title>
<updated>2023-06-21T20:50:45+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-06-21T20:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=407074ee8e51ee47dfddb91d630c54521777f34f'/>
<id>urn:sha1:407074ee8e51ee47dfddb91d630c54521777f34f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5291: vyatta-cfg-cmd-wrapper missing ${vyos_libexec_dir} variable</title>
<updated>2023-06-14T14:25:49+00:00</updated>
<author>
<name>cuongdt1994</name>
<email>63875204+cuongdt1994@users.noreply.github.com</email>
</author>
<published>2023-06-14T14:25:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=3d03a0b9c9e53976de377332fb334307c7e88f06'/>
<id>urn:sha1:3d03a0b9c9e53976de377332fb334307c7e88f06</id>
<content type='text'>
In file: /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper

Commit 9e74ad7 changed the vyos-load-config.py script directory prefix to use ${vyos_libexec_dir}. However, the ${vyos_libexec_dir} variable is not exported at the start of the wrapper script.

When executing the load command over an SSH session it tries to execute the vyos-load-config.py script from root, and not /usr/libexec/vyos where the script resides

$ /opt/scripts/vyos/reset-router-config.pl --debug
[--] Resetting VyOS router configuration...
[??] Connection vyos:vyos@10.35.22.1 established successfully
[??] Command  : /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper begin
[??] Command  : /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper load config.boot.sauron.master
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper: line 84: /vyos-load-config.py: No such file or directory
[??] Error running command: /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper load config.boot.sauron.master
[??] child exited with code 127
[??] Command  : /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper commit
[??] Command  : /opt/vyatta/sbin/vyatta-cfg-cmd-wrapper end
</content>
</entry>
<entry>
<title>startup: T5239: force removal of /etc/hostname</title>
<updated>2023-06-08T19:18:03+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-06-08T19:18:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=30f7cc7e3ca91fb7fcb15d83acfcadec5fe31c35'/>
<id>urn:sha1:30f7cc7e3ca91fb7fcb15d83acfcadec5fe31c35</id>
<content type='text'>
Commit 4bbb382 ("startup: T5239: ensure system hostname is set before FRR
starts") removed /etc/hostname but it cared about exit codes - always
remove the file even if it does not exist (--force)
</content>
</entry>
<entry>
<title>startup: T5239: ensure system hostname is set before FRR starts</title>
<updated>2023-06-08T19:12:12+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-06-08T19:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=4bbb38298847fc772afb12f17cef911dee1a48a5'/>
<id>urn:sha1:4bbb38298847fc772afb12f17cef911dee1a48a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>startup: T5145: clean out VyOS login limit definition</title>
<updated>2023-06-08T19:11:31+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-06-08T19:11:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=3b340d769e3c2e37f7a32d2611d88e7e6394a201'/>
<id>urn:sha1:3b340d769e3c2e37f7a32d2611d88e7e6394a201</id>
<content type='text'>
Always clean our mess before re-adding it. This is required in /etc when
a user does a change but does not save the config - all his changes
should be reverted on reboot.
</content>
</entry>
<entry>
<title>T671: remove unused executables</title>
<updated>2023-05-05T21:23:33+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2023-05-05T21:23:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyatta-cfg.git/commit/?id=a69fca2310d398681f3de3fa6efd903d6f00f710'/>
<id>urn:sha1:a69fca2310d398681f3de3fa6efd903d6f00f710</id>
<content type='text'>
</content>
</entry>
</feed>
