[Bug 287411] Kernel loses track of CWD of process

bugzilla at redhat.com bugzilla at redhat.com
Tue May 26 19:49:34 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=287411





--- Comment #51 from Orion Poplawski <orion at cora.nwra.com>  2009-05-26 15:49:28 EDT ---
(In reply to comment #48)
> (In reply to comment #47)
> > I can reproduce this as well by hibernating/resuming without an autofs restart.  
> 
> That could only happen if the sleep/wake functionality is doing
> something like restarting autofs.
> 
> In any case this should be resolved in autofs-5.0.4 and with a
> sufficiently recent kernel and F-10 doesn't have such a kernel
> F-11 does and its autofs is based on 5.0.4.

Well, I'm now running F-11.  After a hibernate/resume I have lost current
working directories but automount has not be restarted:

[root at orca ~]# cwdcheck     
[root at orca ~]# pm-hibernate
[root at orca ~]# cwdcheck
CWD problems           
[root at orca ~]# ls -l /proc/*/cwd                            
lrwxrwxrwx. 1 root      root      0 2009-05-26 13:39 /proc/1021/cwd -> /
....
lrwxrwxrwx. 1 orion     cora      0 2009-05-26 13:39 /proc/22695/cwd ->
src/IT_TEST
lrwxrwxrwx. 1 orion     cora      0 2009-05-26 13:39 /proc/2348/cwd ->

Note that some are broken links.  "src/IT_TEST" is in /home/orion which is nfs
automounted.  Looks like "/home/orion" was simply stripped from the cwd.

2.6.29.3-155.fc11.i686.PAE
autofs-5.0.4-24.i586

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the fedora-triage-list mailing list