【环境信息】
oe 23.09 0830
【问题复现步骤】,请描述具体的操作步骤
1、创建2个普通用户user1和user2
2、yum install -y systemd-pam
3、declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/0/bus"
4、declare -x XDG_RUNTIME_DIR="/run/user/0"
5、分别以user1和user2登录环境,分别后台执行echo MountFlagstest > /tmp/mountflagstest_log1;sleep 5
和echo MountFlagstest > /tmp/mountflagstest_log2;sleep 5
命令
6、前台等待/tmp/mountflagstest_log1和/tmp/mountflagstest_log2文件生成
7、循环df -lh查询/run/user/[user1的用户id]
【实际结果】,请描述出问题的结果和影响
第7步循环查询时,始终可以查询到/run/user/[user1的用户id] 挂载信息
预期该挂载信息会被删除。
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: Base-service, and any of the maintainers: @Monday , @syyhao , @谢志鹏 , @zhujianwei001 , @hexiaowen , @licunlong , @const , @xujing , @chenjiayi , @陈棋德
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
已验证成功
登录 后才可以发表评论