Bug 34104 - ldap_extension.py: Invalid cross-device link
ldap_extension.py: Invalid cross-device link
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-1-errata
Assigned To: Felix Botner
Arvid Requate
:
Depends on:
Blocks: 35899
  Show dependency treegraph
 
Reported: 2014-02-11 20:01 CET by Stefan Gohmann
Modified: 2014-09-11 14:48 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 Stefan Gohmann univentionstaff 2014-02-11 20:01:11 CET
http://forum.univention.de/viewtopic.php?f=48&t=3121&p=10913

--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/ldap_extension.py", line 58, in handler
    schema_handler.handler(dn, new, old, name=name)
  File "/usr/lib/pymodules/python2.6/univention/lib/ldap_extension.py", line 395, in handler
    os.rename(old_filename, backup_filename)
OSError: [Errno 18] Invalid cross-device link
--------------------------------------------------------------------------------

I think /var and /tmp are not part of the same partition.
Comment 1 Felix Botner univentionstaff 2014-03-19 13:24:20 CET
Replaced os.rename with shuitl.move in ldap_extension.py.

YAML: 2014-03-19-univention-lib.yaml
Comment 2 Arvid Requate univentionstaff 2014-04-07 19:01:47 CEST
Ok.
Comment 3 Moritz Muehlenhoff univentionstaff 2014-04-09 08:24:03 CEST
http://errata.univention.de/ucs/3.2/80.html