The biggest problem with that is that patching existing boot scripts is always 
going to vary from distro to distro and is always going to have problems when 
dealing with files that were already edited for site-specific reasons.

Ipoib is a good example of this, I frequently see failures trying to install 
the ipoib rpm because it failed to successfully patch the ifup- scripts. I'd 
rather not add another such dependency.

For example, there are is /etc/dhcp/dhclient-enter-hooks.d in SLES11 or on 
Redhat 6 - redhat 6 uses different files for different hooks and uses a single 
file (which does not exist by default) called /etc/dhcp/dhclient-enter-hook, 
but SLES11 uses a single script for all dhcp hooks called /etc/dhcpcd.sh.

Trying to create a single RPM capable of hacking into a wide variety of 
different dhcp mechanisms could be a huge headache.  Using something that 
relies on the openibd script and a kernel-expansion of the hostname is much 
less prone to problems.

-----Original Message-----
From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com]
Sent: Saturday, February 19, 2011 2:25 PM
To: Roland Dreier
Cc: Mike Heinz; linux-rdma@vger.kernel.org
Subject: Re: [PATCH 0/2] Improved node descriptions

If the main concern is DHCP what is the problem with using
/etc/dhcp/dhclient-enter-hooks.d/ or alike?

Jason


This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to