Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
OCI: Resolving "ksplice: error: argument subsys: invalid choice: 'xen'"
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms:
After upgrading ksplice, the cron job fails with the following error:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin && [ -x /usr/bin/ksplice ] && (/usr/bin/ksplice --cron user upgrade; /usr/bin/ksplice --cron xen upgrade)
usage: ksplice [-h] [--debug DEBUG] [--yes] [--retries max_retries] [--no]
[--verbose] [--quiet] [--version] [--uptrack]
{kernel,user,all}
{list-targets,uname,upgrade,remove,show,effective,install,init}
...
ksplice: error: argument subsys: invalid choice: 'xen' (choose from 'kernel', 'user', 'all')
Cause:
The error is caused by an incompatibility between the old Ksplice cron job configuration and the new
Tagged:
0