Univention Bugzilla – Bug 45093
Missing dependency univention-register-network-address -> umc-command
Last modified: 2020-07-06 11:54:22 CEST
/etc/network/if-up.d/90_dns_update → /usr/sbin/univention-register-network-address → /usr/sbin/umc-command but the univention-manegement-console* packages can be uninstalled which also removed the umc-command executable. Afterwards each DHCP release renewal dumps a stack trace: # /usr/sbin/univention-register-network-address Traceback (most recent call last): File "/usr/sbin/univention-register-network-address", line 77, in <module> if not register_iface(configRegistry, iface, options.verbose): File "/usr/sbin/univention-register-network-address", line 43, in register_iface p1 = subprocess.Popen(['/usr/sbin/umc-command', '-U', '%s$' % configRegistry.get('hostname'), '-y', '/etc/machine.secret', '-s', configRegistry.get('ldap/master'), 'ip/change', '-o' ,'ip=%s' % configRegistry.get('interfaces/%s/address' % iface), '-o', 'oldip=%s' % configRegistry.get('interfaces/%s/fallback/address' % iface), '-o', 'netmask=%s' % configRegistry.get('interfaces/%s/netmask' % iface), '-o', 'role=%s' % configRegistry.get('server/role')], shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory # dpkg -S /usr/sbin/umc-command univention-management-console-server: /usr/sbin/umc-command # dpkg -S /usr/sbin/univention-register-network-address univention-network-common: /usr/sbin/univention-register-network-address # apt-cache show --no-all-versions show univention-network-common Package: univention-network-common Version: 8.0.1-1.112.201511032329 Suggests: univention-management-console-server The tool should fail gracefully if the package is missing. Please don't add a hard dependency as I don't want UMC.
Would be obsolete by Bug #42128
Obsolete by Bug #42128. *** This bug has been marked as a duplicate of bug 42128 ***