Bug 53355 - ifdown-ipv6 tries to sysctl unknown keys
Summary: ifdown-ipv6 tries to sysctl unknown keys
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-07 09:05 UTC by Pekka Savola
Modified: 2014-03-17 02:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-01-25 04:14:50 UTC
Embargoed:


Attachments (Terms of Use)
only try to set sysctl values if the corresponding device still exists (705 bytes, patch)
2001-09-07 09:06 UTC, Pekka Savola
no flags Details | Diff

Description Pekka Savola 2001-09-07 09:05:24 UTC
Under certain, unclear scenarios (this has come up two-three times, but
I've never
managed to pin it down, no matter what), when doing 'ifdown <ipv6-device>' 
you get like:

error: 'net.ipv6.conf.sit0.forwarding' is an unknown key
error: 'net.ipv6.conf.sit0.accept_ra' is an unknown key
error: 'net.ipv6.conf.sit0.accept_redirects' is an unknown key

, because the interface has already been deleted. A good (open) question
is, why this
only happens rather rarely.

These should probably be hidden.  It can be done with the attached patch.

Comment 1 Pekka Savola 2001-09-07 09:06:09 UTC
Created attachment 31215 [details]
only try to set sysctl values if the corresponding device still exists

Comment 2 Bill Nottingham 2002-04-12 20:31:28 UTC
This has to be fixed by now. In any case, 6.63-1 will add '-e' to all the
invocations.


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