Cannot find the "/usr/share/ubuntu-scap-security-guides" directory.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am trying to run the cis benchmark config. However, I was unable to find the directory "/usr/share/
File "/usr/lib/
out, _err = util.subp(
File "/usr/lib/
out, err = _subp(args, rcs, capture, timeout, env=env)
File "/usr/lib/
stderr=
uaclient.
2021-08-28 00:12:43,901 - util.py:(419) [DEBUG]: Reading file: /var/lib/
2021-08-28 00:12:43,903 - util.py:(686) [DEBUG]: Removing file: /var/lib/
2021-08-28 00:21:01,621 - cli.py:(1327) [DEBUG]: Executed with sys.argv: ['/usr/bin/ua', 'auto-attach']
2021-08-28 00:21:01,622 - util.py:(419) [DEBUG]: Reading file: /var/lib/
2021-08-28 00:21:01,622 - config.py:(442) [DEBUG]: File does not exist: /var/lib/
2021-08-28 00:21:01,622 - util.py:(676) [DEBUG]: Writing file: /var/lib/
2021-08-28 00:21:01,623 - util.py:(676) [DEBUG]: Writing file: /var/lib/
2021-08-28 00:21:01,624 - util.py:(419) [DEBUG]: Reading file: /var/lib/
2021-08-28 00:21:01,626 - config.py:(869) [DEBUG]: Using UA client configuration file at /etc/ubuntu-
2021-08-28 00:21:01,626 - util.py:(419) [DEBUG]: Reading file: /etc/ubuntu-
2021-08-28 00:21:02,608 - cli.py:(1297) [ERROR]: Unhandled exception, please file a bug
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return args.action(args, cfg)
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
retval = f(args, cfg, **kwargs)
File "/usr/lib/
token = _get_contract_
File "/usr/lib/
instance = identity.
File "/usr/lib/
cloud_type = get_cloud_type()
File "/usr/lib/
return f()
File "/usr/lib/
out, _err = util.subp(
File "/usr/lib/
out, err = _subp(args, rcs, capture, timeout, env=env)
File "/usr/lib/
stderr=
uaclient.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 4.4.0-19041-
ApportVersion: 2.20.9-0ubuntu7.24
Architecture: amd64
Date: Sat Aug 28 00:25:00 2021
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
summary: |
- Cannot find the /usr/share/ubuntu-scap-security-guides" "directory. + Cannot find the "/usr/share/ubuntu-scap-security-guides" directory. |
Hi Ronnie, just some questions around this issue:
1) Does the following error happened when running: ua enable cis ?
2) What cloud are you running ua on ?
3) What is the output of: cloud-init status --long