add safeguard to prevent moss from eating your current operating system#423
add safeguard to prevent moss from eating your current operating system#423cameronbraid wants to merge 1 commit into
Conversation
Only provide a default value for "root" global argument if the current system is identified as a serpent os. Currently uses the MACHTYPE env for detection
|
Would it not be better to check also this seems like it would limit moss to working on serpent as the system package manager. perhaps there could be a better way of doing this. Could this be set via config or something? |
|
What about changing the default back to |
|
Although, this might suggest that a separate |
|
The idea of having a well thought out This migh also tie nicely into potentially setting up the proper minimum SELinux policy for /.moss and /usr in the future. |
|
@cameronbraid You still up for working on this? |
Only provide a default value for "root" global argument if the current system is identified as a serpent os.
Currently uses the MACHTYPE env for detection
Manually tested on a arch system :
And when we fake then env we get an expected error