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

Projects
None yet
3 participants
@pieterlexis
Member

pieterlexis commented Apr 13, 2016

And add a paragraph about this in the readme.

%post
%if 0%{?el6}

This comment has been minimized.

@rubenk

rubenk Apr 15, 2016

Contributor

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

This comment has been minimized.

@pieterlexis

pieterlexis Apr 18, 2016

Member

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

This comment has been minimized.

@rubenk

rubenk Apr 18, 2016

Contributor

Nah, it's fine.

@rubenk

This comment has been minimized.

Contributor

rubenk commented Apr 15, 2016

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

@pieterlexis pieterlexis force-pushed the pieterlexis:rpm-dnsdist-user branch from 38ce0f7 to 6715a73 Apr 18, 2016

@rgacogne rgacogne merged commit 6ab7f9f into PowerDNS:master Apr 19, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@pieterlexis pieterlexis deleted the pieterlexis:rpm-dnsdist-user branch Apr 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment