Hi,
I realized issue with IPv6 after OMV 7 fresh install (Openmediavault_7.0-32-amd64.iso).
I booted up the installation ISO with parameters "biosdevname=0 net.ifnames=0 ipv6.disable=1" and successfully installed the OMV7. Right after the installation, the webGUI was unreachable and after a bit of investigation I found that nginx does not start.
Problem is that nginx configuration file is "generated" with IPv6 (which is completely disabled on boot by ipv6.disable=1.):
/etc/nginx/sites-available/openmediavault-webgui
Zitatlisten [::]:80 default_server;
It can be easily fixed by deleting that line from nginx's configuration file but I think there is some race condition in first-run scripts and therefor IPv6 detection does not work correctly.
Right after the first boot I can see message (see attachment) on the console for ~5seconds from (/target)/etc/issue with "unconfigured interfaces": (message and IP addresses are always the same, I tried fresh install multiple times):
ZitatAlles anzeigen...
To manage the system visit the openmediavault workbench:
enp5s0: 192.168.178.16
enp5s0: fe80::d99e:....
virbr0: 192.168.122.1
By default the workbench administrator account has the
...
Then (after ~5seconds) console get refreshed and correct interfaces configuration appears, so it makes me thing first-run script (including IPv6 detection) run before the system is completely configured and therefor all daemons gets (mis)configured with IPv6:
journalctl | grep -i "Address family not supported"
ZitatAlles anzeigenMar 04 14:22:30 omv avahi-daemon[589]: socket() failed: Address family not supported by protocol
Mar 04 14:22:30 omv avahi-daemon[589]: socket() failed: Address family not supported by protocol
Mar 04 14:24:30 omv nginx[733]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 04 14:25:00 omv nginx[1779]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 04 14:26:01 omv nginx[1785]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 04 14:27:01 omv nginx[1788]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 04 14:27:31 omv postfix[1828]: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:27:32 omv postfix/postsuper[2167]: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:27:32 omv anacron[2179]: sendmail: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:27:32 omv postfix/sendmail[2179]: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:27:32 omv anacron[2181]: postdrop: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:27:32 omv postfix/postdrop[2181]: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:28:01 omv nginx[2184]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 04 14:28:33 omv nginx[2189]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Mar 04 14:52:10 omv postfix/sendmail[4023]: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:52:10 omv postfix/postdrop[4025]: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:52:10 omv cron[4029]: sendmail: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:52:10 omv postfix/sendmail[4029]: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:52:10 omv cron[4031]: postdrop: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
Mar 04 14:52:10 omv postfix/postdrop[4031]: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
I can fix it myself, just want to let you know, what I have discovered.
Cheers and thank you for your hard work