Possible post install script error when specifying a custom gitosis user.

Bug #586351 reported by Nicolas Tisserand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gitosis (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gitosis

If the custom user partially matches another user, the post install script fails, pretending the user already exists.

The attached patch should fix this issue.

Tags: patch
Revision history for this message
Nicolas Tisserand (nicolas-tisserand) wrote :
tags: added: patch
Revision history for this message
Nicolas Tisserand (nicolas-tisserand) wrote :

In my case, using "git" instead of the default "gitosis" user triggered the issue because the gitweb and git-daemon-run packages had already configured "*git*" matching system users.

summary: - Post install script error when gitweb or git-daemon-run are already
- installed.
+ Possible post install script error when specifying a custom gitosis
+ user.
Revision history for this message
Nigel Babu (nigelbabu) wrote :

Thank you for the patch, could you perhaps try and forward this upstream too?

Revision history for this message
Nicolas Tisserand (nicolas-tisserand) wrote : Re: [Bug 586351] Re: Possible post install script error when specifying a custom gitosis user.

Hi Nigel,

On Fri, Aug 20, 2010 at 10:17 PM, Nigel Babu <email address hidden> wrote:
> Thank you for the patch, could you perhaps try and forward this upstream
> too?

I'm very new to the whole Ubuntu software process.
What exactly does "try and forward this upstream" involve?
Do you have pointers to documentation I could read so that I won't ask
dumb questions like the previous one anymore?

Thanks.
--
Nicolas

Revision history for this message
Daniel T Chen (crimsun) wrote :

This bug is resolved in Debian experimental already. I filed bug 823032 to sync the latest version from experimental into Oneiric.

Changed in gitosis (Ubuntu):
status: New → In Progress
Revision history for this message
Daniel T Chen (crimsun) wrote :

-14 synced into Oneiric.

Changed in gitosis (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.