Bug 751538 - fedpkg uses wrong uid
Summary: fedpkg uses wrong uid
Keywords:
Status: CLOSED DUPLICATE of bug 751490
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-packager
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-05 10:56 UTC by Michael Schwendt
Modified: 2013-01-10 06:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-07 22:13:30 UTC
Type: ---


Attachments (Terms of Use)

Description Michael Schwendt 2011-11-05 10:56:51 UTC
This is in addition to the -1 for fedora-packager-0.5.9.4-1.fc16

| The new fedpkg doesn't work with my setup. It does something weird and
| uses a secondary group name as the remote user name for the SSH connection
| to the pkgs server. My pkg git user is a member of another user's group.
| Downgrading to fedpkg-0.5.9.2-2.fc16 helps.

My package user is a member of a second user's group:

$ id
uid=1010(foo) gid=1010(foo) groups=1010(foo),1000(bar) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

$ fedpkg clone pth
Cloning into pth...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 64, in <module>
    sys.exit(client.args.command())
  File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 886, in clone
    anon=self.args.anonymous)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 912, in clone
    self._run_command(cmd, cwd=path)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 638, in _run_command
    raise rpkgError(e)
pyrpkg.rpkgError: Command '['git', 'clone', 'ssh://bar.org/pth']' returned non-zero exit status 128


Notice how it tries to connect to ssh://bar@...

Comment 1 Michael Schwendt 2011-11-05 11:01:18 UTC
"yum downgrade fedora-packager fedpkg fedora-cert" was needed due to dependencies.

Working:

# rpm -q fedora-packager fedpkg fedora-cert
fedora-packager-0.5.9.2-2.fc16.noarch
fedpkg-0.5.9.2-2.fc16.noarch
fedora-cert-0.5.9.2-2.fc16.noarch

Not working:

 fedora-cert         noarch     0.5.9.4-1.fc16        updates-testing      32 k
 fedora-packager     noarch     0.5.9.4-1.fc16        updates-testing      38 k
 fedpkg              noarch     1.1-1.fc16            updates-testing      52 k

Comment 2 Jesse Keating 2011-11-07 22:13:30 UTC

*** This bug has been marked as a duplicate of bug 751490 ***


Note You need to log in before you can comment on or make changes to this bug.