Modify

Ticket #505 (closed defect: fixed)

Opened 16 years ago

Last modified 15 years ago

Chkconfig.py is looking for wrong error message

Reported by: labrown Owned by: desai
Priority: major Milestone:
Component: bcfg2-client Version: 0.9.x
Keywords: VerifyService Cc:

Description

VerifyService? runs this code:

try:

srvdata = self.cmd.run('/sbin/chkconfig --list %s | grep -v "unknown service"'

% entry.attribname?)[1][0].split()

which is broken, at least on Fedora Core 4, Centos4, and Centos5 boxes. chkconfig returns this instead:

trogdor:brown /etc/yum.repos.d $ sudo chkconfig --list asdfasdf Password: error reading information on service asdfasdf: No such file or directory

The error message being grepped for needs to be changed.

Attachments

Change History

comment:1 Changed 16 years ago by labrown

Blargh. Lemme try that paste again:

trogdor:brown /etc/yum.repos.d $ sudo chkconfig --list asdfasdf
Password:
error reading information on service asdfasdf: No such file or directory

comment:2 Changed 15 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.