Bug 22517 - Potentielles blockieren durch zu große Ausgabe von UCS Script
Potentielles blockieren durch zu große Ausgabe von UCS Script
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCR
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0
Assigned To: Philipp Hahn
:
Depends on:
Blocks: 26840
  Show dependency treegraph
 
Reported: 2011-05-13 14:08 CEST by Philipp Hahn
Modified: 2012-06-12 11:18 CEST (History)
0 users

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:
hahn: Patch_Available+


Attachments
Fix pipe deadlock (1.17 KB, patch)
2011-05-13 14:08 CEST, Philipp Hahn
Details | Diff
Detect pipe size (695 bytes, text/plain)
2011-05-13 14:10 CEST, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2011-05-13 14:08:38 CEST
Created attachment 3269 [details]
Fix pipe deadlock

univention.config_registry.runScript() startet den Prozeß mit STDOUT=pipe, die
eine maximale Größe besitzt (unter Linx 64k); wird diese überschritten, so
blockiert das Skript und damit UCR. Statt dessen sollte STDOUT=os.path.devnull
geöffnet werden UND/ODER subprocess.communicate() verwendet werden.
Comment 1 Philipp Hahn univentionstaff 2011-05-13 14:10:56 CEST
Created attachment 3270 [details]
Detect pipe size

Programm zum feststellen der Puffergröße einer PIPE.
Comment 2 Philipp Hahn univentionstaff 2011-05-13 21:28:55 CEST
Die Ausgabe wird nun direkt nach /dev/null umgeleitet.

svn24138, svn24147

\item A potential deadlock bug in \ucsUCR{} was fixed, when scripts generated to  much output (\ucsBug{22517}).
Comment 3 Philipp Hahn univentionstaff 2012-06-12 11:18:16 CEST
Das wurde für UCS-3.0 umgesetzt und nur dem falschen Target-Milestone zugewiesen.