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

Make it not need root (mostly for test/dev) #212

Closed
laduke opened this issue Mar 23, 2023 · 1 comment
Closed

Make it not need root (mostly for test/dev) #212

laduke opened this issue Mar 23, 2023 · 1 comment
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@laduke
Copy link
Contributor

laduke commented Mar 23, 2023

Just a nice to have type of thing.

When you cargo run as root or make test-integration, it creates root owned files in ./target. Then you need to be root anytime you do anything with cargo after that, or at least delete .cargo-lock

I think it needs root to

  • read the system's authtoken.secret
    there's already a flag for specifying this file, so this might be already work around able
    there's also a standard user location for a copy of authtoken.secret to exist. maybe i'll make it search there too.
  • bind to port 53
    on macos, it just lets you bind 53 as a user. on linux, you could modify your system to allow it. but maybe the port should configurable.
    I don't know enough about dns to know if this type of dns server ever wants to be bound to a non 53 port. Probably only if it's getting queried by another server, not by the end user/os.
@laduke laduke added enhancement New feature or request wontfix This will not be worked on labels Mar 23, 2023
@laduke
Copy link
Contributor Author

laduke commented Mar 28, 2023

meh

@laduke laduke closed this as completed Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant