Bug 129921
| Summary: | ifup can't find /tmp/tmp, causing empty resolv.conf | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Patrik Elmberg <patrik.elmberg> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 7.62-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-08-19 05:44:31 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 123268 | ||
I was having your same problem (the network init script doesn't work because it call ifup with the boot options) and I've corrected it in the same way. I was posting a new bug but I've found this. Fixed in 7.62-1, thanks! |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040809 Description of problem: For function set_hostname () in /etc/sysconfig/network-scripts/network-functions. rsctmp=`mktemp /tmp/XXXXXX`; - /bin/cp -fp /etc/resolv.conf /tmp/$rsctmp - echo "search $domain" >> /tmp/$rsctmp - change_resolv_conf /tmp/$rsctmp - /bin/rm -f /tmp/$rsctmp + /bin/cp -fp /etc/resolv.conf $rsctmp + echo "search $domain" >> $rsctmp + change_resolv_conf $rsctmp + /bin/rm -f $rsctmp NB! network-functions is a config file (rpm -qc initscripts), and is not updated with rpm -Uvh. Version-Release number of selected component (if applicable): initscripts-7.61.1-1 How reproducible: Always Steps to Reproduce: 1. service network restart 2. cat /etc/resolv.conf 3. Additional info: