[haiku-bugs] Re: [Haiku] #12534: Apps started via Shortcuts prefs don't get env variables
- From: "Haiku" <trac@xxxxxxxxxxxx>
- To: undisclosed-recipients: ;
- Date: Fri, 17 Sep 2021 17:58:20 -0000
#12534: Apps started via Shortcuts prefs don't get env variables
------------------------------------+----------------------------
Reporter: humdinger | Owner: leavengood
Type: bug | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: Servers/launch_daemon | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
------------------------------------+----------------------------
Comment (by pulkomandy):
Another one: decorators.
This is solved by having two separate instances of the decorator object,
that should be no problem at all and is not a reason to run two separate
processes.
There may be good reasons to do it, but it looks like you are trying to
fit all existing (or maybe even non-existing) problems to your preferred
solution here.
The argument for using multiple process is mainly about security and
making sure that an user can't access another's data. A possible second
argument is resilience (if each user gets a separate input_server, an
input_server crash could affect only one user and not everyone). Both of
these are in the somewhat unlikely case that we even allow multiple users
to use a machine at the same time, do we even want to go that way?
Running input_server and app_server as part of the user session is
probably a good short/mid term solution to the problem here, while at the
same time not being a good long term solution for future multiuser use
cases. But we can make the change when we actually start doing multiuser,
which as far as I know is still one of the things we put in the R2 roadmap
precisely because we know it will require large changes to the way we do
things.
--
Ticket URL: <
https://dev.haiku-os.org/ticket/12534#comment:45>
Haiku <
https://dev.haiku-os.org>
The Haiku operating system.
Other related posts: