Re: [gentoo-portage-dev] dead emerge processes and/or lockfiles

2016-01-17 Thread Zac Medico
On 01/17/2016 09:06 AM, Brian Dolbec wrote:
> 
> I've read in several forum posts lately about emerge not running and
> the problem comes down to dead emerge processes and remaining lockfiles.
> 
> Perhaps we should make an emaint module to search for and fix these.
> It should be easy enough.

It would be nicer if we fixed whatever issue(s) cause the emerge
processes to hang up. How would the emaint module distinguish a "good"
emerge process from a "bad" one? I suppose you could strace it to see if
it has any activity.
-- 
Thanks,
Zac



[gentoo-portage-dev] dead emerge processes and/or lockfiles

2016-01-17 Thread Brian Dolbec

I've read in several forum posts lately about emerge not running and
the problem comes down to dead emerge processes and remaining lockfiles.

Perhaps we should make an emaint module to search for and fix these.
It should be easy enough.


Quoting 2 posts from this forum thread: 

https://forums.gentoo.org/viewtopic-t-885066.html?sid=95544407ed19693f2e5dcae094efd977

adamf663
n00b
n00b


Joined: 08 Mar 2007
Posts: 11

PostPosted: Sat Sep 12, 2015 4:52 pmPost subject: a solutionReply 
with quote
I had something similar after messing around with the '--jobs' option. No 
emerge would run after that. 
When I went to clear out /var/tmp/portage, I discovered a lockfile. 
Ran lsof and found an orphaned emerge. Killed it and emerges started running 
properly again.
Back to top 
View user's profile Send private message

ravloony
n00b
n00b


Joined: 04 Feb 2005
Posts: 54
Location: France
PostPosted: Fri Jan 15, 2016 9:38 amPost subject: Re: a solutionReply 
with quote
adamf663 wrote:
I had something similar after messing around with the '--jobs' option. No 
emerge would run after that. 
When I went to clear out /var/tmp/portage, I discovered a lockfile. 
Ran lsof and found an orphaned emerge. Killed it and emerges started running 
properly again.


Just happened to me. Thanks for the writeup!
_
No sig yet, sig ebuild up soon :-)
-- 
Brian Dolbec