bugSavane - Bugs: bug #2838, GPG keyrings sometimes not created

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #2838: GPG keyrings sometimes not created

Submitted by:  Sylvain Beucler <beuc>
Submitted on:  Fri 02 Sep 2005 07:27:40 PM UTC  
 
Category: BackendStatus: Fixed
Severity: 4 - ImportantPriority: B - Low
Assigned to: Mathieu Roy <yeupou>Open/Closed: Closed
Release: Planned Release: 1.2
Reproducibility: NonePrivacy: Public

Thu 15 Sep 2005 02:47:21 PM UTC, comment #5:

For me it works (ex : https://gna.org/projects/bin2xml/ )

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Sun 11 Sep 2005 02:29:58 PM UTC, comment #4:

Reduce the priority of the item but keep it open a few days, until we are sure it is actually fixed.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Sun 11 Sep 2005 02:27:50 PM UTC, comment #3:

So I think it's fixed.

There's no way to tell until new persons are added to group (apart from doing so just for the test).

Indeed the script will not be able to find out the data he got on file is not already up to date (otherwise the script would take hours each time).

Installation that have found this problem should run.

You may have to clean up all registered keyrings by running
rm -f `find /home -name "ascii-public-key"`
assuming that your users account are in /home.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Sun 11 Sep 2005 02:16:10 PM UTC, comment #2:

Hum, you are correct, in fact it should recreate the ring each time a user change groups.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Sun 11 Sep 2005 02:01:38 PM UTC, comment #1:

Actually, the following should take care of such cases. But the bug is probably lying on this area, since clearly the problem occurs when a user join a group while he was already member of other groups and had already a registered key.

# Update of group keyrings
if ($gpg_group_keyring) {
foreach my $thisgroup (@{$db_user_group{$user}}) {

# Add the group to the list of update candidate, unless
# already there, if there were changes
if ($keys_differs) {
$gpg_keyrings_to_rebuild{$thisgroup} = 1
unless $gpg_keyrings_to_rebuild{$thisgroup};
}

# Store the key content if it is something worth being
# registered, in any cases (other users can cause the
# update to be necessary, so it's irrelevant whether this
# peculiar user needed the update)
if ($gpg_keys and $gpg_keys ne "NULL" ) {
push(@{$group_gpg_keyring{$thisgroup}}, $gpg_keys);
}
}
}

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Fri 02 Sep 2005 07:27:40 PM UTC, original submission:

A keyring was not present at Savannah for a new project.

The user was already admin of another project.

Hypothesis: Savane had already created 'ascii-public-key' for that user. When the new project was created, Savane assumed it needn't recreate the keyrings of the user's project. And hence did not create the new project's keyring.

Sylvain Beucler <beuc>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Digest:
   support dependencies, task dependencies.

 

Carbon-Copy List
  • -unavailable- added by yeupou (Updated the item)
  • -unavailable- added by beuc (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 15 Sep 2005 02:47:21 PM UTCyeupouStatusReady For Test=>Fixed
      Assigned toNone=>yeupou
      Planned Release1.1=>1.2
      Open/Closed-Automatic update due to transitions settings-=>Closed
    Sun 11 Sep 2005 02:29:58 PM UTCyeupouPriorityD - High=>B - Low
      Assigned toyeupou=>None
    Sun 11 Sep 2005 02:16:10 PM UTCyeupouStatusConfirmed=>Ready For Test
      Planned Release=>1.1
    Sun 11 Sep 2005 01:50:34 PM UTCyeupouAssigned toNone=>yeupou
    Thu 08 Sep 2005 07:38:52 PM UTCyeupouPriorityA - Later=>D - High
      StatusNone=>Confirmed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup