<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/op_mode/show_sensors.py, branch feature/T9082-codeql-cpp</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=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-04-16T15:17:31+00:00</updated>
<entry>
<title>op-mode: T8483: remove hypervisor checks from sensors detection</title>
<updated>2026-04-16T15:17:31+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-04-16T15:17:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4a5cb1db2b35f4300552717f75422376f381b3bd'/>
<id>urn:sha1:4a5cb1db2b35f4300552717f75422376f381b3bd</id>
<content type='text'>
Maintainers agreed to remove the CPU-flag-based hypervisor check, as it is
arbitrary and can produce incorrect behavior. Sensors can be passed through to
virtual machines, so running in a VM should not be treated differently.

If no sensors are detected - whether on a hypervisor VM or on bare metal - the
command now reports: "No sensors found".
</content>
</entry>
<entry>
<title>op-mode: T8483: fix whitespace format issues for show_sensors.py</title>
<updated>2026-04-16T15:15:02+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-04-16T15:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=922d515dccc5df1e94119839e9b1e56f3e6f1074'/>
<id>urn:sha1:922d515dccc5df1e94119839e9b1e56f3e6f1074</id>
<content type='text'>
</content>
</entry>
<entry>
<title>op-mode: T8483: fix /show_sensors.py: No such file or directory</title>
<updated>2026-04-12T07:35:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-04-12T07:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5e0c08a3032fb748c88a6ac10f3cf2a31a232433'/>
<id>urn:sha1:5e0c08a3032fb748c88a6ac10f3cf2a31a232433</id>
<content type='text'>
After rewriting the op-mode handlind code and introducing virtualTagNodes for
op-mode, also all &lt;command&gt; statements will be executed by a runner. Executing
"bash -c ''" code within that runner lacks the proper environment.

This can be verified by adding "env" into the bash -c '' executions string.

Solve this issue by moving the hypervisor detection code to show_sensors.py.
</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>T2559: Make the sensors automatically load necessary modules</title>
<updated>2020-06-08T15:01:19+00:00</updated>
<author>
<name>kroy</name>
<email>kroy@kroy.io</email>
</author>
<published>2020-06-08T14:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b046356bed77f7014d2ff14100c8095636c46101'/>
<id>urn:sha1:b046356bed77f7014d2ff14100c8095636c46101</id>
<content type='text'>
</content>
</entry>
</feed>
