A bug report about Salt grain

10 views
Skip to first unread message

sn3d...@morke.org

unread,
Apr 21, 2024, 1:24:14 PMApr 21
to qubes...@googlegroups.com
I thought to report this bug here because I do not have a Github account.
If qubes-devel is a better choice please tell me so.

Qubes OS release
R4.2.1

Brief summary
The os Salt grain in dom0 changed from Fedora to Qubes OS. That breaks
Salt modules using the grain (one is rpm_lowpkg), and some custom states.

Steps to reproduce
Run "sudo qubesctl grains.get os".

Expected behavior
"Fedora" printed.

Actual behavior
"Qubes OS" printed.

Notes:
I think that the cause of this is a change in qubes-release v4.2-0.2. The
NAME field in /etc/os-release changed to Qubes OS, but the fixup in
/srv/salt/_grains/redefined_dom0_grains.py was not updated. These grains
did not change after running sudo qubesctl saltutil.refresh_grains.
Thank you for reading.


Andrew David Wong

unread,
Apr 21, 2024, 10:02:43 PMApr 21
to qubes...@googlegroups.com

sn3d...@morke.org

unread,
Apr 23, 2024, 8:56:53 AMApr 23
to Andrew David Wong, qubes...@googlegroups.com
Thank you. I appreciate the work of you and your team.


Reply all
Reply to author
Forward
0 new messages