Bug 25775

Summary: IPv6 initscripts fixups
Product: [Retired] Red Hat Raw Hide Reporter: Pekka Savola <pekkas>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: high    
Version: 1.0CC: pb, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-08 00:50:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
a few fixups
none
changes on top of changes. :)
none
more minor tweaks. none

Description Pekka Savola 2001-02-02 23:14:08 UTC
IPv6 initscripts had a couple of syntax errors in there.  Also, there were a few
places where wording could have been much better.

Comment 1 Pekka Savola 2001-02-02 23:14:39 UTC
Created attachment 8799 [details]
a few fixups

Comment 2 Bill Nottingham 2001-02-02 23:26:21 UTC
Will be in 5.61-1; thanks!

Comment 3 Peter Bieringer 2001-02-03 00:51:58 UTC
I finally backpatched most of your changes in my current set. Looks like that 
for 5.60 not the most current ones were taken.

Because of my set is still a working beta to gamma version, it's easier for 
maintenance to keep one set up to date. For that reason, I've backpatched and 
add some "already-in-the-pipe" changes.

I've tagged all RH7, Info and Debug lines and create a script to strip such 
content easily.

You will find a current snapshot at:
ftp://ftp.bieringer.de/pub/linux/IPv6/initscripts/rawhide/backpatched-from-inits
cripts-5.60/

Also I add some information for "sysconfig.txt"

Perhaps you'll try to sync it now with your current state and send me diffs 
afterwards back to me. It's easier to maintain one set instead of some...

+As for moving the stuff into /etc/sysconfig/network, one of the
+reasons this was able to be added now is that there wasn't a chance
+of causing any problems if you didn't use it; if it's in 
/etc/sysconfig/network,
+that's not the case (Yes, I'm paranoid.)
Ok, I do not change the current behavior now. But perhaps I modify some tunnel & 
routing configuration details, but all changes will be stay in the "IPv6 
scripting sandbox".

 Peter

Comment 4 Bill Nottingham 2001-02-07 22:54:23 UTC
OK, some comments.

- From a distribution standpoint, testing that the tools are ipv6 capable
  is pointless; they *should* be, and it requires the user doing something
  odd to break this.
- As I thought I mentioned; echoing stuff into /proc is generally not
  how we handle forwarding stuff anymore; you should use /etc/sysctl.conf
  Is it necessary that these get processed here?
- Please be careful about the $ in front of the echo statements; a few
  got removed. Also, you may want to see bug 26502.

Here's the patch I'm considering committing on top of your changes.

Comment 5 Bill Nottingham 2001-02-07 22:54:59 UTC
Created attachment 9319 [details]
changes on top of changes. :)

Comment 6 Peter Bieringer 2001-02-08 00:22:30 UTC
> - From a distribution standpoint, testing that the tools are ipv6 capable
>   is pointless; they *should* be, and it requires the user doing something
>   odd to break this.
Aggreed, marked for "rh7"-stripper

> - As I thought I mentioned; echoing stuff into /proc is generally not
>   how we handle forwarding stuff anymore; you should use /etc/sysctl.conf
Was already on my todo-list, done now.

>   Is it necessary that these get processed here?
I think so, because sysctl.cnf is AFAIK only used on bootup. But forwarding needs to be switched per device on up/down also for security reasons.
IMHO, forwarding per device should be 1) configurable 2) easy changeble. Global forwarding must be switched also to resolve dependencies.
I do not know about the current sysctl-defaults, but without switching the forwarding in initscripts it is possible that not all (i.e. tunneling) is working 
properly.

> - Please be careful about the $ in front of the echo statements; a few
>   got removed
Hopefully all backpatched.

> Also, you may want to see bug 26502.
Sorry, no access, even in "logged in" modus.

> Here's the patch I'm considering committing on top of your changes.
Backpatched the fixes, but not the "forwarding control issue. Should I tag them with another key for the meantime?

And now the historic versions are automatically generated every hour (if changes are applied in "current") and stored at
ftp://ftp.bieringer.de/pub/linux/IPv6/initscripts/

Other fixes to 2001-02-07 version:
 prefixlength of numbered tunnel is set to 127 (128 was wrong...)

Hope this helps and the synchronize levels increases...

 Peter



Comment 7 Bill Nottingham 2001-02-08 00:49:25 UTC
OK, here's the only changes I have now. Ignore the whitespace ones.

The option -> parameter conversion is what bug 26502 was about. It's from
one of our translators.

Comment 8 Bill Nottingham 2001-02-08 00:50:31 UTC
Created attachment 9359 [details]
more minor tweaks.

Comment 9 Bill Nottingham 2001-02-08 00:51:53 UTC
This will be added in 5.63-1.

Comment 10 Peter Bieringer 2001-02-08 09:19:11 UTC
Ok, I've backpatched them now into my set. I hope you're not becoming desperate because I've removed all the backward compatibility for a extra prefix 
length and removed some outdated lines. But I'm hopefully that the scripts are in a stable state now (if no bugs are in..and rawhide has no other 
improvements - which are welcome - for them).

You will find the new snapshot on my FTP server, too.