From 099511318971380b9fcd03c728e77d8a08d445bd Mon Sep 17 00:00:00 2001 From: nl6720 Date: Fri, 22 Nov 2024 12:20:15 +0200 Subject: [PATCH] Remove DownloadUser from pacman.conf `DownloadUser = alpm` does not appear to be suitable for mkarchiso use since there is no guarantee that `alpm` user has access to the working directory. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/232 Fixes: 691c57fc2e6345d0a2fbfffd7b6689b14bb87f7b ("Update pacman.conf for pacman 7") --- CHANGELOG.rst | 3 +++ configs/baseline/pacman.conf | 2 +- configs/releng/pacman.conf | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 392c04d..2fd7016 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -17,6 +17,9 @@ Deprecated Fixed ----- +- Commented out ``DownloadUser`` in ``pacman.conf`` so that the working directory is not restricted to paths to which + the ``alpm`` user has access to. + Removed ------- diff --git a/configs/baseline/pacman.conf b/configs/baseline/pacman.conf index 5abd8bb..e7e6497 100644 --- a/configs/baseline/pacman.conf +++ b/configs/baseline/pacman.conf @@ -36,7 +36,7 @@ Architecture = auto #CheckSpace #VerbosePkgLists ParallelDownloads = 5 -DownloadUser = alpm +#DownloadUser = alpm #DisableSandbox # By default, pacman accepts packages signed by keys that its local keyring diff --git a/configs/releng/pacman.conf b/configs/releng/pacman.conf index 5abd8bb..e7e6497 100644 --- a/configs/releng/pacman.conf +++ b/configs/releng/pacman.conf @@ -36,7 +36,7 @@ Architecture = auto #CheckSpace #VerbosePkgLists ParallelDownloads = 5 -DownloadUser = alpm +#DownloadUser = alpm #DisableSandbox # By default, pacman accepts packages signed by keys that its local keyring