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
Starting dbus-based user-service fails with a timeout #4555
Comments
Hmm, so how does your gvfs-daemon.service look like? And who provides it? And what does gvfs-daemon hang in if it hangs? I am not entirely sure what we can do from the systemd side about htis... |
Thank you for your quick feedback. Here's the unit file, it is shipped with the arch linux "gvfs" package.
When I run
I think the problem behind this is that systemd is not connected to the session bus, as indicated by |
Looks like this is happening on Debian as well |
The debian issue seems related to me, but I am able to use applications after their dependencies timed out. For example, starting zathura (a pdf reader) works, but takes a very long time. Besides application startup, opening a file chooser dialog is significantly delayed, too. |
As mentioned on IRC, this isn't a bug. The user had a drop-in for user@.service which perturbed DBUS_SESSION_BUS_ADDRESS, causing systemd to never connect to the user bus. |
Submission type
NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!
systemd version the issue has been seen with
Used distribution
In case of bug report: Expected behaviour you didn't see
In case of bug report: Unexpected behaviour you saw
In case of bug report: Steps to reproduce the problem
This problem seems hard to reproduce. It has been reported on the unix stackexchange[1] before I encountered it, but that's about it.
When I run
dbus-monitor
duringsystemctl --user start gvfs-daemon
on a system that is not affected by this bug, the first entry isThis entry is missing on the system that has this issue.
Update: systemd is not connected to the session bus. Running
busctl --user | grep systemd1
shows the following line:Any help on how to debug this further would be appreciated.
See my downstream issue[2] for more details.
[1] https://unix.stackexchange.com/questions/308036/why-does-gvfs-with-systemd-dbus-timeout
[2] https://bugs.archlinux.org/task/50871
The text was updated successfully, but these errors were encountered: