Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10051 closed defect (fixed)

LinuxIGD init.d script (upnpd) kills itself during restart.

Reported by: AndrewSi@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: linuxigd upnpd Cc:

Description

The init.d script for the linuxigd package, called upnpd, does the following:

stop() {
    echo -n "Stopping UPnP: "
    route del -net 239.0.0.0 netmask 255.0.0.0 $LAN
--> killall upnpd
    echo "OK"
}

restart() {
        stop
        sleep 5
        start

Unfortunately, because the daemon is called upnpd and so is the script, when restart is called, the script process is killed along with the daemon and therefore the daemon is not restarted - it never gets to the sleep and start lines.

I doubt this ever worked properly, but maybe it explains why linuxigd seems to die unexpectedly and not restart itself at times.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r29070

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.