bkctld check-incs fails when a jail config only contain check_policy #43

Closed
opened 2020-10-28 15:34:46 +01:00 by bwaegeneire · 0 comments
Owner

When a jail contains a check_policy but not a incs_policy, bkctld check-incs return the following error:

# bkctld check-incs 1> /dev/null

stat: missing operand
Try 'stat --help' for more information.
# ls -1 /etc/evobackup/foo/*
/etc/evobackup/foo.d/check_policy

The current workaround is to create the incs_policy config file for that jail, with the appropriate content in it.

The error appear in the stat call in the file bkctld-check-incs because the function current_jail_incs_policy_file returned an empty string.

More information in evogestion ticket 54179.

When a jail contains a check_policy but not a incs_policy, `bkctld check-incs` return the following error: ``` # bkctld check-incs 1> /dev/null stat: missing operand Try 'stat --help' for more information. ``` ``` # ls -1 /etc/evobackup/foo/* /etc/evobackup/foo.d/check_policy ``` The current workaround is to create the incs_policy config file for that jail, with the appropriate content in it. The error appear in the stat call in the file `bkctld-check-incs` because the function `current_jail_incs_policy_file` returned an empty string. More information in evogestion ticket 54179.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evobackup#43
No description provided.