Page 1 of 1

LFD with Ubuntu 12.04 LTS

Posted: 17 May 2012, 10:40
by alexp999
Hi,

I realise that Ubuntu 12.04 isnt on your official support list, but I thought as it is an LTS release you will hopefully be releasing official support for it in the future.

I would like to report a bug and ask for a potential fix until a new release if possible.

Basically it seems that the stop/restart command is broken for LFD with Ubuntu 12.04.

The process does not get killed, it just returns a help text about proper usage of the kill command. I have to manually terminate the process and then start it again for changes to LFD settings to take effect.

If anyone has any ideas it really appreciate it.

Thanks.

Re: LFD with Ubuntu 12.04 LTS

Posted: 17 May 2012, 15:46
by ForumAdmin
We'll release a fix for this in the next release. In the meantime, if you edit /etc/init.d/lfd and change the line:

Code: Select all

                kill `$PIDOF lfd`
to:

Code: Select all

                kill `cat /var/run/lfd.pid`
it should then work OK.

Re: LFD with Ubuntu 12.04 LTS

Posted: 18 May 2012, 10:24
by alexp999
Thanks that did the trick, however I also had to change the following line so that the status was returned correctly.

Code: Select all

		if [ -n "`$PIDOF lfd`" ]; then
to:

Code: Select all

		if [ -n "`cat /var/run/lfd.pid`" ]; then