samba: Error 505 when trying to uninstall app
During uninstallation, Plinth tries to run a command that was uninstalled:
INFO plinth.package Running uninstall for app - samba, packages - ['samba', 'acl'] INFO plinth.actions # plinth..remove(…) Unit smbd.service could not be found. INFO plinth.actions # storage..usage_info(…) INFO plinth.actions # samba..get_shares(…) INFO plinth.actions # samba..get_users(…) INFO plinth.setup Uninstall completed: samba: App uninstalled. None DEBUG plinth.operation Operation: samba: Uninstalling app: on_complete called ERROR plinth.actions Error running action samba..get_users(*(), **{}): [Errno 2] No such file or directory: b'' (2, 'No such file or directory') [' File "/freedombox/actions/actions", line 92, in _call\n return_values = func(*arguments[\'args\'], **arguments[\'kwargs\'])\n', ' File "/freedombox/plinth/modules/samba/privileged.py", line 266, in get_users\n output = subprocess.check_output([\'pdbedit\', \'-L\']).decode()\n', ' File "/usr/lib/python3.10/subprocess.py", line 421, in check_output\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n', ' File "/usr/lib/python3.10/subprocess.py", line 503, in run\n with Popen(*popenargs, **kwargs) as process:\n', ' File "/usr/lib/python3.10/subprocess.py", line 971, in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n', ' File "/usr/lib/python3.10/subprocess.py", line 1847, in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\n']