Bug 27275 - stop_udm_cli_server schlägt fehl
stop_udm_cli_server schlägt fehl
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 3.0
Other Linux
: P5 normal (vote)
: UCS@school 3.0
Assigned To: Andreas Büsching
Felix Botner
:
Depends on: 27274
Blocks: 25706
  Show dependency treegraph
 
Reported: 2012-05-24 11:38 CEST by Andreas Büsching
Modified: 2012-06-11 06:29 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Büsching univentionstaff 2012-05-24 11:38:45 CEST
Der Fix wird auch für UCS@school benötigt

+++ This bug was initially created as a clone of Bug #27274 +++

In einem postist habe ich die Funktion stop_udm_cli_server verwendet.
Allerdings lief danach manchmal noch ein cli-server. Das Grund scheint zu sein,
dass die Shell hier versucht den shell-builtin kill zu verwenden, der mit der
Option -SIGTERM nicht umgehen kann:

kill all running univention-cli-server
+ echo Define variables
Define variables
+ local pids signal=SIGTERM
+ echo Read pids
Read pids
+ pgrep -f /usr/bin/python.*
/usr/share/univention-directory-manager-tools/univention-cli-server
+ pids=4809
+ echo Try to kill
Try to kill
+ type kill
kill is a shell builtin
+ which kill
/bin/kill
+ kill -SIGTERM 4809
kill: 1: Illegal option -S
+ echo Finished
Finished
+ set +x
Comment 1 Andreas Büsching univentionstaff 2012-05-24 11:58:34 CEST
Das ist korrigiert. ChangeLog-Eintrag wurde ergänzt
Comment 2 Felix Botner univentionstaff 2012-05-25 12:22:56 CEST
OK
Comment 3 Stefan Gohmann univentionstaff 2012-06-11 06:29:36 CEST
UCS@school 3.0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer  neueren Version von UCS@school erneut auftreten, so sollte dieser Bug dupliziert werden: "Clone This Bug"