<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/helpers/vyos-boot-config-loader.py, branch rolling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-09-30T19:20:44+00:00</updated>
<entry>
<title>boot-config-loader: T7889: Inform user during login of config-load issues</title>
<updated>2025-09-30T19:20:44+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-09-30T19:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=defc29ef4d42224fbea591fc2909d83e7904c20e'/>
<id>urn:sha1:defc29ef4d42224fbea591fc2909d83e7904c20e</id>
<content type='text'>
As T7885 turns out to be a config load related bug the user will only be
informed when entering conf mode that something is off.

  vyos@vyos:~$ configure
  WARNING: There was a config error on boot: saving the configuration now could overwrite data.
  You may want to check and reload the boot config

More information is displayed on tty0 of the router - but not everyone has
access to tty0. This change is about copying the message displayed on tty0 to
the MOTD system.
</content>
</entry>
<entry>
<title>T7591: remove copyright years from source files</title>
<updated>2025-06-28T21:16:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-28T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1478516ae437f19ebeb7d6ff9b83dd74f8e76758'/>
<id>urn:sha1:1478516ae437f19ebeb7d6ff9b83dd74f8e76758</id>
<content type='text'>
The legal team says years are not necessary so we can go ahead with it, since
it will simplify backporting.

Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \
's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors &lt;maintainers@vyos.io&gt;/g'

In addition we will error-out during "make" if someone re-adds a legacy
copyright notice
</content>
</entry>
<entry>
<title>boot-config-loader: T1622: add missing groups to failsafe user</title>
<updated>2024-01-09T06:34:25+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-01-09T06:32:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=07e802a2d3f98cdf29928bf321cc8b89cb41766c'/>
<id>urn:sha1:07e802a2d3f98cdf29928bf321cc8b89cb41766c</id>
<content type='text'>
This extends commit 86d1291ec5 ("[boot-config-loader] T1622: Add failsafe
and back trace") and adds missing groups to the vyos user. Without this
change the vyos user will only have operator (vyos@vyos&gt;) privileges,
even if this level is discontinued.

One could hack himself up as the user has sudo rights, but rather place
the user in the right groups from the beginning.

NOTE: This user is only added if booted with "vyos-config-debug" and
an error when the configuration can not be loaded at all.
</content>
</entry>
<entry>
<title>T5195: vyos.util -&gt; vyos.utils package refactoring (#2093)</title>
<updated>2023-07-14T20:18:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-14T20:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1ca536da448749dff557f13ecae97b124026e96'/>
<id>urn:sha1:d1ca536da448749dff557f13ecae97b124026e96</id>
<content type='text'>
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process

* T5195: use read_file and write_file implementation from vyos.utils.file

Changed code automatically using:

find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} +
find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} +

* T5195: move chmod* helpers to vyos.utils.permission

* T5195: use colon_separated_to_dict from vyos.utils.dict

* T5195: move is_systemd_service_* to vyos.utils.process

* T5195: fix boot issues with missing imports

* T5195: move dict_search_* helpers to vyos.utils.dict

* T5195: move network helpers to vyos.utils.network

* T5195: move commit_* helpers to vyos.utils.commit

* T5195: move user I/O helpers to vyos.utils.io</content>
</entry>
<entry>
<title>vyos.util: T4061: add function to check for completion of boot config</title>
<updated>2021-12-08T19:30:38+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-12-08T19:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e6b1c1f572068535ea99ee39a2d66bd6bf7043d5'/>
<id>urn:sha1:e6b1c1f572068535ea99ee39a2d66bd6bf7043d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>util: T2226: rewrite boot config loader to use cmd</title>
<updated>2020-04-06T19:22:35+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-05T16:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6057aff92b7961945ed21628c5185d5fe01f57a4'/>
<id>urn:sha1:6057aff92b7961945ed21628c5185d5fe01f57a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[boot-config-loader] T1622: log traceback only if 'vyos-config-debug'</title>
<updated>2020-03-12T19:17:26+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-03-12T19:15:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c776d43101dea36ec72e3b20dff314c9ad1e7079'/>
<id>urn:sha1:c776d43101dea36ec72e3b20dff314c9ad1e7079</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[boot-config-loader] T1622: (bugfix) set gid and write permissions</title>
<updated>2019-09-19T17:51:14+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@sentrium.io</email>
</author>
<published>2019-09-19T17:51:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4a2a06f400593107393755777fdd42b57bbaa21b'/>
<id>urn:sha1:4a2a06f400593107393755777fdd42b57bbaa21b</id>
<content type='text'>
Set gid and permissions so that vyatta-cfg group has access to the
active config; fix typo in arg len check; reorganize; add log output.
</content>
</entry>
<entry>
<title>[boot-config-loader] T1622: Add failsafe and back trace</title>
<updated>2019-08-31T23:09:54+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@sentrium.io</email>
</author>
<published>2019-08-31T22:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=86d1291ec5323e921a0f995211e223bf1f7dcdff'/>
<id>urn:sha1:86d1291ec5323e921a0f995211e223bf1f7dcdff</id>
<content type='text'>
</content>
</entry>
</feed>
