Univention Bugzilla – Full Text Bug Listing |
Summary: | uvmm/node.py use shutil.move instead of os.rename | ||
---|---|---|---|
Product: | UCS | Reporter: | Janis Meybohm <meybohm> |
Component: | Virtualization - UVMM | Assignee: | Philipp Hahn <hahn> |
Status: | CLOSED FIXED | QA Contact: | Erik Damrose <damrose> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, hahn, jmm |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-4-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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: | |||
Bug Depends on: | |||
Bug Blocks: | 36988 |
Description
Janis Meybohm
2014-05-02 11:42:45 CEST
(In reply to Janis Meybohm from comment #0) > The use of os.rename should be avoided, it should be replaced with shutil.move No: cross-device renames are not atomic and introduce other cases with file permission/disc full/etc. The file should instead be created inside the same directory with a prefix/suffix/different name and then be renamed. Ticket#2014110521000477 Reported again. Reported Again 2014112421000628 r56208 | Bug #34725 UVMM: Fix noVNC temporary file location r56210 | Bug #34725 UVMM: Fix noVNC temporary file location YAML Package: univention-virtual-machine-manager-daemon Version: 3.0.18-2.562.201411262140 Branch: ucs_3.2-0 Scope: errata3.2-4 OK: temporary file is created in the same directory as the target file, still use os.rename to replace the original file OK: YAML Verified |