Re: NetworkManager-list Digest, Vol 49, Issue 2



Message: 5
Date: Wed, 1 Oct 2008 23:58:22 +0200
From: Alexander Sack<asac jwsdot com>
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: networkmanager-list gnome org
Message-ID:<20081001215822 GC26713 jwsdot com>
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/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]