| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The various init scripts have the usual start, stop, and status
functions which are called from a case statement. The functions
even nicely return various values for success and failure.
Unfortunately, those values were not passed all the way back to the
calling shell.
Previously, the init scripts would return 0 if any of start, stop, or
status failed. This commit ensures that they they pass the return
value back to the caller.
Why does this matter? Well, beyond just being generally good
citizens, bcfg2's own chkconfig client tool expects stopped services
to return a non-zero exit code when their status function is called.
Otherwise it flags the service state as incorrect and tries to stop
it on every run.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
dropping
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Loucks)
From Ticket #864:
Bcfg2 v1.0.1-1 on a RHEL system. running /etc/init.d/bcfg2-server
status returns a "is running" method whether bcfg2-server is running
or not.
To fix this adding a the "-o %PPID" flag to the pidof call eliminates
the parent process from pidof's process list.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5780 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5548 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
|
|
| |
install or by default at startup, to match behavior of bcfg2 client and not
surprise the admin - also starting up bcfg2-server will just fail as
currently the package does not install a working basic server configuration -
this may be a debian policy bug - the user has to manually do
bcfg2-admin init as root after install on clean installs.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5545 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
| |
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5512 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2019 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2017 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1979 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1784 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
| |
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1716 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
| |
Fix comment printing for etc/metadata.xml
Add a better error message for client communication bootstrapping failures
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1615 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
| |
Fix some pylint errors
Add better error handling for function calls
Add mesh-mode support for sshbase
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1612 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
Fix debian bug in server init script
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1599 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.378)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1592 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
|
|
|
| |
2005/11/30 15:21:43-06:00 anl.gov!desai
switch to backwards compatible init script
(Logical change 1.376)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1583 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.370)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1558 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.369)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1553 ce84e21b-d406-0410-9b95-82705330c041
|
|
|
|
|
|
|
| |
(Logical change 1.121)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@540 ce84e21b-d406-0410-9b95-82705330c041
|
|
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@534 ce84e21b-d406-0410-9b95-82705330c041
|