core-agent-linux/qrexec
Marek Marczykowski-Górecki f0b057479e
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.
Since 5512e4eada 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
2018-02-22 00:49:46 +01:00
..
Makefile archlinux: ship pam.d/qrexec as a replacement of using su 2017-10-23 08:09:34 +02:00
qrexec-agent-data.c qrexec: code style fix - use spaces for indentation 2017-10-02 05:14:49 +02:00
qrexec-agent.c qrexec: use exec_qubes_rpc_if_requested() from qubes-utils 2018-02-16 04:25:56 +01:00
qrexec-agent.h qrexec: use exec_qubes_rpc_if_requested() from qubes-utils 2018-02-16 04:25:56 +01:00
qrexec-client-vm.c qrexec: translate keywords in target specification on the client side 2018-02-19 02:08:45 +01:00
qrexec-fork-server.c qrexec: use exec_qubes_rpc_if_requested() from qubes-utils 2018-02-16 04:25:56 +01:00
qrexec.pam qrexec: use PAM directly instead of calling su to setup the session 2017-07-05 02:17:43 +02:00
qrexec.pam.archlinux archlinux: ship pam.d/qrexec as a replacement of using su 2017-10-23 08:09:34 +02:00
qrexec.pam.debian qrexec: ship pam configuration for debian 2017-07-11 20:21:46 +02:00
qubes-rpc-multiplexer qrexec: launch services in login shell 2018-02-22 00:49:46 +01:00