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:


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

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

restart() {
        sleep 5

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

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

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

Note: See TracTickets for help on using tickets.