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

Joshua Cohen commented on AURORA-1709:
--------------------------------------

https://reviews.apache.org/r/48492/

> After rb/46835 job key's role is required to exist as a user
> ------------------------------------------------------------
>
>                 Key: AURORA-1709
>                 URL: https://issues.apache.org/jira/browse/AURORA-1709
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Dmitriy Shirchenko
>            Assignee: Joshua Cohen
>
> sandbox.py had the change eg
> ```
>       return FileSystemImageSandbox(self.SANDBOX_NAME, 
> self._get_sandbox_user(assigned_task))
> ```
> which is a problem for us since 
> ```
>         pwent = pwd.getpwnam(self._user)
>         grent = grp.getgrgid(pwent.pw_gid)
> ```
> throw an exception if the user does not exist. This is a change in behavior 
> of how Aurora launched containers before the diff. Before, job key's role 
> could be mangled liberally and arbitrarily w/out this restriction.



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

Reply via email to