I have a python service which issues the foll. command via a subprocess
call:

RUNLEVEL=1 apt-get install <package>

This package, as part of it's installation, issues a systemctl status smb
command which is getting stuck forever. The reason for giving RUNLEVEL=1 is
to prevent nginx (a dependency of the package) from starting up on port 80
as soon as it is installed since a different service is already bound to
port 80.

OS: Debian 8 Jessie, Python: 2.7.13

Any ideas on what could possibly be wrong? Please ask for more info.

Thanks.

Reply via email to