Public bug reported:

Binary package hint: motion

I'll describe a fix first from which you may derive the problem: her is
the fix:

install --group=motion --owner=motion -d  /var/run/motion

once I did this then the init script would start motion.


Some other observations:

In the init script the "-b" flag to start-stop-daemon seems like the
wrong thing to do, since motion can detach all by itself just fine and
it is controlled in its config file. And actually using the config file
setting causes problems with the -b flag here.

I could set the pidfile to /var/run/motion.pid but since motion runs as
user motion this does not work.

This has actually been here since hardy, but I just upgraded to intrepid
and see it still is here.

** Affects: motion (Ubuntu)
     Importance: Undecided
         Status: New

-- 
motion fails to start because /var/run/motion is missing
https://bugs.launchpad.net/bugs/294852
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