Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 173761 Details for
Bug 256681
localhost entry required in /etc/hosts
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to create /etc/hosts with a localhost entry.
mock-0.7.2-hosts.patch (text/plain), 614 bytes, created by
BJ Dierkes
on 2007-08-27 15:13:36 UTC
(
hide
)
Description:
Patch to create /etc/hosts with a localhost entry.
Filename:
MIME Type:
Creator:
BJ Dierkes
Created:
2007-08-27 15:13:36 UTC
Size:
614 bytes
patch
obsolete
>--- mock-0.7.2/mock.py.hosts 2007-06-19 15:56:28.000000000 -0500 >+++ mock-0.7.2/mock.py 2007-08-24 23:41:31.000000000 -0500 >@@ -735,6 +735,12 @@ > fo.write(filedict[key]) > fo.close() > >+ # need to add an entry for localhost >+ f = os.path.join(self.rootdir, 'etc/hosts') >+ fo = open(f, 'w+') >+ fo.write('127.0.0.1 localhost') >+ fo.close >+ > def _make_our_user(self): > if not os.path.exists(os.path.join(self.rootdir, >'usr/sbin/useradd')): > raise RootError, "Could not find useradd in chroot, maybe the >install failed?"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256681
: 173761