Open
Description
Describe the bug
Due to the following of the log file /var/log/cobbler/cobbler.log during a reposync, if the logfile is rotated during the reposync the reposync will just hang forever waiting for a logfile message that will never come.
Perhaps the correct fix is to tail the log in the tasks dir instead?
Steps to reproduce
- Run cobbler reposync
- force log rotation in the middle of a reposync
- wait for godot
Expected behavior
Reposync should finish, or maybe the code to watch the log should realize the log has rotated out and return an error/failure. Either way, it shouldn't hang for infinity.
Cobbler version
Cobbler 3.3.6
Operating system
RHEL7
Cobbler log
Screenshots
Additional information
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo