Bug 1056546 - lxc-fedora template doesn't fill lxc.network.hwaddr
Summary: lxc-fedora template doesn't fill lxc.network.hwaddr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lxc
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-22 12:44 UTC by Enrique
Modified: 2014-09-02 06:46 UTC (History)
4 users (show)

Fixed In Version: lxc-1.0.5-3.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-02 03:54:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to add network device hardware address (591 bytes, patch)
2014-01-22 12:44 UTC, Enrique
no flags Details | Diff

Description Enrique 2014-01-22 12:44:20 UTC
Created attachment 853855 [details]
Patch to add network device hardware address

Description of problem:

 The lxc-fedora template does not generate a network hardware address. This has the inconvenient that each time the container is rebooted the DHCP server assigns a different IP address.
 I include a patch that fixes the issue (copying some code from the lxc-ubuntu template)

Version-Release number of selected component (if applicable):
lxc-templates-0.9.0-2.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Just create a new container  "lxc-create -t fedora -n test -- -R 20"
2. Check that /var/lib/lxc/test/config does not contain a lxc.network.hwaddr entry.

Comment 1 Michael H. Warfield 2014-06-04 18:57:29 UTC
This is fixed in upsteam code and templates.

Comment 2 Fedora Update System 2014-08-08 10:26:23 UTC
lxc-1.0.5-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/lxc-1.0.5-2.el6

Comment 3 Fedora Update System 2014-08-08 10:26:40 UTC
lxc-1.0.5-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/lxc-1.0.5-2.fc19

Comment 4 Fedora Update System 2014-08-08 10:26:56 UTC
lxc-1.0.5-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/lxc-1.0.5-2.fc20

Comment 5 Fedora Update System 2014-08-09 00:07:47 UTC
Package lxc-1.0.5-2.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing lxc-1.0.5-2.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2167/lxc-1.0.5-2.el6
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-09-02 03:54:37 UTC
lxc-1.0.5-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-09-02 06:40:17 UTC
lxc-1.0.5-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-09-02 06:46:35 UTC
lxc-1.0.5-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.