Ticket #1059 (closed enhancement: fixed)

Opened 21 months ago

Last modified 6 weeks ago

zenoss startup script enhancements

Reported by: ecn Owned by: ecn
Priority: 1 - Blocker Milestone: zenoss-2.1
Component: All Version: 1.1
Severity: low Keywords:
Cc: Documentation: Not required
Installer: Reviewed: yes

Description

The current zenoss startup scripts are pretty lame:

  • fixed list of startup daemons
  • pid file is based on the deamon name, which makes it difficult to run more than one per machine
  • known to be unsufficient on some platforms for use in /etc
  • run zenmigrate in the main zenoss script
  • maybe run the Hail Mary script?
  • run the product initialization script like we do on Redhat and the Appliance.

We need a Zope object to represent the custom config of each daemon as well as one to bind them together under a single name, probably a hostname. We need to clean up the modification of $1 by zenfunction. Some of the scripts need to not have a daemon option.

Here's a set of changes to the zenoss script to make it more freebsd friendly:

http://www.octantis.com.au/files/zenoss

Change History

Changed 19 months ago by edahl

  • milestone changed from zenoss-2.0 to zenoss-2.1

Changed 17 months ago by bzeimetz

  • severity set to Hours

imho this ticket should be merged with #1442.

I've collected some ideas on how to solve at least a good part of the problems, not sure how soon I find the time to write them down and/or implement them, though.

Changed 17 months ago by bzeimetz

  • severity changed from Hours to Days

hmm, sorry for the 'Hours' severity. trac should not offer that as default while adding a comment.

Changed 15 months ago by edahl

  • priority changed from high to blocker
  • owner changed from edahl to ecn

Changed 14 months ago by ecn

  • status changed from new to closed
  • resolution set to fixed

(In [6919]) * fixes #1059 : don't run initial scripts unless the argument is "start"

Changed 14 months ago by ecn

  • status changed from closed to reopened
  • resolution fixed deleted

still need to fix:

  • pid file is based on the deamon name, which makes it difficult to run more than one per machine

Changed 14 months ago by ecn

  • status changed from reopened to closed
  • resolution set to fixed

(In [6922]) * fixes #1059 : don't run initial scripts unless the argument is "start"

Changed 6 weeks ago by bbibeault

  • documentation set to Not required
  • reviewed set
Note: See TracTickets for help on using tickets.