Bug 521952

Summary: krb5-auth-dialog reads from the disk excessively
Product: [Fedora] Fedora Reporter: Mike Gahagan <mgahagan>
Component: krb5-auth-dialogAssignee: Itamar Reis Peixoto <itamar>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: itamar, jkaluza
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-27 10:22:21 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 204948, 454582    

Description Mike Gahagan 2009-09-08 16:06:29 EDT
Description of problem:
Noticing a number of very small disk reads from krb5-auth-dialog, it seems to make no difference if one has a kerberos ticket or not, just having krb5-auth-dialog appears to generate enough disk activity to prevent disks from shutting down and other powersaving measures.

Version-Release number of selected component (if applicable):
F11+ updates (as of Sept 8 2009) 
Sept 8 rawhide

How reproducible:
fairly frequently, seems to require a valid kerberos ticket, once you have a ticket, I'm seeing the occational disk access until krb5-a-d is terminated. When clearing the ticket cache via krb5-a-d, the ticket is destroyed but the disk reads continue.

Steps to Reproduce:
1. Authenticate to kerberos to get a ticket
2. start krb-auth-config
3. run diskdevstat
Actual results:
 6571     0 dm-0            0     0.000     0.000     0.000          85     0.000     0.830     0.011 crond          
 6591     0 dm-0            0     0.000     0.000     0.000          52     0.000     0.031     0.001 sendmail       
 6560   500 dm-0            0     0.000     0.000     0.000          17     0.000    30.001     1.764 krb5-auth-dialo

for me krb5-auth-dialog ends up in the top 5 processes on an idle system most of the time.

Expected results:

krb5-auth-dialog should use the disk less, or at least wake up the disk much less frequently.

Additional info:
Comment 1 Mike Gahagan 2009-09-11 15:59:12 EDT
I'm also seeing the applet apperently cause roughly 150 CPU wake-ups/sec, in my VM guest, when I quit the applet, the number of wake-ups drops to around 30/sec.
Comment 2 Bug Zapper 2009-11-16 07:04:28 EST
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
Comment 3 Bug Zapper 2010-03-15 08:48:58 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle.
Changing version to '13'.

More information and reason for this action is here:
Comment 4 Bug Zapper 2011-06-02 13:46:15 EDT
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
Comment 5 Jan Kalu┼ża 2011-06-15 07:38:10 EDT
Just a note. I have checked current state and krb5-auth-dialog checks whether the credentials hasn't been renewed every 30 seconds. This is causing those "reads" from disc. That timeout can be increased during compilation.

I wasn't able to reproduce cpu wakeups mentioned in comments above using powertop.
Comment 6 Bug Zapper 2011-06-27 10:22:21 EDT
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.