[问题描述]: anolis23不支持raw命令 [环境信息]: 内核信息: # uname -r 5.19.0-1.an23.x86_64 操作系统信息: [root@iZbp1hslpx8nvqg79mwbedZ ~]# cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" 软件包信息: [root@iZbp1hslpx8nvqg79mwbedZ ~]# yum provides raw Last metadata expiration check: 2:57:14 ago on Tue 13 Sep 2022 03:34:12 PM CST. Error: No Matches found [root@iZbp1hslpx8nvqg79mwbedZ ~]# rpm -qa |grep util-linux util-linux-core-2.38~rc4-2.an23.x86_64 util-linux-2.38~rc4-2.an23.x86_64 util-linux-user-2.38~rc4-2.an23.x86_64 [问题发生概率]:必现 [期望结果]: 正常支持raw [实际结果]: 不支持 [复现步骤]: 1、raw
anolis8是支持的。请帮忙确认
util-linux在高版本关闭了raw的支持,相关issue: https://github.com/util-linux/util-linux/issues/1442 原因是kernel>=5.14删除了对raw的支持: https://github.com/torvalds/linux/commit/603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093 util-linux的相关commit: https://github.com/buildroot/buildroot/commit/63f34c54090a70987a707346a6e77d1a6fbead99