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

misleading warning about "Dynamic Users feature will be disabled in the upcoming releases." #859

Closed
Strubbl opened this issue Dec 22, 2024 · 2 comments

Comments

@Strubbl
Copy link

Strubbl commented Dec 22, 2024

Description:

I get the following warning which i do not understand when i call pikaur to update my system.

$ pikaur -Syu

warning:
  [build]DynamicUsers = root
Dynamic Users feature will be disabled in the upcoming releases.
Consider either calling Pikaur from your actual user account without `sudo`, or creating `pikaur` user and specifying its UserId in Pikaur config
and set DynamicUsers to `never`
…
$ type pikaur 
pikaur is hashed (/usr/bin/pikaur)
$ file /usr/bin/pikaur
/usr/bin/pikaur: Python script, ASCII text executable

I am calling this as user from my actual account without using sudo and also not as root. So i already do what the description of the warning suggests. Why does this warning not go away then?

@papodaca
Copy link

papodaca commented Dec 22, 2024

I was genuinely surprised that my config file specified root (~/.config/pikaur.conf). Correcting that to the "default" of "never" corrected the issue, I assume root was the default at sometime in the past?

[build]
dynamicusers = root

EDIT: I eventually ended up deleting that file entirely and letting pikaur generate a new one.

@Strubbl
Copy link
Author

Strubbl commented Dec 22, 2024

Correcting that to the "default" of "never" corrected the issue

Thank you. Yes, i can confirm.

I eventually ended up deleting that file entirely and letting pikaur generate a new one.

Good idea. I also never changed this config, so a fresh new default one might also be the best for me.

@Strubbl Strubbl closed this as completed Dec 22, 2024
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

2 participants