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

Replaced agent systemd service with official #321

Merged
merged 1 commit into from
Dec 7, 2016

Conversation

BcTpe4HbIu
Copy link

fix #320


[Service]
EnvironmentFile=-/etc/sysconfig/zabbix-agent
Copy link
Member

Choose a reason for hiding this comment

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

this is redhat specific, but we use the unit file also on other systems:
https://github.com/voxpupuli/puppet-zabbix/blob/master/manifests/startup.pp#L52

Copy link
Author

Choose a reason for hiding this comment

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

@bastelfreak Removed this line. Anyway there is no /etc/sysconfig/zabbix-agent file even on redhat.

PIDFile=<%= @pidfile %>
PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes
Copy link
Member

Choose a reason for hiding this comment

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

so these additional security settings are pretty smart, but not upstream, I would prefer if we keep them or at least open up a ticket upstream to mention these.

Copy link
Member

Choose a reason for hiding this comment

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

@bastelfreak
Copy link
Member

thanks!

@bastelfreak bastelfreak merged commit 8ea5b6c into voxpupuli:master Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zabbix agent should not use ProtectSystem in systemd
2 participants