New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qvm-remove may cause unwanted data loss (typos etc.) #3129

Closed
3hhh opened this Issue Sep 27, 2017 · 8 comments

Comments

Projects
None yet
3 participants
@3hhh

3hhh commented Sep 27, 2017

Qubes OS version (e.g., R3.2):

4.0rc1

Steps to reproduce the behavior:

qvm-remove [VM]

Actual behavior:

It removes the VM.

Expected behavior:

It could provide some security check that you didn't mistype or anything. This was available in Qubes Manager in 3.2.
A -f flag might force removal without a second question for scripting etc.

@3hhh 3hhh changed the title from qvm-remove may cause data loss quickly to qvm-remove may cause unwanted data loss (typos etc.) Sep 27, 2017

@marmarek marmarek added this to the Release 4.0 milestone Sep 27, 2017

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Nov 9, 2017

Seems like a related issue:

qvm-remove will remove a Template that is installed from dnf/rpm. Is that intended?

tasket commented Nov 9, 2017

Seems like a related issue:

qvm-remove will remove a Template that is installed from dnf/rpm. Is that intended?

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Dec 20, 2017

@marmarek - I have a patch I can add to PR#43

tasket commented Dec 20, 2017

@marmarek - I have a patch I can add to PR#43

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 20, 2017

Member

@marmarek - I have a patch I can add to PR#43

Please create separate PR.

Member

marmarek commented Dec 20, 2017

@marmarek - I have a patch I can add to PR#43

Please create separate PR.

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Dec 29, 2017

@marmarek - Should I put a check/exception for installed_by_rpm in api/admin.py: vm_remove() ?

tasket commented Dec 29, 2017

@marmarek - Should I put a check/exception for installed_by_rpm in api/admin.py: vm_remove() ?

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Jan 10, 2018

@3hhh - You can probably close this now; The above PRs were merged.

tasket commented Jan 10, 2018

@3hhh - You can probably close this now; The above PRs were merged.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 10, 2018

Member

Thanks @tasket !

Member

marmarek commented Jan 10, 2018

Thanks @tasket !

@marmarek marmarek closed this Jan 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment