[ 
https://issues.apache.org/jira/browse/MESOS-6122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467862#comment-15467862
 ] 

Gennady Feldman commented on MESOS-6122:
----------------------------------------

I0903 13:26:10.352615  5309 main.cpp:244] Version: 1.0.1
--version: applet not found
E0903 13:26:10.354631  5309 shell.hpp:106] Command '/bin/busybox --version' 
failed; this is the output:
W0903 13:26:10.354928  5309 systemd.cpp:214] Failed to test command 
'/bin/busybox --version': Failed to execute '/bin/busybox --version'; the 
command was either not found or exited with a non-zero exit status: 127


> Mesos slave throws systemd errors even when passed a flag to disable systemd
> ----------------------------------------------------------------------------
>
>                 Key: MESOS-6122
>                 URL: https://issues.apache.org/jira/browse/MESOS-6122
>             Project: Mesos
>          Issue Type: Bug
>          Components: slave
>    Affects Versions: 1.0.1
>            Reporter: Gennady Feldman
>            Assignee: Jie Yu
>             Fix For: 1.1.0, 1.0.2
>
>
> Seems like the code in slave/main.cpp is logically in the wrong order:
> #ifdef __linux__
>   // Initialize systemd if it exists.
> if (systemd::exists() && flags.systemd_enable_support) {
> Lines 339-341: 
> https://github.com/apache/mesos/blob/master/src/slave/main.cpp#L341
> The flags should come first before the systemd::exists() check runs.Currently 
> the systemd.exists() always runs and there's no way to disable that check 
> from running in mesos-slave.



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

Reply via email to