Modify

Ticket #81 (closed defect: fixed)

Opened 16 years ago

Last modified 14 years ago

init script broken in 0.8.2 final

Reported by: leggett Owned by: desai
Priority: major Milestone:
Component: bcfg2-client Version:
Keywords: Cc: [email protected]

Description

The bcfg2-server init script is broken for RHEL in 0.8.2 final. It worked in 0.8.2pre10.

[[email protected]:~]$ sudo /etc/init.d/bcfg2 restart Password: /etc/init.d/bcfg2: line 37: log_begin_msg: command not found /etc/init.d/bcfg2: line 38: log_progress_msg: command not found pidof: invalid options on command line!

pidof: invalid options on command line!

/etc/init.d/bcfg2: line 40: log_end_msg: command not found /etc/init.d/bcfg2: line 31: log_begin_msg: command not found /etc/init.d/bcfg2: line 32: log_progress_msg: command not found /etc/init.d/bcfg2: line 34: log_end_msg: command not found

Attachments

lsb30.diff (2.7 KB) - added by [email protected] 16 years ago.
init script fix

Change History

comment:1 Changed 16 years ago by [email protected]

Do you have the lsb package installed? It would appear that some of the lsb functions are not provided by redhat.

comment:3 Changed 16 years ago by [email protected]

I'm attaching a diff that should fix the problems. It reverts the init scripts to lsb 3.0 which is in redhat.

Changed 16 years ago by [email protected]

init script fix

comment:4 Changed 16 years ago by desai

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

This appears to be fixed (albeit on SLES9) with 0.8.3pre1. I think that ressu's patch did the trick.

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.