Org*_*ble 7 ubuntu-advantage 18.04
今天在我的服务器目录中做了一些简单的阅读/var/log/,发现了一些我不熟悉的日志 - ubuntu-advantage.log。
日志有类似这样的重复内容
2021-08-01 03:25:21,947 - ua_update_messaging.py:(347) [DEBUG]: Updating UA messages for APT and MOTD.
2021-08-01 03:25:21,947 - util.py:(419) [DEBUG]: Reading file: /etc/os-release
2021-08-01 03:25:21,994 - util.py:(419) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-08-01 03:25:21,994 - config.py:(442) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-token.json
2021-08-01 03:25:22,008 - util.py:(419) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-08-01 03:25:22,009 - config.py:(442) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-token.json
2021-08-01 15:34:22,023 - ua_update_messaging.py:(347) [DEBUG]: Updating UA messages for APT and MOTD.
2021-08-01 15:34:22,036 - util.py:(419) [DEBUG]: Reading file: /etc/os-release
2021-08-01 15:34:22,080 - util.py:(419) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-08-01 15:34:22,080 - config.py:(442) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-token.json
2021-08-01 15:34:22,096 - util.py:(419) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-08-01 15:34:22,096 - config.py:(442) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-token.json
Run Code Online (Sandbox Code Playgroud)
它看起来每隔 12 小时就会醒来,在我的系统上查找某些内容,但没有找到,然后就消失了。
我不记得故意安装过任何东西ubuntu advantage,据我所知,它用于已经过 EOL 的系统,而这个 18.04 系统绝对不是。
第一份日志可以追溯到今年五月。
另外,我找不到名为的服务ubuntu advantage或 中的条目cron。
这个东西想做什么,它是如何运行的,我该如何摆脱它?
从 16.04 LTS 升级到 18.04 LTS 后,我对 Ubuntu Advantage Tools 的安装和 ESM 的存在感到非常 惊讶。
我不需要它面向企业的功能。
所以我们可以简单地删除 Ubuntu Advantage Tools
sudo apt-get purge --autoremove ubuntu-advantage-tools
Run Code Online (Sandbox Code Playgroud)
然后重新启动并享受。
| 归档时间: |
|
| 查看次数: |
3964 次 |
| 最近记录: |