You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
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'"

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!