<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/op_mode/generate_ssh_server_key.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-08-25T12:35:22+00:00</updated>
<entry>
<title>op-mode: T7751: fix re-generating SSH server key causes PermissionError</title>
<updated>2025-08-25T12:35:22+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-08-25T12:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d87266d2726775d76c789e56de3dc24035e15484'/>
<id>urn:sha1:d87266d2726775d76c789e56de3dc24035e15484</id>
<content type='text'>
Fixes an issue when re-generating SSH server key

vyos@vyos:~$ generate ssh server-key
Do you really want to remove the existing SSH host keys? [y/N] y
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/generate_ssh_server_key.py", line 31, in &lt;module&gt;
    cmd('systemctl restart ssh.service')
  File "/usr/lib/python3/dist-packages/vyos/utils/process.py", line 155, in cmd
    raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: systemctl restart ssh.service
returned:
exit code: 1
</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>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>op-mode: T4503: Prevent restart service if commit in progress</title>
<updated>2022-07-07T16:28:59+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-07-06T15:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=28ba0ef32425ee458293a37a4a5ba664dfe577b2'/>
<id>urn:sha1:28ba0ef32425ee458293a37a4a5ba664dfe577b2</id>
<content type='text'>
Prevent op-mode scripts from restarting services if commit in
progress
</content>
</entry>
<entry>
<title>op-mode: ssh: T2185: explicitly specify systemd service</title>
<updated>2020-04-13T18:58:42+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-13T18:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fa3c9b31e7b8f1ae86fba6cf365c46ad2c532113'/>
<id>urn:sha1:fa3c9b31e7b8f1ae86fba6cf365c46ad2c532113</id>
<content type='text'>
</content>
</entry>
<entry>
<title>util: T2226: rewrite gen sh key to use run,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-05T17:35:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=289be9256aedae0995ee5e0198fa256c2d450586'/>
<id>urn:sha1:289be9256aedae0995ee5e0198fa256c2d450586</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[op-mode] T1621 rewrite misc commands to python/xml syntax</title>
<updated>2019-08-30T15:43:44+00:00</updated>
<author>
<name>Dmytro Aleksandrov</name>
<email>alkersan@gmail.com</email>
</author>
<published>2019-08-30T15:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=76f498220c796a39a92ce3bed47c1cc5bac1a99d'/>
<id>urn:sha1:76f498220c796a39a92ce3bed47c1cc5bac1a99d</id>
<content type='text'>
</content>
</entry>
</feed>
