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

Fixed versioncmp compare and fixed typo in file zabbix-server-ips.te #480

Merged
merged 1 commit into from
Jan 29, 2018
Merged

Fixed versioncmp compare and fixed typo in file zabbix-server-ips.te #480

merged 1 commit into from
Jan 29, 2018

Conversation

Fabian1976
Copy link
Contributor

The versioncmp in server.pp to check if it is 3.3 or greater, doesn't work. versioncmp can't return a value greater then 1. It should be greater then 0 (see: versioncmp docs)

And if the versioncmp did work, it couldn't have loaded the correct .te file. It has a typo in it. The file is named zabbix-server-ipc.te and not zabbix-server-ips.te.

So this code looks like it never runned on anyone's server.

@alexjfisher
Copy link
Member

@Fabian1976 Does this now fix the original issue?

@Fabian1976
Copy link
Contributor Author

It did fix the issue. It now properly applied the selinux parameters and the zabbix-server starts properly

@alexjfisher alexjfisher merged commit a2dce5f into voxpupuli:master Jan 29, 2018
@alexjfisher
Copy link
Member

@Fabian1976 Thanks!

@Fabian1976 Fabian1976 deleted the fix_selinux_ipc_34 branch April 10, 2018 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants