Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542966 - 'FATAL: open 0 failed: No such file or directory' when trying to push to gitolite-admin
Summary: 'FATAL: open 0 failed: No such file or directory' when trying to push to gito...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 20:37 UTC by Michał Górny
Modified: 2015-03-13 13:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-11 20:37:16 UTC
I'm trying to push a commit to gitolite-admin repo, and I get:

remote: 
remote: FATAL -- ACCESS DENIED
remote: Repo            gitolite-admin                                              
remote: User            mgorny@gentoo.org                                           
remote: Stage           From git's update hook                                      
remote: Ref             VREF 'NAME/conf/private.conf'                               
remote: Operation       Fast forward push                                           
remote: FATAL: open 0 failed: No such file or directory
remote: 
remote: error: hook declined to update refs/heads/master
To git@git.gentoo.org:gitolite-admin
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@git.gentoo.org:gitolite-admin'
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-03-12 06:09:07 UTC
a3li:
I don't follow how why it's failing.

mgorny:
Can I schedule a test with you? Also what change were you trying to push?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-13 13:36:02 UTC
(In reply to Robin Johnson from comment #1)
> a3li:
> I don't follow how why it's failing.
> 
> mgorny:
> Can I schedule a test with you? Also what change were you trying to push?

Sure. Just ping me when convenient, I can still reproduce it.

I'm trying to push simple cleanup of a3li's commit (from scripts/clean.pl) that results in minor whitespace changes. It may be of significance that I'm doing a GPG-signed commit.
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-03-13 13:43:17 UTC
(In reply to Michał Górny from comment #2)
> (In reply to Robin Johnson from comment #1)
> > a3li:
> > I don't follow how why it's failing.
> > 
> > mgorny:
> > Can I schedule a test with you? Also what change were you trying to push?
> 
> Sure. Just ping me when convenient, I can still reproduce it.
> 
> I'm trying to push simple cleanup of a3li's commit (from scripts/clean.pl)
> that results in minor whitespace changes. It may be of significance that I'm
> doing a GPG-signed commit.

My what?

At least now I get your problem. clean.pl 'fixes' conf/private.conf, but you cannot write there.
As much as you like to project anything negative onto me, I sadly never touched that file.

But I fixed it. You're welcome.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-13 13:45:15 UTC
Sorry, looked at the wrong git commit. It was robbat2's commit indeed.