You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the warning message is worrying because it is read as it no checksum was made, but it was made, as I tested with the wrong checksum and it failed.
Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Please be as specific as possible and give set-up details.
VM (Virtualbox, KVM, etc. please specify) - Xen - QubesOS
classic packaging - packaged by Qubes developers
Steps to Reproduce the behavior
(Include debug logs if possible and relevant)
[WARNING ] source_hash is only used with 'http', 'https' or 'ftp'
File is correctly copied if the hash is correct and not copied if it is incorrect.
In case it is incorrect:
Comment: Specified sha256 checksum for /var/lib/qubes/vm-kernels/vmlinuz (18a1ee52574b9a4fc5eda265922bcbcface90f7c43ed7a68dc8e201a2ac0a7dc) does not match actual checksum (78a1ee52574b9a4fc5eda265922bcbcface90f7c43ed7a68dc8e201a2ac0a7dc)
Expected behavior
No warning message and the documentation stating that local files are also supported.
Versions Report
No difference in master and minion version.
Salt Version:
Salt: 3006.9Python Version:
Python: 3.11.6 (main, Oct 3 2023, 00:00:00) [GCC 12.3.1 20230508 (Red Hat 12.3.1-1)]Dependency Versions:
cffi: 1.15.1cherrypy: Not Installedcryptography: Not Installeddateutil: 2.8.2docker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 3.0.3libgit2: 1.3.1looseversion: 1.2.0M2Crypto: Not InstalledMako: Not Installedmsgpack: 1.0.4msgpack-pure: Not Installedmysql-python: Not Installedpackaging: 21.3pycparser: 2.20pycrypto: Not Installedpycryptodome: 3.19.0pygit2: 1.7.1python-gnupg: Not InstalledPyYAML: 6.0PyZMQ: 23.2.0relenv: Not Installedsmmap: Not Installedtimelib: Not InstalledTornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: qubes 4.2.3 R4.2locale: utf-8machine: x86_64release: 6.6.48-1.qubes.fc37.x86_64system: Linuxversion: Qubes OS 4.2.3 R4.2
Additional context
The text was updated successfully, but these errors were encountered:
Description
file.managed documentation states that
source_hash
:Local file could be mentioned before the "etc".
It was fixed in code in:
Having the warning message is worrying because it is read as it no checksum was made, but it was made, as I tested with the wrong checksum and it failed.
Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
(Include debug logs if possible and relevant)
I ran the state locally.
File is correctly copied if the hash is correct and not copied if it is incorrect.
In case it is incorrect:
Expected behavior
No warning message and the documentation stating that local files are also supported.
Versions Report
No difference in master and minion version.
Additional context
The text was updated successfully, but these errors were encountered: