qrexec: launch services in login shell
Previously the script was called through shell as: execl(shell, "-sh", "-c", "/usr/lib/qubes/qubes-rpc-multiplexer ...", 0); This tells the shell to load login scripts, including /etc/profile. Since5512e4eada
this is no longer the case and the script is called directly. Since most services do expect proper user session initialized (/etc/profile loaded etc), adjust the script's shebang to behave like a login shell and load those startup scripts. Fixes QubesOS/qubes-issues#3615 (cherry picked from commitf0b057479e
)
This commit is contained in:
parent
e2e8b00790
commit
d5c5715bc0
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/sh -l
|
||||
|
||||
# write stderr to both calling party and local log; be very careful about
|
||||
# closing file descriptors here - if either stdout or stderr will not be closed
|
||||
|
|
Loading…
Reference in New Issue
Block a user