Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

Unusual yaourt hanging #355

Open
devedge opened this issue Oct 31, 2017 · 0 comments
Open

Unusual yaourt hanging #355

devedge opened this issue Oct 31, 2017 · 0 comments

Comments

@devedge
Copy link

devedge commented Oct 31, 2017

I'm having a problem I don't see any issues for.

Whenever I run a yaourt command that requires sudo (eg., yaourt -Syu), yaourt will hang for 8 - 15 (sometimes up to 30) seconds before prompting for a password. This 'hang' only happens the first time yaourt is called after startup, and subsequent runs are normal. I can't tell if this is something wrong with my groups, wifi, or anything else.

I've attached an strace file of the command being run. Something interesting to note is that about 97% of the processing time is spent on a wait4() system call. It's waiting on a [{WIFEXITED(s) && WEXITSTATUS(s) == 0}] call, but I can't find out why that's hanging.

Is this a bug or is it something wrong with my machine?
Here's the output of uname -a:
Linux arch 4.13.8-1-ARCH #1 SMP PREEMPT Wed Oct 18 11:49:44 CEST 2017 x86_64 GNU/Linux

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant