-
Notifications
You must be signed in to change notification settings - Fork 67
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
systemctl --system list-unit-files Connection timed out #263
Comments
It's not clear to me what you have in mind with:
I don't see any obvious leads from the provided logs. From That having been said, the fact this issue occurs in a hijacked Fedora but not native Fedora does seem to indicate Bedrock is likely a factor, just in a way that's not less obvious. I'll try to reproduce the issue when I have a moment. |
Thanks for the quick reply
Sorry, what I meant to say was that I had a suspicion that this may be related to bedrock, due to the way it mounts its cross directories between stratas and considering that a non hijacked Fedora doesn't exhibit this issue. However, some evidence that may indicate this is indeed related to bedrock, is that during the execution of While the command was running: I wonder if there is some way to increase the timeout for the systemd dbus connection to see if the command would complete after some time? This seems to be the code that fails in systemctl: |
You're welcome :)
Gotcha, makes sense.
Very interesting finding. Some options we could pursue here:
If the issue is just that
I don't know systemd very deeply, but if that's an option we can leverage that'd be great! Footnotes
|
Thanks for the debug instructions.
From what I could understand from |
Thanks for gathering those logs! This does look like we found it:
The cause for the discrepancy there isn't obvious to me, but either way - tens of thousands or hundreds of thousands - that's a lot more than Bedrock's
However, it will certainly add up over tens or hundreds of thousands of calls to something noticeable. As a hack, try running:
This will bypass etcfs for specifically Fedora's instance of the Even if this works for you here and now, I'm not sure this will be viable for Bedrock as a general long term solution. I eventually want Bedrock to support cross-stratum services, i.e. one stratum's service manager (e.g. systemd) should be able to manage another's services. Making it so installing and enabling a runit service in a Void stratum automatically makes it accessible to and enables it with a running systemd may require FUSE magic to make it appear in I'm inclined to bring this to the systemd folks. While I haven't had the chance to try it yet, based on your findings I suspect |
Hello,
Currently, I am running a hijacked Fedora 36 with an arch strata, and I am experiencing the following issue:
$> systemctl --system list-unit-files Failed to list unit files: Connection timed out
I first observed this when attempting to use the following Gnome extension:
https://github.com/hardpixel/systemd-manager
Which internally makes a call to systemctl:
https://github.com/hardpixel/systemd-manager/blob/38fa5702c5bb248f663416ee28e8bba8d7632c63/systemd-manager%40hardpixel.eu/utils.js#L34-L44
The extension was misbehaving due to this command failing to execute
As far as I could investigate, this seems to be a problem with the way bedrock mounts its cross directories, but I may be wrong, as this is my first time using this distro and this is beyond my knowledge on how it internally sets up its environment. However, running the command in a normal Fedora 35 and another Arch deploys, it executes correctly.
brl report
output:brl-report-log.txt
strace -vvv systemctl --system list-unit-files
output:strace.txt
The text was updated successfully, but these errors were encountered: