[torquedev] [Bug 90] RFE: Add a "create" method to pbs_server init.d script

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Wed Dec 1 13:43:56 MST 2010


--- Comment #7 from Steve Traylen <steve.traylen at cern.ch> 2010-12-01 13:43:56 MST ---
One of the motivations for not doing a create within the start method when
the db does not exist is the following.

# rm -f /var/lib/torque/server_priv/serverdb
# /etc/init.d/pbs_server start
Starting TORQUE Server:                                    [  OK  ]

Of course we just created the serverdb at this point.

# pgrep -fl pbs_server
30282 /usr/sbin/pbs_server -t create

To me it some how seems a bit messy to leave the process running with
this extra "-t create" the first time.

It just seems a bit inconsistent somehow to start the service in a different
way depending on the starting state.


Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the torquedev mailing list