qubes-core-agent-linux icon indicating copy to clipboard operation
qubes-core-agent-linux copied to clipboard

Add support for /rw/config/rc.local-early to run commands as early as possible

Open chriswoope opened this issue 3 years ago • 5 comments

This allows to run arbitrary commands early in initialization, which is useful for things like replacing Qubes GUI packages in a specific VM.

chriswoope avatar Jun 13 '22 15:06 chriswoope

@tasket will that interfere with https://github.com/tasket/Qubes-VM-hardening ? On the first sight, it shouldn't but I'd like to double check.

marmarek avatar Jul 08 '22 02:07 marmarek

This allows to run arbitrary commands early in initialization, which is useful for things like replacing Qubes GUI packages in a specific VM.

Just use systemd for that?

3hhh avatar Jul 11 '22 08:07 3hhh

Just use systemd for that?

You don't have (early enough) place to register systemd units stored in /rw. This addition could be such place.

marmarek avatar Jul 11 '22 11:07 marmarek

If this is ever accepted, please remember to add drop-in configuration directory /rw/config/rc.local-early.d to follow packaging standards of allowing multiple configurations.

ben-grande avatar Feb 20 '24 14:02 ben-grande

Any news on this? Would be really helpful with a problem I am currently having

ghost avatar Apr 25 '24 13:04 ghost