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

Fix: mk-job (linux) support versions without perl again #775

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Bastian-Kuhn
Copy link
Contributor

Current Linux Distributions like RHEL 8 + 9 do not install Perl as default.
So with the Update Checkmk 2.3, mk-job fails there since an earlier workaround for aix/ solaris to get a timestamp using perl, was made a default now for as well Linux.

This fix tries to restore the function on GNU Linux again if perl is missing, but without reverting the use of perl as default.
Since GNU date should always have the %s parameter, just BSD or BusyBox can lack the support, that's maybe a reasonable approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants