[
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: 3.3.1)
sometime
Assignee: (was: Bryan Call)
Moving out.
> 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: Management
> Affects Versions: 3.1.3
> Reporter: Bryan Call
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira