This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/5042] procfs probe script not recreating /proc entries in some cases


------- Additional Comments From hunt at redhat dot com  2007-09-19 13:04 -------
Checked in a fix for this.

There were several related problems I fixed that all involved problems with
directories that are awaiting deletion, but getting reused.  I applied the
attached ownership patch because it had the effect of making the deletion finish
before the module gets removed.  I had thought this was annoying, but it removes
problems caused by running the same script again while the original scripts's
path elements were all marked as awaiting deletion.

The problem reported in this BZ was caused when /proc/systemtap was marked as
awaiting deletion while new scripts kept reusing it.  path_lookup() could see
it, while "ls" could not.

There was no easy fix for this problem.  So the new behavior is for
/proc/systemtap to never be in a deferred deletion state.  If it is in use when
a module exits, it will not be deleted.  Next time a systemtap module exits, if
not in use, it will be deleted.  



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5042

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]