@Martin:

Did not test a Gutsy upgrade. Tested hardy-proposed clean install to
hardy (x86_64).

The proposed 'fix' of adding the -b (--background) switch to start-stop-
daemon in /etc/init.d/motion for its 'start' case will only force the
daemon to background the motion shell process - it doesn't deal with
motion's specific behaviour of forking itself, which is what *should*
happen.

The problem that causes motion to launch during installation is caused
by the debian/rules binary-arch: "dh_installinit" statement which would
need to pass the "--no-start" argument to avoid motion starting during
install. This is a *good thing* to do since the generic
'/etc/motion/motion.conf' may not be configured correctly for the
system's video devices. Install will succeed when motion.conf is
*incorrect* since motion will exit immediately.

The *reason* motion doesn't fork itself into the background is the
debian/rules install: statement which uses sed to change the installed
'/etc/motion/motion.conf' statement "daemon on" to "daemon off"

I packaged 3.2.10-1 (a security bug-fix release) simply because I wanted
the latest version and found the latest 3.2.10-1 motion-supplied package
suffers the same problems as this current Ubuntu package. At that time I
didn't know about this bug. I found it here only after I'd finished
packaging and building the new version.

I wasn't suggesting my changes/package were candidates for SRU but
they're there if someone wants them.

Although adding CDBS on its own may not be a reason for an SRU, I'd
suggest it *is* if it is needed to apply patches to the original source
when the package currently has *no* patch system at all, and source-code
patches need to be applied.

In this case I needed to fix a pointer-to-int conversion bug for 64-bit
builds because motion makes extensive use of pointers converted to
relative offsets of struct members in various 'struct context' memory
spaces.

All the fixes I've done are fully described in my previous comment in
the Changelog quotes.

-- 
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