Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7669 closed defect (fixed)

[packages] net/netatalk: afpd.init kills itself in stop()

Reported by: dirtyfreebooter <openwrt@…> Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: netatalk afpd init.d Cc:

Description

The init.d script for netatalk is called afpd, the same as the binary daemon. The stop() function of the init.d does

stop()
{
	killall afpd
	killall cnid_metad
}

This will actually kill the init.d script itself, along with the daemon and the killall of cnid_metad never completes. afpd writes a pid file and can be terminated using the pid in the pidfile.

Additionally, the reload() function sends a HUP, then calls start again. The extra start does nothing, except does socket binding errors.

I've attached a patch to cleanup the init.d script.

Attachments (1)

afpd_init.patch (390 bytes) - added by dirtyfreebooter <openwrt@…> 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by dirtyfreebooter <openwrt@…>

comment:1 Changed 7 years ago by florian

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

Applied in r22400, thanks!

comment:2 Changed 7 years ago by nico

  • Milestone changed from Kamikaze to Backfire 10.03.1

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.