Closed Coacher closed 7 years ago
I suggest to use either user-specific subdirectory in run, e.g. /run/user/<UID>
, or /tmp
.
It is not a fallback value issue at all. It is the way I detect system-wide mode. I made it this way so system-wide clients are auto-detected, and both client and server detect it the same way. I do not see a nicer way to auto-detect system-wide mode on the client side.
I pushed a series that should fix it: 4f98f44fcfb54c2933d61e3d3262b494f131d56e...ddec4fe347aa2eb53048aae4907f7d6459d4e021
These changes fixed the problem for me: I can now start eventd via eventdctl start
as user and d-bus activation also works.
Thank you very much!
Hello.
Spec on XDG_RUNTIME_DIR says:
FHS spec on
/run
says:eventd falls back to
/run/eventd
directory when XDG_RUNTIME_DIR isn't set. Because/run
mustn't be writable by regular users, this attempt fails, e.g:This problem prevents d-bus activation from happening when XDG_RUNTIME_DIR is not set.
Please fix.