Modify ↓
Ticket #505 (closed defect: fixed)
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"'
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
Note: See
TracTickets for help on using
tickets.
Blargh. Lemme try that paste again: