ben-grande / qusal

Salt Formulas for Qubes OS.
14 stars 6 forks source link

Kicksecure salt state fails over unkown escape character #65

Closed kennethrrosen closed 1 week ago

kennethrrosen commented 1 week ago

Commitment

I confirm that I have read the following resources:

Software version

R4.2.1

Brief summary

sudo qubesctl --targets=kicksecure-17-minimal state.apply fails with the following output from /var/log/qubes/mgmt-kicksecure-17-minimal.log:

[user@dom0 minion.d]$ sudo cat /var/log/qubes/mgmt-kicksecure-17-minimal.log
2024-06-21 13:33:51,165 calling 'state.apply'...
2024-06-21 13:34:32,806 output: kicksecure-17-minimal:
2024-06-21 13:34:32,807 output:     - Rendering SLS 'base:kicksecure-minimal.install' failed: found unknown escape character
2024-06-21 13:34:32,807 output: /usr/lib/python3.12/site-packages/salt/utils/jid.py:19: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
2024-06-21 13:34:32,807 output:   return datetime.datetime.utcnow()
2024-06-21 13:34:32,807 output: [CRITICAL] Rendering SLS 'base:kicksecure-minimal.install' failed: found unknown escape character
2024-06-21 13:34:32,807 exit code: 20

Steps to reproduce

Run README.md commands in specified order.

Expected behavior

The build/script continues toward completing configure and install of kicksecure-17-minimal templates/vms.

Actual behavior

When applying sudo qubesctl --targets=kicksecure-17-minimal state.apply the state exists on ERROR code 20.

.