Package: motion
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch
Version: 3.2.11-2
Severity: normal
Tags: patch

This report has also been filed here: https://bugs.launchpad.net/bugs/394755

In debian/motion.postinst, in function add_group_if_missing 'id -g'
returns the effective group id of user "motion" whatever it is. The
goal of this function should be to test is the group "motion" exists
and create it if it is not the case.

If the group "motion" doesn't exists before the upgrade but the user
"motion" does then this function doesn't create the group and the call
to "chown motion:motion" fails

In Ubuntu, we've applied the attached patch to achieve the following:

  * Fixed debian/motion.postinst : Really test if group "motion" exits
(LP: #394755)

We thought you might be interested in doing the same.

Thanks.

Attachment: motion_3.2.11-2build2.debdiff
Description: Binary data

Reply via email to