Bug 328522 - Kdesu via klauncher (Alt+F2) stalls for 60s before showing prompt (strace attached)
Summary: Kdesu via klauncher (Alt+F2) stalls for 60s before showing prompt (strace att...
Status: REPORTED
Alias: None
Product: kdesu
Classification: Applications
Component: general (show other bugs)
Version: 1.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdesu bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-07 21:58 UTC by Szczepan Hołyszewski
Modified: 2022-09-02 14:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Alt+F2, strace -r -okdesu_dolphin.txt kdesu dolphin (32.72 KB, application/x-xz)
2013-12-07 22:00 UTC, Szczepan Hołyszewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szczepan Hołyszewski 2013-12-07 21:58:01 UTC
When started with klauncher (Alt+F2), kdesu hangs for 60s before showing the password prompt. The symptom is absent when launching kdesu from console (yakuake).

Attached strace indicates it waits through a 30s timeout on two separate occasions. For quick reference, here are apparently relevant pieces:

     0.000000 write(2, "QProcess: Destroyed while proces"..., 52) = 52
     0.000000 kill(5080, SIGKILL)       = 0
     0.000000 clock_gettime(CLOCK_MONOTONIC, {3734, 875327188}) = 0
     0.000000 clock_gettime(CLOCK_MONOTONIC, {3734, 875327188}) = 0
     0.000000 clock_gettime(CLOCK_MONOTONIC, {3734, 875327188}) = 0
     0.000000 select(23, [22], [], NULL, {30, 0}) = 0 (Timeout)
    30.033114 write(3, "\1\0\0\0\0\0\0\0", 8) = 8
     0.000000 close(10)                 = 0
     0.000000 close(23)                 = 0
     0.000000 close(22)                 = 0
     0.000000 access("false", X_OK)     = -1 ENOENT (No such file or directory)
     0.000000 stat("/usr/lib/kde4/libexec/su", 0x7fff754b2680) = -1 ENOENT (No such file or directory)
     0.000000 stat("/usr/local/sbin/su", 0x7fff754b2680) = -1 ENOENT (No such file or directory)
     0.000000 stat("/usr/local/bin/su", 0x7fff754b2680) = -1 ENOENT (No such file or directory)
     0.000000 stat("/usr/bin/su", {st_mode=S_IFREG|S_ISUID|0755, st_size=27608, ...}) = 0

... and ...

     0.103332 write(2, "QProcess: Destroyed while proces"..., 52) = 52
     0.000000 kill(5112, SIGKILL)       = 0
     0.000000 clock_gettime(CLOCK_MONOTONIC, {3765, 168439054}) = 0
     0.000000 clock_gettime(CLOCK_MONOTONIC, {3765, 168439054}) = 0
     0.000000 clock_gettime(CLOCK_MONOTONIC, {3765, 168439054}) = 0
     0.000000 select(25, [24], [], NULL, {30, 0}) = 0 (Timeout)
    30.036409 write(3, "\1\0\0\0\0\0\0\0", 8) = 8
     0.000000 close(12)                 = 0
     0.000000 close(25)                 = 0
     0.000000 close(24)                 = 0
     0.000000 getuid()                  = 1000
     0.000000 geteuid()                 = 1000
     0.000000 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 11


Reproducible: Always

Steps to Reproduce:
1. Open klauncher (Alt+F2)
2. Type kdesu dolphin and press enter

Actual Results:  
Kdesu prompt appears after ~60s

Expected Results:  
Kdesu prompt should appear ~immediately
Comment 1 Szczepan Hołyszewski 2013-12-07 22:00:12 UTC
Created attachment 83978 [details]
Alt+F2, strace -r -okdesu_dolphin.txt kdesu dolphin
Comment 2 Szczepan Hołyszewski 2013-12-07 22:02:09 UTC
Noticed this just after upgrading to 4.11.4, but it might have been present before.
Comment 3 Andrew Crouthamel 2018-11-11 04:33:19 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-21 04:41:45 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!