Bug 191424
Summary: | Network should be brought up for %post scripts regardless of media | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Philip Prindeville <philipp> | ||||
Component: | anaconda | Assignee: | Chris Lumens <clumens> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5 | CC: | orion | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-05-16 17:15:50 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
Philip Prindeville
2006-05-11 20:18:59 UTC
Created attachment 129095 [details]
In-house script to create cups printers
A more concrete example of why this needs to be done is the following. I have a simple script (attached) which I like to call from %post processing when doing unattended local (re)images. The script looks something like: %post ... /mnt/source/inst-helper/mkprinter.pl <<__EOF__ officejet-6200-series:mail:officejet-6200-series:hpijs:HP:Officejet-6200:Room 101:no:yes ... __EOF__ ... which creates a bunch of printers using CUPS. The only problem is that the CUPS daemon listens on localhost:631 ... which isn't available unless: /etc/sysconfig/network-scripts/ifup lo gets done. So at the VERY least, lo needs to be up, running, and configured... even if no other interfaces are. Committed a potential fix. I will test it next time we build a new anaconda so the debug procedure for something on a CD is slightly less complicated. I just tried a PXE/NFS install from rawhide (20070111) and the loopback interface was not brought up. Do the real interfaces at least get brought up? Found where we're not bringing up loopback and fixed it. This should be better in the next build of anaconda, then. Back to MODIFIED. |