[Bug 378788] [NEW] ushare init script restart action failed
Ludwin Janvier
lud.janvier at gmail.com
Wed May 20 18:34:55 UTC 2009
Public bug reported:
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
sleep 1
$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
** Affects: ushare (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
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 ushareludwin
+ $ 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
sleep 1
$0 start
So if I use this little trick in /etc/init.d/ushare, ie if I add a dirty
"sleep 1" between start and stop, the ushare's restart action works
fine.
I don't post a patch for this bug, it would be something like ;
72a73
> sleep 1
** Description changed:
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
sleep 1
$0 start
So if I use this little trick in /etc/init.d/ushare, ie if I add a dirty
- "sleep 1" between start and stop, the ushare's restart action works
+ "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
--
ushare init script restart action failed
https://bugs.launchpad.net/bugs/378788
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list