You are not logged in.

#1 2007-05-02 16:57:02

mezcal
Member
From: Czech Republic
Registered: 2006-01-31
Posts: 67
Website

network script bug [SOLVED]

Hi friends,

I had problem with network script.
I could not restart the network.

[root@superbook /]# /etc/rc.d/network restart
:: Stopping Network                                                      [DONE] 
:: Starting Network                                                      [BUSY] 
Error, lan: dhcpcd already running (/var/run/dhcpcd-lan.pid)
                                                                         [FAIL]

I have changed lines 60 and 61 in /etc/rc.d/network

I ve writed this lines instead.

         
if [ -f /var/run/dhcpcd-${1}.pid ]; then                        
        kill `cat /var/run/dhcpcd-${1}.pid`

It s working.

I think it s a bug.

Last edited by mezcal (2007-05-02 18:31:38)

Offline

#2 2007-05-02 17:24:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: network script bug [SOLVED]

Post it in the bugtracker, with your patch attached.

Offline

#3 2007-05-02 18:08:25

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: network script bug [SOLVED]


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#4 2007-05-02 18:31:02

mezcal
Member
From: Czech Republic
Registered: 2006-01-31
Posts: 67
Website

Re: network script bug [SOLVED]

pelle.k wrote:

thanks.
there is a patch.
http://bugs.archlinux.org/task/6959?getfile=1119

Offline

Board footer

Powered by FluxBB