Bug 6138 - [Anolis OS 8]安装 toolbox 后 bash 提示 /usr/lib/os-release: 没有那个文件或目录
Summary: [Anolis OS 8]安装 toolbox 后 bash 提示 /usr/lib/os-release: 没有那个文件或目录
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 8.8
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-08 16:38 UTC by karl_zhao
Modified: 2023-08-08 16:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description karl_zhao inspur_group 2023-08-08 16:38:03 UTC
Description of problem:

anolis8 安装 toolbox 后,ssh连接或者直接执行'bash'命令时会提示:
-bash: /usr/lib/os-release: 没有那个文件或目录

8.8、8.6均存在这个问题


Version-Release number of selected component (if applicable):

anolis-release-8.8-2.an8.x86_64
toolbox-0.0.99.3-7.0.1.module+an8.8.0+11084+6fc06be3.x86_64

How reproducible:

anolis8 安装 toolbox 后,ssh连接或者直接执行'bash'命令时会提示:
-bash: /usr/lib/os-release: 没有那个文件或目录

Steps to Reproduce:
1. dnf install toolbox 
2. bash
3. -bash: /usr/lib/os-release: 没有那个文件或目录

Actual results:

-bash: /usr/lib/os-release: 没有那个文件或目录

Expected results:

不提示任何额外信息

Additional info:

执行软链接后该报错消失
ln -s /etc/os-release /usr/lib/os-release