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

dnsdist: create user from the RPM package to drop privs #3700

Merged
merged 2 commits into from Apr 19, 2016

Conversation

pieterlexis
Copy link
Contributor

And add a paragraph about this in the readme.



%post
%if 0%{?el6}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No biggie, I guess this will work too, but usually we use is %if 0%{?rhel} == 6

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took this from the existing EPEL specfile, but can change this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah, it's fine.

@rubenk
Copy link
Contributor

rubenk commented Apr 15, 2016

Please add Requires(pre): shadow-utils since you're using useradd

@rgacogne rgacogne merged commit 6ab7f9f into PowerDNS:master Apr 19, 2016
@pieterlexis pieterlexis deleted the rpm-dnsdist-user branch April 19, 2016 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants