GNOME Bugzilla – Bug 669148
ifnet: read_hostname fails to correctly unquote hostname value
Last modified: 2012-02-13 10:09:37 UTC
Gentoo's /etc/conf.d/hostname is a shell script, and hostname is a shell variable. Its value needs to be properly unquoted with g_shell_unquote(). Otherwise, for example, hostname='localhost' results in networkmanager setting the hostname to "'localhost'" (with single quotes included).
Created attachment 206557 [details] [review] proposed patch
Pushed as fe29aa967c7033029916adaedd6279a42c618de4 Thanks!