Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patching breaks default gateway being applied on Centos 5 #52

Open
Gamogo opened this issue Nov 25, 2014 · 0 comments
Open

Patching breaks default gateway being applied on Centos 5 #52

Gamogo opened this issue Nov 25, 2014 · 0 comments

Comments

@Gamogo
Copy link

Gamogo commented Nov 25, 2014

For your reference:

http://bugs.centos.org/view.php?id=4582
https://bugzilla.redhat.com/show_bug.cgi?id=482826

The latest Shellshocker patch triggers this bug. In short, "/etc/sysconfig/network-scripts/network-functions" does not work under bash 4.x - which is applied as part of the Shellshocker patch. The result is network interfaces come up/start, but fail to apply their gateway information.

Fixes:

1.) Manually define a gateway on a nominated interface via "route add" after restarting the system or restarting network services - example:

service network restart
route add default gw n.n.n.n eth0

2.) Go to line 78 in "/etc/sysconfig/network-scripts/network-functions" and change:

. $CONFIG

to:

. ./$CONFIG

(Note the spaces between the '.')

Note: On Redhat systems, the bug documentation cited above infers this change is required on line 80, not 78.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant