Bug 9264 - [Bugfix] Bug fix for su user in chroot env
Summary: [Bugfix] Bug fix for su user in chroot env
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.1
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-31 11:17 UTC by yAn1hCDc
Modified: 2024-06-13 09:12 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 yAn1hCDc 2024-05-31 11:17:17 UTC
Description of problem:
Can not su to common user in temporary rootfs which create by an23 repo.


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


How reproducible:


Steps to Reproduce:
1.create yum repo with baseurl=https://mirrors.openanolis.cn/anolis/23/os/x86_64/os/
2.use that yum repo to install authselect in a temp dir with --buildroot param
3.chroot to that temp dir and add an user 
4.su this user

Actual results:
su: cannot open session: Permission denied


Expected results:
su command execute successful


Additional info:
Comment 1 yAn1hCDc 2024-06-13 09:12:55 UTC
已合入。