Skip to content

sudo: reinstall (-ff) deletes /etc/sudoers without restoring it #61532

Description

@rendong-9001

Is this a new report?

Yes

System Info

Void 7.0.14_1 x86_64 AuthenticAMD uptodate FFFFFFFFFFF

Package(s) Affected

sudo-1.9.17p2_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Running xbps-install -ff sudo should fully restore or overwrite all files, including /etc/sudoers

Actual behaviour

The file /etc/sudoers is completely removed from the filesystem

Steps to reproduce

  1. sudo xbps-install -ff sudo
  2. sudo ls
  3. Crash: (sudo: unable to open /etc/sudoers: No such file or directory)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions