Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pikaur -Quq - error: Either SystemD Dynamic Users must be enabled or User ID should be set if running as root. #871

Open
tachtler opened this issue Feb 13, 2025 · 0 comments

Comments

@tachtler
Copy link

tachtler commented Feb 13, 2025

Hello,

our absolute favorite tool as AUR-Helper is pikaur - thank you very much for that.

We have been using pikaur under the root user up to now - and have therefore configured the following configuration parameters in /root/.config/pikaur.conf differently from the standard:

# First is standard
dynamicusers = never
# Changed parameters
cachepath = /var/cache/pikaur/.cache
datapath = /var/cache/pikaur/.local/share
userid = 65534

With this configuration, the command

# pikaur -Syyu 

is no problem at all.

However, the following command throws the following error message:

# pikaur -Quq
error: Either SystemD Dynamic Users must be enabled or User ID should be set if running as root.

How can we prevent this without, for example, running pikaur as the respective user? We would like to continue using pikaur as the root user, as our users only have a minimal amount of disk space in their respective HOME directories and each of us should be able to use pikaur and also the disk space that we have set aside for it under /var/cache/.

Many thanks in advance.
Klaus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant