13 Star 9 Fork 91

src-openEuler / systemd

 / 详情

普通用户ssh登录创建tmp文件后,始终可以查询到/run/user/[普通用户id]的挂载信息

已验收
缺陷
创建于  
2023-09-12 11:21

【环境信息】
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 5echo 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] 挂载信息
预期该挂载信息会被删除。

评论 (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: Base-service, and any of the maintainers: @Monday , @syyhao , @谢志鹏 , @zhujianwei001 , @hexiaowen , @licunlong , @const , @xujing , @chenjiayi , @陈棋德

openeuler-ci-bot 添加了
 
sig/Base-service
标签
zhaotianyang 负责人设置为hongjinghao
const 通过src-openeuler/systemd Pull Request !441任务状态待办的 修改为已完成
哦那真是一级棒 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助