-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Avahi issues with 16.09 #19034
Comments
@bjornfor I saw that in the past you also had an issue with Avahi. Do you have an idea what's going on? |
If you only want mDNS, systemd-resolved may be an option for you..
I don't get the dbus error you are seeing, but I didn't check with your specific commit. Eventually our avahi module should be updated to behave more like the upstream service (for example socket activation, should also fix your permission error)... |
(on mobile) My problem was that the NixOS module changed some default values, which caused my availability to stop publishing address/hostname. This is my current config (works on Nixos 16.09):
Don't know anything about the dbus warning / issue. |
This is odd. Just now after I booted my machine again, I tried a rebuild and it worked. I guess there was some state after I did some upgrades that messed it up. |
Thanks for the feedback, I was about to have a closer look at it but now it just works... |
@groxxda actually, what I just want is my machines to find each other so I can ssh to them. |
I just got bitten by the same bug. I enabled avahi and nssmdns, and avahi-daemon.service fails. A reboot made it work properly. So apparently, nixos-rebuild switch is not good enough here... What could possibly be the cause for this ? I got the same error messages, and the two following lines are bothersome:
Not sure if this can be considered as fixed :-). |
I have tested, the same issue arises with disnix for example. It is caused by dbus not being restarted, but only reloaded, which obviously does not reload the new config file. Now this decision was taken by (@)edolstra in 1c39a47. Apparently restarting dbus was not a good solution either. I wonder if it would be possible to reload dbus with the new config files by putting the config files behind a symlink, possibly managed by systemd too. That way we could reload dbus and ensure that it takes the new config files into account. |
NixOps requires a Does this overall issue impact or speed up kdbus adoption? |
@tomberek kdbus will be probably superseded by http://www.bus1.org/ at some point. |
Issue description
I would like my systems to find each other, and therefore I want to enable Avahi.
I began with
A rebuild results in
For some reason it fails, but wait, there is a warning. Maybe that makes a difference. Let's enable the option
nssmdns
, soNow I get
Why is it not allowed to?
Technical details
The text was updated successfully, but these errors were encountered: