Bug 73497

Summary: unix domain file system entries cannot be removed after creation.
Product: [Retired] Red Hat Linux Reporter: george.miller
Component: libcAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-15 22:55:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
unix domain socket creation. none

Description george.miller 2002-09-05 15:01:09 UTC
Description of Problem:unix domain files system entries cannopt be rm'ed or unlinked.


Version-Release number of selected component (if applicable):


How Reproducible: we have a process that creates a unix domain listening socket (pathname i/tmp/LOGSOCKET). this process is invoked from a 
initd script as su - <username> -c script/process. after this process creates this file system entry, it cannot be removed even by super user.  if the 
process is brought up  from the command line (rather than through the initd script) it is not a problem. the process that creates LOGSOCKET first 
attempts to unlink it (if it is there) so that after a boot it will work (/tmp is reset) and subsequent attempts fail. we can unlink the file within the 
process when the process terminates, but if the process cores or is abnormally terminated, we can never remove the file upon subsequent 
invocations of the process. i have attached some code that will create the unix domain socket.


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 george.miller 2002-09-05 15:42:52 UTC
Created attachment 75064 [details]
unix domain socket creation.

Comment 2 Alan Cox 2002-12-15 22:55:31 UTC
Unable to reproduce in current Red Hat - or 7.2