ushare init script restart action failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ushare (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
I'm using ushare Version : 1.1a-0ubuntu3 and jaunty with an old 1.3GHz laptop.
When I try to restart ushare daemon :
$ sudo invoke-rc.d ushare restart
* Stopping uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
* Starting uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
I have no error, but a :
$ ps -ef|grep ushare
14665 9175 0 20:21 pts/3 00:00:00 grep ushare
shows me that ushare is not restarted.
However, start and stop actions are working great when ran separately.
So I had a lookup in other init scripts :
samba's restart's section is like :
$0 stop
$0 start
So if I use this little trick in /etc/init.d/ushare, ie if I add a dirty "sleep 1" between stop and start, the ushare's restart action works fine.
I don't post a patch for this bug, it would be something like ;
72a73
> sleep 1
Related branches
description: | updated |
description: | updated |
Changed in ushare (Ubuntu): | |
status: | New → Confirmed |
This bug was fixed in the package ushare - 1.1a-0ubuntu5
---------------
ushare (1.1a-0ubuntu5) lucid; urgency=low
* Update copyright dates
* Change compat to 7
* Add backport r427 to fix the names in ushare.conf (LP: #250122)
* Fix script restart (LP: #378788)
* Fix launching order sequence (LP: #386965)
* Remove /sbin path in config maintainer script
-- Alexis Saettler <email address hidden> Sat, 16 Jan 2010 13:36:16 +0100