9 Star 0 Fork 14

src-openEuler / rpcbind

 / 详情

pwck检查有报错:user 'rpc': directory '/var/lib/rpcbind' does not exist

已验收
缺陷
创建于  
2023-09-11 16:30

【环境信息】

[root@openEuler ~]# cat /etc/openEuler-latest 
openeulerversion=openEuler-23.09
compiletime=2023-08-30-18-51-31
gccversion=12.3.1-9.oe2309
kernelversion=6.4.0-2.0.0.10.oe2309
openjdkversion=1.8.0.382.b05-3.oe2309
[root@openEuler ~]# 
[root@openEuler ~]# rpm -q rpcbind
rpcbind-1.2.6-7.oe2309.x86_64
[root@openEuler ~]# 
[root@openEuler ~]# rpm -q --scripts rpcbind | tail

if [ ! -d /var/lib/rpcbind ]
then
    mkdir /var/lib/rpcbind
    chown rpc:rpc /var/lib/rpcbind
    if [ -x /usr/sbin/restorecon ]
    then
        /usr/sbin/restorecon /var/lib/rpcbind
    fi
fi
[root@openEuler ~]# 

【问题复现步骤】,请描述具体的操作步骤
执行pwck

【实际结果】,请描述出问题的结果和影响

[root@openEuler ~]# rpm -q rpcbind
rpcbind-1.2.6-7.oe2309.x86_64
[root@openEuler ~]# ll /var/lib/rpcbind
ls: cannot access '/var/lib/rpcbind': No such file or directory
[root@openEuler ~]# pwck
user 'rpc': directory '/var/lib/rpcbind' does not exist
pwck: no changes
[root@openEuler ~]# 

预期没有rpc用户报错

评论 (2)

哦那真是一级棒 创建了缺陷

Hi oh_thats_great, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Networking, and any of the maintainers: @seuzw , @luzhihao , @kircher , @gebidelidaye , @Apricity , @robertxw , @孙苏皖

openeuler-ci-bot 添加了
 
sig/Networking
标签
孙苏皖 通过src-openeuler/rpcbind Pull Request !42任务状态待办的 修改为已完成
哦那真是一级棒 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/rpcbind.git
git@gitee.com:src-openeuler/rpcbind.git
src-openeuler
rpcbind
rpcbind

搜索帮助