Bug 113104

Summary: rc.sysinit does not clean /var/lock/samba properly
Product: Red Hat Enterprise Linux 3 Reporter: Bernd Bartmann <bernd.bartmann>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: chris.ricker, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-17 02:49:18 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:

Description Bernd Bartmann 2004-01-08 15:34:14 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114

Description of problem:
While booting my RHES3 system I saw a message on the console telling
something like:

cannot removed /var/lock/samba/printing because it's a directory.

/etc/rc.d/rc.sysinit cleans up the /var/lock/ directory structure
during the boot process. The problem is that it doesn't remove
subdirectories. It only removes files. So the contents of the dir
/var/lock/samba/printing is not removed.

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


How reproducible:
Always

Steps to Reproduce:
1. service smb start
2. reboot
3. watch at the boot messages
    

Additional info:

Comment 1 Bill Nottingham 2004-03-17 02:49:18 UTC
Fixed in 7.47-1; will be in future RHEL releases.

Comment 2 Bill Nottingham 2005-09-30 19:02:17 UTC
*** Bug 97575 has been marked as a duplicate of this bug. ***