Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUsage of state.highstate wreaks havoc on user configurations #2740
Comments
andrewdavidwong
added
bug
C: mgmt
P: major
labels
Apr 8, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Apr 8, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Apr 8, 2017
Member
Disable states after they have been used to initially configure the system.
Already done: #2173
Provide methods of triggering only individual states,
qubesctl state.sls name-of-sls-file should do in theory, but it does not allow to select target (other than --all, --templates etc).
Already done: #2173
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
h01ger
Apr 8, 2017
h01ger
commented
Apr 8, 2017
|
On Sat, Apr 08, 2017 at 02:42:13AM -0700, Marek Marczykowski-Górecki wrote:
> Disable states after they have been used to initially configure the system.
Already done: #2173
the ticket confused me, on July 16 2016 you said it's too late for 3.2
and then three days later there's an updated package, which is later pushed
to stable.
So is #2173 fixed in 3.2 or not?
(I havent started using Salt yet and #2173 doesnt make me want to try…)
…--
cheers,
Holger
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Apr 8, 2017
Member
The comment was about modifying salt modules, not leaving disabled after installation.
|
The comment was about modifying salt modules, not leaving disabled after installation. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Apr 8, 2017
@marmarek Did I just not receive the update?
Also, there is documentation that instructs the user to enable top files, but doesn't instruct to disable them after use.
tasket
commented
Apr 8, 2017
|
@marmarek Did I just not receive the update? Also, there is documentation that instructs the user to enable top files, but doesn't instruct to disable them after use. |
tasket commentedApr 8, 2017
Qubes OS version (e.g.,
R3.2):R3.2
Expected behavior:
Following config instructions which include execution of saltstack states should result only in the specific configuration task being acted upon.
Actual behavior:
User modifications across the system are suddenly and without warning re-configured!
Steps to reproduce the behavior:
Try the example salt configuration in https://www.qubes-os.org/doc/salt/
Enable state and execute
qubesctl state.highstateGeneral notes:
There appear to be serious issues using saltstack in a PC context:
Changes users make after Qubes installation are often for functional or security goals. However, users will later encounter advice to enable features using
qubesctl state.highstatewhich will have negative repercussions throughout the system!For example, on my system a simple test of a new state/top pair resulted in:
Recommendations:
anti-evil-maid-install.Related issues:
#1983