Bug 23460
Summary: | enhance pump for initrd use | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David L. Parsley <parsley> | ||||
Component: | pump | Assignee: | Elliot Lee <sopwith> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | Keywords: | FutureFeature | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
URL: | http://linuxjedi.org/stuff/pump-0.8.6.diff | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-08-08 15:30:58 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
David L. Parsley
2001-01-06 02:01:32 UTC
Created attachment 7123 [details]
patch adding --suspend, --resume and --statefile (filename)
Thanks for the patch. Can you explain why this feature is needed? It sounds like some complication for possibly no gain. Apologies for the unresponsiveness of the previous pump packager... Note: I don't think pump is the primary DHCP client for RH these days, but I'll explain anyway ;-) (and, I think it may still be a useful patch) This patch is to speed up and improve network-booting diskless clients: 1)etherboot/PXE does DHCP and gets kernel+ramdisk 2)ramdisk does DHCP again to get info it needs (and configure the network, of course) 3)ramdisk does some work to create the 'real' root filesystem, but needs to pivot_root to get there -since pump is running in the first ramdisk, I have to kill it if I want to free the old ramdisk 5)with my patch, I just tell pump to exit, but not down the interface or contact the dhcp server; otherwise I kill pump the old way 6)pivot_root, freeramdisk 7)with my patch, I just tell pump to restart and get it's state from the file saved in the new root, without contacting the dhcp server; otherwise I run pump as normal again, for the 3rd dhcp request So this just gave the cleanest/fastest behavior for my diskless boxes. As you noted, this patch is pretty old - I'm using dhcpcd now, because it actually writes out a file with the data from dhcp, and my ramdisk uses that info. Feel free to ditch this - but now you know why I did it. ;-) Sheesh, I took a look at the latest kernel. I guess Linus changed his mind. ;-) Like you noted, pump is no longer the dhcp client for RHL in rawhide... |