Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Various issues with OpenRC 0.46 (Read 529 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Various issues with OpenRC 0.46

Sorry for the generic title, but I'm not sure what the actual problem is, although it seems to be related to privilege acquisition. Example, this is what I get from NetworkManager:
Code: [Select]
Activated service 'fi.w1.wpa_supplicant1' failed: The permission of the setuid helper is not correct
Activated service 'org.freedesktop.nm_dispatcher' failed: The permission of the setuid helper is not correct
Other issues I have include not being able to su into another user and not being able to effectively start a working Xfce session from lightdm. OpenRC 0.45, which I reverted to for now, works OK. Any idea?

Re: Various issues with OpenRC 0.46

Reply #1
Check if /usr/lib/dbus-1.0/dbus-daemon-launch-helper is setuid with openrc-0.46 or not.

Re: Various issues with OpenRC 0.46

Reply #2
It is, nothing in openrc package touches it after all.

Re: Various issues with OpenRC 0.46

Reply #3
If you manually start the service using debug (rc-service --debug <service> start), it may spurt more information about what is exec'ed and how.

Re: Various issues with OpenRC 0.46

Reply #4
I thought about that, but as far as OpenRC is concerned NetworkManager starts fine, then later commands invoked by NetworkManager itself fail. The 2 lines in my first post are what gets sent to syslog.
Here's what OpenRC says btw: https://0x0.st/HXsm.log.

su, which is another thing that fails, prints this on stdout:
Code: [Select]
su: Authentication service cannot retrive authentication info
I don't know if it can be made more verbose.

Re: Various issues with OpenRC 0.46

Reply #5
Does your system have a root user? This error indicates either that or a problem with your account's entries in /etc/passwd and/or /etc/shadow.

Re: [SOLVED] Various issues with OpenRC 0.46

Reply #6
OK, I had a bit of free time to do a good old bisect, and this commit came out: https://github.com/OpenRC/openrc/commit/f60d42e9019cff6c641a93f4030c71a6efe5846c
It turned out I had a "nosuid" in my / line in /etc/fstab, who knows since when and who knows what I had in mind when I did it, but since previous to that commit / was never remounted by OpenRC, I never hit my head against this problem.

Thank you for your time.