FS#56549 - [arch-install-scripts] arch-chroot and unpopulated /etc/passwd, /etc/group
Attached to Project:
Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Sunday, 03 December 2017, 08:50 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 03 December 2017, 18:50 GMT
Opened by Andreas Baumann (andreas_baumann) - Sunday, 03 December 2017, 08:50 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 03 December 2017, 18:50 GMT
|
Details
Commit 41b5633332a4980b6ac9a4c84d802d97799476ee of
filesystem removed
all but the root user in passwd,gpasswd,group,gpasswd. Now if entering the chroot with arch-chroot who takes care those files are properly populated? There are cases where it matters, for instance when building a package inside the chroot like util-linux a group tty must be present so the files are installed with proper ownership. |
This task depends upon
This ticket also just seems to be asking questions, do you have an actual problem?
pacman -Qo /usr/bin/arch-chroot
/usr/bin/arch-chroot is owned by arch-install-scripts 17-1
shell> arch-chroot /home/cross/i486-root/
chroot-shell> cat /etc/passwd
root:x:0:0::/root:/bin/bash
The problem is, I don't get the proper groups and accounts this
way.
devtools (and arch-nspawn is executing systemd-nspawn), then /etc/passwd
and friends get populated, right?