Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 921476

Summary: Please document rule6-* files inside the initscripts documentation
Product: Red Hat Enterprise Linux 6 Reporter: Michal Bruncko <michal.bruncko>
Component: initscriptsAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4CC: azelinka, jrieden, jscotka, vpavlin
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Documentation does not mention rule-* files. Consequence: Users are not aware of setting routing rules for ipv6 Fix: Document rule6-* files in sysconfic.txt Result: Users can find information about rule6-* files
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 22:11:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Bruncko 2013-03-14 09:52:47 UTC
Description of problem:
I've just configured policy routing for IPv6 and I've looked for rule-* equivalent for IPv6. I decide to look inside the documentation file "/usr/share/doc/initscripts-9.03.38/sysconfig.txt" but I realized that rule6-* information is missing besides the fact, that I can use it according this information: http://rhn.redhat.com/errata/RHBA-2012-0355.html

So please document rule6-* avaliability inside sysconfig.txt documentation file. 

Version-Release number of selected component (if applicable):
initscripts-9.03.38-1.el6


Actual results:
documentation about rule6-* is missing

Expected results:
rule6-* possibility should be documented


thank you

Comment 1 Lukáš Nykrýn 2013-03-14 10:55:12 UTC
 /etc/sysconfig/network-scripts/rule-<interface-name>
+/etc/sysconfig/network-scripts/rule6-<interface-name>
 
   Contains lines that specify additional routing rules that should be added
   when the associated interface is brought up.
 
-  Each non-comment line is used directly as an argument to "/sbin/ip rule add".
+  Each non-comment line is used directly as an argument to "/sbin/ip rule add"
+  or "/sbin/ip -6 rule add" for rule6 files.

Is such change sufficient?

Comment 2 Michal Bruncko 2013-03-14 13:05:24 UTC
yes, this is fine, it makes rule6-* documented. But I personally prefer to differentiate between different configuration files like for other config files in following way: 
- keep original rule-* configuration documentation unchanged
- just append at the end of file something like this:

<snip>
/etc/sysconfig/network-scripts/rule6-<interface-name>

  Contains lines that specify additional IPv6 routing rules that should be added
  when the associated interface is brought up.

  Each non-comment line is used directly as an argument to "/sbin/ip -6 rule add".
</snip>

but in real it does not matter. I just wanted to have rule6-* in documentation. Its your choice :)

And thank you for taking this report over.

Comment 3 Lukáš Nykrýn 2013-04-02 14:29:15 UTC
Upstream commit bd80c85bc077753f7bef74c38d85cab30c8831b0

Comment 11 errata-xmlrpc 2013-11-21 22:11:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1679.html