[
https://issues.apache.org/jira/browse/MESOS-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986280#comment-14986280
]
Sarjeet Singh commented on MESOS-3727:
--------------------------------------
Another issue with latest mesos version (mesos-0.25.0-0.2.70.centos65.x86_64)
along with above issue:
[node-1 ~]# ls -ld /etc/default/mesos*
- rw - r ----- 1 root root 21 Nov 2 11:36 /etc/default/mesos
- rw - r ----- 1 root root 34 Oct 12 14:19 /etc/default/mesos-master
- rw - r ----- 1 root root 27 Oct 12 14:19 /etc/default/mesos-slave
Above files don't have 'read' permission for non-root user, and fails to launch
mesos-master when executing '/usr/bin/mesos-init-wrapper'.
Here are "permission issue" logs when launching mesos executables by non-root
user:
1. /usr/bin/mesos-init-wrapper: Permission denied
2. /usr/bin/mesos-init-wrapper: line 115: /etc/default/mesos: Permission denied
3. /usr/bin/mesos-init-wrapper: line 116: /etc/default/mesos-master: Permission
denied
> File permission inconsistency for mesos-master executable and
> mesos-init-wrapper.
> ---------------------------------------------------------------------------------
>
> Key: MESOS-3727
> URL: https://issues.apache.org/jira/browse/MESOS-3727
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.25.0
> Reporter: Sarjeet Singh
> Priority: Trivial
>
> There seems some file permission inconsistency for mesos-master executable
> and mesos-init-wrapper script with mesos-version 0.25.
> node-1:~# dpkg -l | grep mesos
> ii mesos 0.25.0-0.2.70.ubuntu1404
> node-1:~# ls -ld /usr/sbin/mesos-master
> -rwxr-xr-x 1 root root 289173 Oct 12 14:07 /usr/sbin/mesos-master
> node-1:~# ls -ld /usr/bin/mesos-init-wrapper
> -rwxrwx--- 1 root root 5202 Oct 1 11:17 /usr/bin/mesos-init-wrapper
> Observed the issue when tried to execute the mesos-master executable with
> non-root user and since, init-wrapper doesn't have any non-root user
> permission, it didn't get executed and mesos-master didn't get started.
> Should be make these file permission consistent for executable & init-script?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)