qubesd: make sure NOTIFY_SOCKET variable is not propagated
qubesd do start other daemons - make sure they will not try to signal systemd about it. In some cases such daemons (qubesdb-daemon) behave differently based on this variable.
This commit is contained in:
parent
dc2563271c
commit
4d6d6c913a
@ -217,6 +217,8 @@ def main(args=None):
|
||||
sighandler, loop, signame, server, server_internal)
|
||||
|
||||
qubes.utils.systemd_notify()
|
||||
# make sure children will not inherit this
|
||||
os.environ.pop('NOTIFY_SOCKET', None)
|
||||
|
||||
try:
|
||||
loop.run_forever()
|
||||
|
Loading…
Reference in New Issue
Block a user