Bug 188555

Summary: incorrect call to chkconfig
Product: [Fedora] Fedora Reporter: Andrew Ziem <ahz001>
Component: authconfigAssignee: Tomas Mraz <tmraz>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 5   
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: 2006-11-22 19:06:36 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 Andrew Ziem 2006-04-11 04:55:42 UTC
Description of problem:
The program system-config-authentication (aka authconfig-gtk?) calls chkconfig
incorrectly which is evident by console messages.

Version-Release number of selected component (if applicable):
Latest in Fedora Core 5.

How reproducible:
Always.

Steps to Reproduce:
1. From console, run system-config-authentication
  
Actual results:
Following is printed to console:
chkconfig version 1.3.29 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage:   chkconfig --list [name]
         chkconfig --add <name>
         chkconfig --del <name>


Expected results:


Additional info:
The following are selections from the strace log:

[pid  2937] execve("/sbin/chkconfig", ["chkconfig", "nscd"], [/* 21 vars */]) = 0
[pid  2937] open("/etc/init.d/nscd", O_RDONLY) = -1 ENOENT (No such file or
directory)
[pid  2937] open("/etc/xinetd.d/nscd", O_RDONLY) = -1 ENOENT (No such file or
directory)

Comment 1 Tomas Mraz 2006-04-12 15:36:06 UTC
The call is correct however the message printed on console by chkconfig when
nscd is not installed should be redirected to /dev/null.


Comment 2 Tomas Mraz 2006-11-22 19:06:36 UTC
Fixed in FC6 authconfig.