Bug 552653
Summary: | Network service scripts shows "IP forwarding" as disabled when restarting the service even after enabling it | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Abbas Khan <bashukhan> | |
Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> | |
Status: | CLOSED NEXTRELEASE | QA Contact: | qe-baseos-daemons | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 5.4 | CC: | notting, sarwan.jassi | |
Target Milestone: | rc | Keywords: | Reopened | |
Target Release: | --- | |||
Hardware: | i386 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 552785 (view as bug list) | Environment: | ||
Last Closed: | 2010-01-06 06:31:41 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 552785 |
Description
Abbas Khan
2010-01-05 19:40:17 UTC
The disabling message comes from the shutdown of the network service that's done as part of the restart. That doesn't make sense. The message only appears when ip forwarding is enabled. If stoppage shows disabling message then why does not it show enabling message on network service start? It shows the message when the network service is shut down, because you want to disable it when shutting down the network. It does not explicitly show any setting in sysctl.conf that it may apply when starting the network, because that would be a lot of noise. Furthermore, having to have separate 'Enabling...' printouts for any setting that might be in sysctl.conf is impractical. That's what my point is! If you cannot print 'Enabling....' for a setting in sysctl.conf then why 'Disabling..' was printed out? The disabling of ip forwarding and the corresponding printout predates the use of sysctl to set parameters by a few years. At this point, it's sort of pointless to make the change to remove the echo statements for RHEL 5 (and, in fact, removing them mid-release could confuse people.) We can look to remove them in a later major release. Echoing of a single disablement does create confusion on the first place because you see it when service is stopped and not when its started back. Please consider either removing or changing message notifications. Mr. Khan, You can edit /etc/init.d/network file and change it. [root ~]# cat /etc/redhat-release CentOS release 5.4 (Final) [root@ ~]# /etc/init.d/network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Enabling IPv4 packet forwarding: net.ipv4.ip_forward = 1 [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] I have changed net.ipv4.ip_forward = 1 and also changed disabling echo to enabling. I hope it helps. Thanks Yea, I've already edited it on my systems but I was looking for a release level fix! thats why Mr Khan you're great :) |