Bug 887175 - netcf is unable to ifup nic
Summary: netcf is unable to ifup nic
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: netcf
Version: 19
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Laine Stump
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-14 08:56 UTC by Hendrik Schwartke
Modified: 2014-05-14 08:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-14 08:53:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 844578 0 low CLOSED Starting interface without cable failed with error but actually started. 2021-02-22 00:41:40 UTC

Description Hendrik Schwartke 2012-12-14 08:56:00 UTC
Description of problem:
NICs with the operstate 'down' can't be activated with netcf.

Version-Release number of selected component (if applicable):
Bug was introduced in version 0.2.1 (git commit 012e2169dfd904520ecac65553ccdd265537351f).
Version 0.2.0 works as expected.

How reproducible:
1. ncftool define with:
<?xml version="1.0"?>
<interface type="ethernet" name="eth5">
  <start mode="onboot"/>
  <protocol family="ipv4">
     <ip address="192.168.0.5" prefix="24"/>
  </protocol>
</interface>
2. ncftool ifup eth5

Actual results:
If eth5 is not physically up (operstate = 'down') the following error message is displayed although the nic was configured correctly (ip address was attached to eth5):
Interface eth5 bring-up failed!
error: unspecified error
error: interface eth5 failed to become active - possible disconnected cable.

Comment 1 Fedora End Of Life 2013-04-03 15:50:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Laine Stump 2014-05-14 08:53:39 UTC
Looking back through old bugs, and the behavior described here is intentional, as per Bug 844578. netcf will not consider an interface to be successfully started until both the IFF_UP and IFF_RUNNING flags are set.


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