Bug 70716

Summary: nscd initscript has wrong error handling
Product: [Retired] Red Hat Linux Reporter: Peter van Egdom <p.van.egdom>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 8.0CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-15 22:07:23 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 Peter van Egdom 2002-08-04 14:42:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721

Description of problem:
"nscd start" as normal user :

[peterve@limbo-pc init.d]$ ./nscd start
Starting nscd:                                             [  OK  ]
touch: creating `/var/lock/subsys/nscd': Toegang geweigerd


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


How reproducible:
Always

Steps to Reproduce:
1. "nscd start" as a normal user
2.
3.
	

Actual Results:
Starting nscd:                                             [  OK  ]
touch: creating `/var/lock/subsys/nscd': Toegang geweigerd

Expected Results:
Starting nscd:                                             [FAILED]
touch: creating `/var/lock/subsys/nscd': Toegang geweigerd

Additional info:

Source RPM: glibc-2.2.90-17.src.rpm

Comment 1 Peter van Egdom 2002-11-01 22:22:11 UTC
Bug still occurs in Red Hat Linux 8.0.

Comment 2 Alan Cox 2002-12-15 22:07:23 UTC
The nscd lock file is intentionally root only