[ 
https://issues.apache.org/jira/browse/MESOS-6312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Klues updated MESOS-6312:
-------------------------------
    Description: 
We recently introduced a new agent flag for {{\-\-runtime_dir}}. Unlike the 
{{\-\-work_dir}}, this directory is designed to hold the state of a running 
agent between subsequent agent-restarts (but not across host reboots).

By default, this flag is set to {{/var/run/mesos}} since this is a {{tempfs}} 
on linux that gets automatically cleaned up on reboot. However, on most systems 
{{/var/run/mesos}} is only writable by root, causing problems when launching an 
agent as non-root and not pointing {{--runtime_dir}} to a different location.

We need to call this out in the upgrade.md and getting-started.md docs so that 
people know they may need to set this going forward.

  was:
We recently introduced a new agent flag for {{--runtime_dir}}. Unlike the 
{{--work_dir}}, this directory is designed to hold the state of a running agent 
between subsequent agent-restarts (but not across host reboots).

By default, this flag is set to {{/var/run/mesos}} since this is a {{tempfs}} 
on linux that gets automatically cleaned up on reboot. However, on most systems 
{{/var/run/mesos}} is only writable by root, causing problems when launching an 
agent as non-root and not pointing {{--runtime_dir}} to a different location.

We need to call this out in the upgrade.md and getting-started.md docs so that 
people know they may need to set this going forward.


> Add requirement in upgrade.md and getting-started.md for agent 
> '--runtime_dir' in when running as non-root
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-6312
>                 URL: https://issues.apache.org/jira/browse/MESOS-6312
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Kevin Klues
>            Priority: Blocker
>             Fix For: 1.1.0
>
>
> We recently introduced a new agent flag for {{\-\-runtime_dir}}. Unlike the 
> {{\-\-work_dir}}, this directory is designed to hold the state of a running 
> agent between subsequent agent-restarts (but not across host reboots).
> By default, this flag is set to {{/var/run/mesos}} since this is a {{tempfs}} 
> on linux that gets automatically cleaned up on reboot. However, on most 
> systems {{/var/run/mesos}} is only writable by root, causing problems when 
> launching an agent as non-root and not pointing {{--runtime_dir}} to a 
> different location.
> We need to call this out in the upgrade.md and getting-started.md docs so 
> that people know they may need to set this going forward.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to