Red Hat Bugzilla – Bug 84453
ifdown-post not called when pccard ethernet ejected (from ifdown)
Last modified: 2014-03-16 22:34:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211
Description of problem:
ifdown-post is never called at the end of ifdown
if retcode != 0.
This happens to me consistently when ejecting a pccard ethernet
As a result, jobs registered in /var/run/netreport
never get informed that the network went away.
This breaks third-party apps such as xcron
that require notification.
(At some previous point ejecting a pccard did trigger netreports.
I'm not sure when: RH 7.3? 7.2? The code in 7.3 looks the same, but
maybe the retcode ends up being set differently.)
Presumably this is done because of ungraceful shutdown. Perhaps
ifdown-post should try and pass the retcode down.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start a process that registers itself in /var/run/netreport
on a laptop
2. physically eject the card
3. observe that no SIGIO is delivered to the process
Actual Results: a SIGIO is not delivered to the process registered in
Expected Results: a SIGIO should have been delivred to the process
This is because of the switch to hotplug for handling network devices with
*** This bug has been marked as a duplicate of 127283 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.