Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/export-pkgbuild-keys.asciidoc
diff options
context:
space:
mode:
authorFelix Yan <felixonmars@archlinux.org>2022-02-18 13:35:43 +0000
committerLevente Polyak <anthraxx@archlinux.org>2022-06-09 00:56:41 +0200
commit0c61761f33b2cb7613720596ed9373ab0872df31 (patch)
tree75bc78fe3af5bf5ca3eee20d76a34daad1a45a63 /doc/export-pkgbuild-keys.asciidoc
parentc2f163b6408fb69c2b85da17d7656cd75ac5449d (diff)
mkarchroot: unshare mount namespace to avoid broken root chroot creation
While `extra-x86_64-build -c` is running `pacstrap` and has `/var/lib/archbuild/extra-x86_64/root/run` mounted, another user logs in, thus creating a new mountpoint `/run/user/$uid` that propagates into `/var/lib/archbuild/extra-x86_64/root/run/user/$uid` leading to a broken root chroot. Successive `extra-x86_64-build -c` calls will result in cleanup errors: ``` $ extra-x86_64-build -c ==> Creating chroot for [extra] (x86_64)... -> Deleting chroot copy 'root'... rm: skipping '/var/lib/archbuild/extra-x86_64/root/run', since it's on a different device rm: skipping '/var/lib/archbuild/extra-x86_64/root/run', since it's on a different device ==> ERROR: Working directory '/var/lib/archbuild/extra-x86_64/root' already exists ==> ERROR: Aborting... ``` Reported by and patch adjusted from archlinuxcn. Fixes FS#64698
Diffstat (limited to 'doc/export-pkgbuild-keys.asciidoc')
0 files changed, 0 insertions, 0 deletions