Red Hat Bugzilla – Bug 698738
ifup doesn't assign address specified with IPADDR0
Last modified: 2014-03-16 23:27:22 EDT
Created attachment 493918 [details]
really accept IPADDR0 in ifcfg file
Description of problem:
When I give static address to eth1 via NM,
switch NM off and try to use network service
I end up with no address assigned to eth1.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure eth1 with NetworkManager to statically assign IP address/prefix
2. Check that eth1 has its address
2. stop NM (or set NM_CONTROLLED="no" in ifcfg-eth1)
3. ifdown eth1; ifup eth1
eth1 is up but has no IP address
eth1 is up and has configured IP address
adds support for IPADDRn variable
ifup-eth is still unable to use for example
written to ifcfg-eth1 by NM.
Attached patch fixes the problem in my environment.
Created attachment 493919 [details]
Polish the code little bit
This patch only fixes the indentation of the code, nothing more.
Can you attach your config?
Created attachment 494835 [details]
ifcfg-eth1 created by NM
I only added
Created attachment 495033 [details]
Maybe I'm missing something, but this patch seems to be simple enough and works for me?
Yes, that does actually the same as my patch, so +1 for your patch.
OK, pushed in git, will be in a future build.
... pushed as git commit 318d859b9df0131a80cdfa7b6a12066bd5212965.
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.
(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here: