I install ubuntu 8.04 from scratch and I realized that motion cannot
create pid file because it run with user "motion" not root so it has not
the privilegies to create a file in directory /var/run.

So I modified the init script adding the following line before to start
the daemon:

touch $PIDFILE && chown motion $PIDFILE

it create the pidfile and give motion the ability to modify it with its
pid.

I think it is the simplest and effective fix.

I think that the fix proposed by Michael Vogt is bad because it
eliminates the pidfile. It limits the powerful of the script (status is
drop off)

Best Regards

-- 
Hardy upgrade - motion halts upgrade
https://bugs.launchpad.net/bugs/198292
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to