[
https://issues.apache.org/jira/browse/TS-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-1263:
------------------------------
Fix Version/s: (was: 6.0.0)
sometime
> owner of mgmtapisocket can change if not compiling with libcap
> --------------------------------------------------------------
>
> Key: TS-1263
> URL: https://issues.apache.org/jira/browse/TS-1263
> Project: Traffic Server
> Issue Type: Bug
> Components: Manager
> Affects Versions: 3.1.3
> Reporter: Bryan Call
> Assignee: Alan M. Carroll
> Fix For: sometime
>
>
> Sometimes the ownership of mgmtapisocket is nobody and sometimes it is root.
> This is only seen if you don't link with libcap.
> The thread that creates the unix-socket (mgmtapisocket) is created before ATS
> binds its ports. There is a race between seteuid() called from
> restoreRootPriv() before we bind() the sockets and the creation of the
> unix-socket in the "web agent thread".
> If ATS binds the ports before the thread is created that creates
> mgmtapisocket then the proper ownership of mgmtapisocket happens (owned by
> nobody).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)