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 autocleaner #424

Merged
merged 2 commits into from
Mar 4, 2021
Merged

Fix autocleaner #424

merged 2 commits into from
Mar 4, 2021

Conversation

wladich
Copy link

@wladich wladich commented Mar 4, 2021

Fixing two issues in autocleaner.py:

The autocleaner.py is executed by cron which sets path to
PATH=/usr/bin:/bin. As exportfs is in /usr/sbin it must have full path
specified, otherwise the script is crashing and fails to clean up old
jobs directories

Fixes freeipa#422
The condition was always true because file mtime is less then current time
and "mtime - now" is negative.
@netoarmando netoarmando merged commit 98307a2 into freeipa:master Mar 4, 2021
@netoarmando
Copy link
Member

Deployed to all runners.

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.

3 participants