Skip to content
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

[bug]: Factory Reset does not "delete existing data on disk" #2553

Closed
1 task done
gStart9 opened this issue Jan 22, 2024 · 1 comment
Closed
1 task done

[bug]: Factory Reset does not "delete existing data on disk" #2553

gStart9 opened this issue Jan 22, 2024 · 1 comment
Assignees
Labels
Bug Something isn't working startd Issues pertaining to startd itself

Comments

@gStart9
Copy link
Member

gStart9 commented Jan 22, 2024

Prerequisites

Server Hardware

x86_64 (Server One)

StartOS Version

0.3.5.1 (nonfree)

Client OS

Linux

Client OS Version

Debian 12

Browser

Firefox

Browser Version

121

Current Behavior

On the Install Type screen, there are two options:

  • Re-Install StartOS ["Will preserve existing StartOS data"]
  • Factory Reset ["Will delete existing data on disk"]

When selecting Factory Reset, the Data partition is preserved. The result is that anyone who selects "Factory Reset" at install time, after rebooting to the setup wizard, is still presented with the option to "Use existing drive" (See reproduction screenshots below).

Is this intentional?
If so I don't see the reason to offer both "Re-install StartOS" and "Factory Reset"
If not, we have a bug.

Expected Behavior

I am expecting "Factory Reset" to wipe all data (including service data from the user data partition) from the disk. The data is preserved (See screenshots below).

Steps to Reproduce

  1. Boot USB installation media (v0351 nonfree in this case) and select the disk:
    image

  2. Select "Factory Reset" as the install type:
    image

  3. A warning appears stating "This action will COMPLETELY erase the disk DISK_NAME_":
    image

  4. The UI indicates success. Click REBOOT:
    image

  5. Remove the USB installation media and reboot. StartOS setup wizard appears. Choose Recover:
    image

  6. Under Recover Options, select Use Existing Drive:
    image

  7. The disk that was supposedly wiped appears as an existing drive able to be used:
    image

  8. Select the drive and it will restore your old install.

Anything else?

No response

@gStart9 gStart9 added Bug Something isn't working Needs Triage Needs to be assigned a priority labels Jan 22, 2024
@MattDHill MattDHill assigned dr-bonez and unassigned MattDHill Jan 23, 2024
@MattDHill MattDHill added startd Issues pertaining to startd itself and removed Needs Triage Needs to be assigned a priority labels Jan 23, 2024
@dr-bonez
Copy link
Member

Duplicate of #2162

@dr-bonez dr-bonez marked this as a duplicate of #2162 Jan 23, 2024
@dr-bonez dr-bonez closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working startd Issues pertaining to startd itself
Projects
None yet
Development

No branches or pull requests

3 participants