Looks like I might have been hit by https://github.com/avahi/nss-mdns/issues/75 which is fixed by https://github.com/avahi/nss-mdns/pull/84, which is carried by the Fedora package.. RPi is unaffected because it does not use systemd-resolved at all.
Posts by belegdol
-
-
I got it working by following https://wiki.archlinux.org/tit…nts_nss-mdns_from_working
Looks like OMV using mdns for .local hostname resolution needs some extra steps.
-
Something must be misconfigured with mine then. It is not the systemd-resolved version, as downgrading it to 252.22-1~deb12u1 did not help. Searching further.
-
jata1, it looks like router setting the domain to fritz.box cannot be disabled.
In the meantime, I have checked what my rpi running Raspbian 11 is doing. It can too resolve mDNS names, which makes router causing trouble increasingly unlikely, given that 3 devices can work with .local hostnames and one cannot. But then Raspbian 11 does not use systemd-resolved.
I will try downgrading systemd-resolved to see if it helps.
-
This fritz.box domain name could indeed be the culprit. Unfortunately, there seems to be no way of turning this off. Here is the nmap output from the laptop:
Code$ nmap -sP 192.168.0.0/24 Starting Nmap 7.92 ( https://nmap.org ) at 2024-11-29 21:52 CET Nmap scan report for fritz.box (192.168.0.1) Host is up (0.0041s latency). Nmap scan report for odroidxu4.fritz.box (192.168.0.14) Host is up (0.0033s latency). Nmap scan report for snowball3.fritz.box (192.168.0.21) Host is up (0.00072s latency). Nmap scan report for raspberrypi.fritz.box (192.168.0.245) Host is up (0.0078s latency).
This is from the desktop:
Code$ nmap -sP 192.168.0.0/24 Starting Nmap 7.92 ( https://nmap.org ) at 2024-11-29 21:55 CET Nmap scan report for fritz.box (192.168.0.1) Host is up (0.00039s latency). Nmap scan report for odroidxu4.fritz.box (192.168.0.14) Host is up (0.0019s latency). Nmap scan report for napoleon2.fritz.box (192.168.0.68) Host is up (0.00018s latency). Nmap scan report for raspberrypi.fritz.box (192.168.0.245) Host is up (0.0024s latency).
And this is from the NAS:
Code$ nmap -sP 192.168.0.0/24 Starting Nmap 7.93 ( https://nmap.org ) at 2024-11-29 21:55 CET Nmap scan report for fritz.box (192.168.0.1) Host is up (0.0016s latency). Nmap scan report for odroidxu4.fritz.box (192.168.0.14) Host is up (0.00030s latency). Nmap scan report for raspberrypi.fritz.box (192.168.0.245) Host is up (0.0011s latency).
So it looks like Fedora systems can understand that foo.local is the same as foo.fritz.box and still resolve it, but OMV cannot. /etc/nssswitch.conf files differ somewhat. Fedora:
Code
Display More# Generated by authselect # Do not modify this file manually, use authselect instead. Any user changes will be overwritten. # You can stop authselect from managing your configuration by calling 'authselect opt-out'. # See authselect(8) for more details. # In order of likelihood of use to accelerate lookup. passwd: files sss systemd shadow: files group: files [SUCCESS=merge] sss [SUCCESS=merge] systemd hosts: files myhostname mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns services: files sss netgroup: files sss automount: files sss aliases: files ethers: files gshadow: files networks: files dns protocols: files publickey: files rpc: files
OMV:
Code
Display More# /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat systemd group: compat systemd shadow: compat gshadow: files hosts: files mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns myhostname networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
-
Doesn't look like it has helped. I ran the command above, rebooted the NAS and it still cannot resolve the .local mDNS names. Strangely enough, my Android phone, my laptop and my desktop (latter two running Fedora 41) can all resolve mDNS names, including the one of the NAS. What I have noticed, however, is that when I ping odroidxu4.local from my laptop, the hostname being shown is odroidxu4.fritz.box. I have switched ISPs recently and now have to use fritzbox as a router. Could it be that it's builtin DNS server interferes with mDNS, and Fedora can deal with it whereas Debian cannot?
-
Hello,
I have recently realised that mDNS resolution is no longer working on my NAS. As a result, the scheduled print job I have set up to keep my printer from drying out can no longer find the printer. I am not sure if the error comes from debian, armbian or omv. In this time debian 12.8 update landed. `avahi-browse` finds the machines, but `ping` or `ssh` do not. I tried running `omv-firstaid`and reconfiguring the network but it did not help either. Here is the output of `resolvectl status`:
Code
Display More$ resolvectl status Global Protocols: +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported resolv.conf mode: stub Link 4 (enx001e06326076) Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6 Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported Current DNS Server: 192.168.0.1 DNS Servers: 192.168.0.1 ipv6address1 ipv6address2 DNS Domain: fritz.box Link 5 (docker0) Current Scopes: none Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported Link 6 (br-537006fbc08c) Current Scopes: LLMNR/IPv4 LLMNR/IPv6 Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported Link 14 (veth8516924) Current Scopes: LLMNR/IPv6 Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported Link 16 (veth766b7b7) Current Scopes: LLMNR/IPv6 Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
And here is nssswitch.conf:
Code
Display More$ cat /etc/nsswitch.conf # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat systemd group: compat systemd shadow: compat gshadow: files hosts: files mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns myhostname networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
Allegedly libnss-mdsn and systemd-resolved can interact in mysterious ways but I am not sure where to look next. Any help is appreciated.
-
This helped me too - I discovered the slowness when iperf3 was capping out at around 200 Mbit/s.
-
Hi,
can I delete /etc/cron.daily/openmediavault-cron-apt? In Sandworm cron-apt is supposed to be replaced by apticron so this looks like a leftover from an upgrade. Thanks!
-
Hello,
I am wondering how to set up my OMV to play music via a DAC connected to USB port on the NAS - youtube music in particular. I have now managed to get it working via mpv by running `nohup mpv foo &` and disconnecting, but this leaves me with no control over the player. Is there a cleaner way which is also not overly complicated? Something like a web UI to the music player? Thanks!
-
This helped, thanks!
-
I got an email from apticron already. Additionally, I believe I already tried clicking it and nothing changed. Now the update has been installed by omv-upgrade so next one is needed to verify.
Looks like I am not the only one affected: Apticron mail, but no updates visible in the gui
-
Aren't there any logs one could check? Trying random things to see if they help feels like using Windows or Mac, not a Linux-based NAS.
Not to mention OMV6 used to show updates without the need of clicking anything.
-
I know there is nothing to upgrade because I installed updates manually. How about now: opennmediavault update is there instead of being shown.
-
Code
Display More$ sudo omv-upgrade Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Hit:6 http://packages.openmediavault.org/public sandworm InRelease Hit:8 http://httpredir.debian.org/debian bookworm InRelease Hit:9 http://httpredir.debian.org/debian bookworm-updates InRelease Hit:10 https://download.docker.com/linux/debian bookworm InRelease Hit:11 https://openmediavault-plugin-developers.github.io/packages/debian sandworm InRelease Hit:7 https://openmediavault.github.io/packages sandworm InRelease Hit:12 http://fi.mirror.armbian.de/apt bookworm InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I have now installed the updates using `apt upgrade`. But this is hardly a working long-term solution.
-
Hi,
since I updated to OMV 7.0 I can see no updates in the web UI. I would get an email from apticron but if I log in to control panel to install them, there are no updates listed.
-
Create a new user and add him to that group.
Try to login via ssh with it.
Go to your own user again, remove him from the group, save and re-add him again.
See if it works.
Thanks for the tip, but I decided to take a more directed approach. Inspecting the journal revealed the following:
QuoteMar 05 14:12:10 sshd[6543]: User xxx from 192.168.0.180 not allowed because none of user's groups are listed in AllowGroups.
It turns out /etc/ssh/sshd_config still had ssh in it, not _ssh. I changed it to _ssh and now I am able to log in again. Shouldn't omv-release-upgrade have taken care of that? Or was it scheduled to be fixed, but after the step that failed due to checksum mismatches?
-
Home directory is not enabled, but it was not necessary before - the user's home is located in /home.
-
-