Install latest/stable of canonical-livepatch-cve-service
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install canonical-livepatch-cve-service
Don't have snapd? Get set up for snaps.
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
Canonical Livepatch CVE Service Snap
Description:
The Canonical Livepatch CVE service runs a simple HTTP server that periodically fetches and provides information about CVEs fixed in Ubuntu kernels.
Usage:
Once installed, the CVE service snap will automatically initialize and begin listening on localhost:8090.
The snap has several configuration options available. All configuration options are set via:
sudo snap set canonical-livepatch-cve-service <config>=<value>
To use the default values after a custom value is used, set the config value to an empty string "". For example:
sudo snap set canonical-livepatch-cve-service port=""
The service will automatically restart on a configuration change, ensuring that the service runs with the latest configuration.
Configuration Options:
The following list shows all configuration options and example values:
source
"https://osv-vulnerabilities.storage.googleapis.com/Ubuntu/all.zip"source-type config option. The default for this value is "https://osv-vulnerabilities.storage.googleapis.com/Ubuntu/all.zip".source-type
"osv-bucket-zip"source config option. The default for this value is "osv-bucket-zip".fetch-freq
"", the service fetches based on the interval. If set to once, it fetches a single time at startup. If never, it does not fetch data from the source."", once, neveronce or never, the interval option is ignored. When setting the option to never, the source, source-type, and interval options are ignored. The default for this value is "".interval
xxhxxmxxs."1h0m0s""1h0m0s".port
"8090""8090".write-timeout
"5m""5m".read-timeout
"30s""30s".Pointing Livepatch Server To The CVE Service
Livepatch server, when connected to the CVE service, will serve fixed CVE information, and periodically refresh its CVE cache by fetching from the CVE service. By default, Livepatch server has these features disabled so you can supply configuration values based on a certain deployment.
To point Livepatch Server to the CVE service, first enable the cve-lookup feature with:
sudo snap set canonical-livepatch-server lp.cve-lookup.enabled="true"
Then, enable the cve-sync feature, and set the source-url to the url pointing to the CVE service:
sudo snap set canonical-livepatch-server lp.cve-sync.enabled="true"
sudo snap set canonical-livepatch-server lp.cve-sync.source-url="http://<host>:port"
You can also set the refresh interval, and proxy information if required:
sudo snap set canonical-livepatch-server lp.cve-sync.interval="1h"
sudo snap set canonical-livepatch-server lp.cve-sync.proxy.enabled="true"
sudo snap set canonical-livepatch-server lp.cve-sync.proxy.http="<url>"
sudo snap set canonical-livepatch-server lp.cve-sync.proxy.https="<url>"
sudo snap set canonical-livepatch-server lp.cve-sync.proxy.no-proxy="<url>"
By default, the refresh interval is 1 hour, and the proxy is disabled.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.