I am filing a new bug report to keep this issue clean and simple. I will update the other one.
[PROBLEM:] After a reboot, 40% of the times, the D-Bus will fail like so:
Jun 20 09:28:35 ns1 networkd-dispatcher: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Jun 20 09:28:35 ns1 systemd: networkd-dispatcher.service: Main process exited, code=exited, status=1/FAILURE Jun 20 09:28:35 ns1 systemd: networkd-dispatcher.service: Failed with result 'exit-code'. Jun 20 09:28:35 ns1 systemd: Failed to start Dispatcher daemon for systemd-networkd.
Contrast this with the times it succeeds:
Jun 20 09:30:16 ns1 networkd-dispatcher: No valid path found for iwconfig Jun 20 09:30:16 ns1 networkd-dispatcher: No valid path found for iw Jun 20 09:30:16 ns1 networkd-dispatcher: WARNING: systemd-networkd is not running, output will be incomplete. Jun 20 09:30:16 ns1 systemd: Started Dispatcher daemon for systemd-networkd. Jun 20 09:30:16 ns1 systemd: Started firewalld - dynamic firewall daemon.
[BACKGROUND] 'Networkd-dispatcher is a dispatcher daemon for systemd-networkd connection status changes.... The daemon listens for signals from systemd-networkd over dbus'
[THEORY] So DBus does not start and networkd-dispatcher.service depends on it to service signals... When 'Failed to start Dispatcher daemon for systemd-networkd.', firewalld croaks and maybe other things I guess.
[ACTION] I have noticed a pattern that happens when this failure occurs. I have attached 2 files... The first with a successful reboot and the second with a failed reboot. I have included only messages from 'Started Message of the Day' to the problem area to keep it on target.
Hope this helps towards a solution.
[UPDATE:] I have run countless reboots using a virgin droplet 2CPU 4GB. Installed only Virtualmin with clamd disabled and clamscan enabled. 3/10 times, I get a dbus error.
The results are inside the attached syslog-vanilla-virtualmin-2cpu4gb.zip_.txt file. Are you also finding this to be an issue in your installations with Ubuntu? If so, then this makes the default Virtualmin istallation quite unstable and unfit for production.
This is quite serious in my opinion. Your input is of great significance. Eagerly awaiting your responce.