This is obviously because the /var/run directory is mounted with tmpfs so on reboot the /var/run/motion directory is deleted.
The init script will have to check this directory exists and create it with owner and group "motion" before dropping privs to run the daemon. -- Motion complains about not being able to create pid file on computer start up. Runs just fine in daemon mode with manual start. https://bugs.launchpad.net/bugs/664082 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