Hello, When trying to start the UPower service, either automatically at boot, or manually via systemctl, I get the errors: upower.service: Failed to set up user namespacing: Invalid argument upower.service: Failed at step USER spawning /usr/lib/upower/upowerd: Invalid argument
After googling the errors, I found that the errors are caused by not activating CONFIG_USER_NS in the kernel. However, this is not the case for me as I added both CONFIG_NAMESPACES and CONFIG_USER_NS in the kernel before building UPower. I tried rebuilding UPower, rebuilding systemd and adding MEMCG to the kernel, as suggested in the CONFIG_USER_NS help page, but none worked. A fix that I found is commenting the following lines from the /lib/systemd/system/upower.service file. # Namespaces PrivateUsers=yes RestrictNamespaces=yes Can you, please, help me fix the problem or is the fix that I found alright, meaning I won't have problems later because of the modification? I used all the versions in the LFS 10.0-systemd and BLFS 10.0, the single difference being that I used kernel 5.9.11, as the book said we could use the latest one available. Thank you very much, David.
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
