FS#63643 - [devtools] mkarchroot fail to umount <chroot>/dev

Attached to Project: Arch Linux
Opened by DriverXX (DriverXX) - Tuesday, 03 September 2019, 19:40 GMT
Last edited by freswa (frederik) - Wednesday, 12 February 2020, 11:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

With the new version of devtools, mkarchroot fail to unmount the /dev created inside the chroot
and this causes the 'locale-gen' called by mkarchroot to fail.

The problem is caused by this patch: https://git.archlinux.org/devtools.git/commit/?id=c2bbcbed64e70b1e92c697be2f17a050a8341f87
which create a valid /etc/pacman.d/gnupg/ and causes a gpg-agent to start and hold resources that prevents the unmount.


Additional info:
* version 20190821

Steps to reproduce:

call `mkarchroot /var/lib/archroot/root base-devel`

output:

umount: /var/lib/archroot/root/dev: target is busy.
/var/lib/archroot/root/dev is pre-mounted and pre-populated. If a pre-mounted /dev is provided it needs to be an unpopulated file system.
mknod(/var/lib/archroot/root/dev/null) failed: File exists


This task depends upon

Closed by  freswa (frederik)
Wednesday, 12 February 2020, 11:54 GMT
Reason for closing:  Won't fix
Additional comments about closing:  The reporter noticed that this happens only if he installs a personal keyring package, made in the exact same way as the archlinux-keyring package.

Loading...