Univention Bugzilla – Bug 44432
french reboot module doesn't work
Last modified: 2019-02-04 11:21:18 CET
Version: 4.1-4 errata406 (Vahr) Remark: Restart Échec de l'exécution de la commande « lib/server/reboot » : Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 281, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 190, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/lib/server.py", line 96, in reboot if self._shutdown(message, reboot=True) != 0: File "%PY2.7%/univention/management/console/modules/lib/server.py", line 121, in _shutdown return subprocess.call(('/sbin/shutdown', action, 'now', message)) File "/usr/lib/python2.7/subprocess.py", line 493, in call return Popen(*popenargs, **kwargs).wait() 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 TypeError: execv() arg 2 must contain only strings
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
The input needs to be encoded as UTF-8, so that it's a bytestring.