Skip to content

dhcpcd: doesn't run as the system user #59312

@reaaaaads

Description

@reaaaaads

Is this a new report?

Yes

System Info

Void amd64 glibc latest

Package(s) Affected

dhcpcd

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

No response

Expected behaviour

The daemon should use its own system _dhcpcd user, not root. It is a common sense, that services run as system users. Would be nice to have more system users, lets say, for iwd.

Actual behaviour

It runs as root according to multiple sources.

Steps to reproduce

  1. ln -s /etc/sv/dhcpcd /var/service
  2. Use any convenient way to check the process owner.
  3. It runs as root

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions