Univention Bugzilla – Bug 50514
IOError traceback in listener.log: dangling symbolic link to syntax.d/ after migration to dh_python2
Last modified: 2019-11-20 09:43:04 CET
With UCS 4.4-2e350 i am seeing the following error in the listener.log: 18.11.19 15:43:47.690 DEBUG_INIT 18.11.19 15:43:47.700 LISTENER ( WARN ) : Notifier/LDAP server is hdmi1.phahn.dev:7389 18.11.19 15:43:47.700 LDAP ( PROCESS ) : connecting to ldap://hdmi1.phahn.dev:7389 18.11.19 15:43:48.279 ADMIN ( ERROR ) : admin.syntax.import_syntax_files: loading '/usr/lib/pymodules/python2.7/univention/admin/syntax.d/univention-virtual-machine-manager-schema.py' failed 18.11.19 15:43:48.280 ADMIN ( ERROR ) : admin.syntax.import_syntax_files: TRACEBACK: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/admin/syntax.py", line 91, in import_syntax_files with open(fn, 'r') as fd: IOError: [Errno 2] No such file or directory: '/usr/lib/pymodules/python2.7/univention/admin/syntax.d/univention-virtual-machine-manager-schema.py' modules/univention/admin/modules.py:95 update() modules/univention/admin/syntax.py:76 import_syntax_files() 87 »···»···»···syntax_files = (os.path.join(syntax_d, f) for f in os.listdir(syntax_d) if f.endswith('.py')) listdir() also returns _dangling_ symbolic links, which exists, because `update-python-modules` had not yet been called when UDL was restarted. +++ This bug was initially created as a clone of Bug #50495 +++ +++ This bug was initially created as a clone of Bug #50493 +++
Same reason as Bug #50338 ?