kdesu fails when invoked immediately after sudo from terminal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdebase (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kdebase-bin
I have found that kdesu or probably something else, fails to ask for password when it tries to enter root mode and of course the application or systemsettings module fails to open. Here are three typical cases when I have the trouble.
Case-1:
1. I use sudo to run some command from konsole.
2. I try to open adept. It neither asks for password nor does it open.
3. I try to open adept again and it takes the password and opens successfully.
Case-2:
1. I use sudo to run some command from konsole.
2. I open "System Services" in systemsettings and click on "Administrator Mode" button. It neither asks for password nor does it open.
3. I try to click the "Administrator Mode" button in some other module and it takes the password and opens successfully but "System Services" module keeps failing.
Case-3:
1. I use sudo to run some command from konsole.
2. I open "Login Manager" in systemsettings and click on "Administrator Mode" button. It neither asks for password nor does it open.
3. I try to click the "Administrator Mode" button in some other module and it takes the password and opens successfully but "Login Manager" module keeps failing.
My interpretation is that any application or module trying to enter admin mode immediately after a sudo from terminal fails invariably for the first time. And while systemsettings modules fail continuously till a system reboot, application work in the second attempt.
Changed in kdebase: | |
status: | Unconfirmed → Needs Info |
This is a result of the system attempting to "recover" the sudo. That is, if you close a program, your system will recover that memory that was freed, but will take a little time to do it. While this time is not significant (shouldn't be more than 5 seconds) it is necessary that your system close sudo, and prepare sudo to be used. This isn't necessarily a bug.