GNOME Bugzilla – Bug 699906
Segfaults if it can't read /etc/machine-id, needs fallback for /var/lib/dbus/machine-id
Last modified: 2013-05-09 08:54:22 UTC
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707204 If NM can't read /etc/machine-id and has DHCPv6 enabled for the connection, it segfaults in nm_dhcp_dhclient_escape_duid (the referenced bug report has a complete backtrace) /etc/machine-id is only guaranteed to exist on systemd systems. NM should fallback to read /var/lib/dbus/machine-id, and handle the case if it can't read either of those two.
commit 0bf0ee7136dff2b9a6435221987f447e11eea285 Author: Dan Williams <dcbw@redhat.com> Date: Fri Mar 15 16:49:39 2013 -0500 dhcp: look harder for machine-id, and generate random DUID if it doesn't exist (bgo #696109) Not all systems have machine-id in /etc, some still have it in /var/lib/dbus/ especially if they aren't using systemd. Furthermore, if we don't have any machine-id file (like in the future, if we don't have a messaebus daemon running) fall back to a random DUID as a last resort. (in git master) Please reopen if this doesn't help.