Bug 231558 - message from /etc/init.d/network
message from /etc/init.d/network
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-08 17:53 EST by Ulrich Drepper
Modified: 2014-03-16 23:06 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-16 22:21:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ulrich Drepper 2007-03-08 17:53:51 EST
Description of problem:
The network script says I should re-run itself:

~$ service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
SIOCGIFFLAGS: No such device
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  
Determining IP information for eth0... done.
Global IPv6 forwarding is enabled in configuration, but not currently enabled in
kernel
Please restart network with '/sbin/service network restart'
                                                           [  OK  ]


That's of course bogus here since I just ran the script and it causes this message.


Version-Release number of selected component (if applicable):
initscripts-8.45.7-1

How reproducible:
always

Steps to Reproduce:
1.I added IPV6INIT=yes to an ifcfg-ethX file
2.run service network restart
3.
  
Actual results:
see message above

Expected results:
better message

Additional info:
Comment 1 Bill Nottingham 2007-03-08 21:55:23 EST
Can you attach your full ifcfg file, and /etc/sysctl.conf?
Comment 2 Ulrich Drepper 2007-03-14 10:33:59 EDT
Nothing changed in the sysctl.conf file, standard as it comes with the system.

This is the ifcfg-eth0 file

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=xx:xx:xx:xx:xx:xx
IPV6INIT=yes
IPV6FORWARDING=yes

This is /etc/sysconfig/network:

NETWORKING=yes
HOSTNAME=localhost.localdomain
NETWORKING_IPV6=yes
Comment 3 Bill Nottingham 2007-04-16 22:21:48 EDT
Ugh, those ipv6 scripts are fun. After enough digging:

IPV6INIT and IPV6FORWARDING are global parameters - they can't be set
per-interface. That's what's causing the weird errors you see - if you set them
in /etc/sysconfig/network, it should behave.

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