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

[rpm] Add runtime dependency on initscripts pkg #82

Merged
merged 1 commit into from
Jul 8, 2016

Conversation

olivielpeau
Copy link
Member

On RHEL, the initscripts pkg contains the system scripts (/etc/rc.d/init.d/functions) that the init script of the agent uses (see https://github.com/DataDog/dd-agent/blob/5.8.3/packaging/centos/datadog-agent.init#L43). It's present by default on CentOS 5/6 but not on CentOS 7 so it's worth adding.

This will add initscripts to the Requires: field of the rpm pkg's spec file (see https://github.com/DataDog/omnibus-ruby/blob/67368bbf966ca9f2e425eda193f81550e2c08cdf/resources/rpm/spec.erb#L33-L35)

On RHEL, the initscripts pkg contains the system scripts that the init
script of the agent uses. It's present by default on CentOS 5/6 but not
on CentOS 7 so it's worth adding.
@talwai
Copy link
Contributor

talwai commented Jul 8, 2016

<3

@@ -47,6 +47,10 @@
end
end

if redhat?
runtime_dependency 'initscripts'
Copy link
Member

Choose a reason for hiding this comment

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

🍪

@hkaj
Copy link
Member

hkaj commented Jul 8, 2016

:shipit:

@olivielpeau olivielpeau added this to the 5.9.0 milestone Jul 8, 2016
@olivielpeau olivielpeau merged commit 694275b into master Jul 8, 2016
@olivielpeau olivielpeau deleted the olivielpeau/initscripts-dep branch July 8, 2016 15:15
@olivielpeau olivielpeau modified the milestones: 5.8.5, 5.9.0 Jul 22, 2016
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.

3 participants