Message: 5 Date: Wed, 1 Oct 2008 23:58:22 +0200 From: Alexander Sack<[EMAIL PROTECTED]> Subject: [PATCH] hostname support for ifupdown plugin + allow read-only hostname system provider + move nm_inotify_helper to plugin independent place (system-settings/src/) To: [email protected] Message-ID:<[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii"Implement system hostname support for debian/ubuntu Fix "only system-setting plugins with NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME are considered a valid hostname provider" Make nm-inotify-helper from ifcfg-fedora plugin usable for other plugins too
Is any of that really necessary? Any tool that rewrites /etc/hostname is also going to already call sethostname(); shouldn't you only need to call gethostname() to get NM in sync? Why go thru the hassle of opening and reading a file and calling sethostname() to tell the kernel what it already knows?
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
