You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2013/10/03 02:02:42 UTC

[jira] [Issue Comment Deleted] (TS-2261) add config option to restore/elevate access to reading files by root when loading plugins

     [ https://issues.apache.org/jira/browse/TS-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Call updated TS-2261:
---------------------------

    Comment: was deleted

(was: Looks like it might be working this time:
{code}
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [EnableCoreFile] zret : 0
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [EnableCoreFile] zret : 0
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (server) Setting syslog facility to 24
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (server) Setting syslog facility to 24
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [PreserveCapabilities] zret : 0 No such file or directory
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [PreserveCapabilities] zret : 0 No such file or directory
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [EnableCoreFile] zret : 0
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [EnableCoreFile] zret : 0
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [RestrictCapabilities] zret : -1
[Oct  2 16:58:03.765] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [RestrictCapabilities] zret : -1
[Oct  2 16:58:03.766] Server {0x7ffa839b2840} DEBUG: (server) uid=99, gid=99, euid=99, egid=99, caps =p core=enabled thread=0x7ffa839b2840
[Oct  2 16:58:03.797] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] state : 1
[Oct  2 16:58:03.797] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] zret : 1 No such file or directory
uid: 99 euid: 99 gid: 99 eguid: 99
fd: 42
[Oct  2 16:58:03.797] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] state : 0
[Oct  2 16:58:03.797] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] zret : 1 No such file or directory
[Oct  2 16:58:03.818] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] state : 1
[Oct  2 16:58:03.818] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] zret : 1 No such file or directory
uid: 99 euid: 99 gid: 99 eguid: 99
fd: 43
[Oct  2 16:58:03.818] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] state : 0
[Oct  2 16:58:03.818] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] zret : 1 No such file or directory
[Oct  2 16:58:03.818] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] state : 1
[Oct  2 16:58:03.818] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] zret : 1 No such file or directory
uid: 99 euid: 99 gid: 99 eguid: 99
fd: 44
[Oct  2 16:58:03.818] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] state : 0
[Oct  2 16:58:03.818] Server {0x7ffa839b2840} DEBUG: (proxy_priv) [elevateFileAccess] zret : 1 No such file or directory
{code})

> add config option to restore/elevate access to reading files by root when loading plugins
> -----------------------------------------------------------------------------------------
>
>                 Key: TS-2261
>                 URL: https://issues.apache.org/jira/browse/TS-2261
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Bryan Call
>             Fix For: 4.1.0
>
>         Attachments: root_priv.tbz, ts-2261.patch
>
>
> Add a configuration option that would call:
> elevateFileAccess(true) before and elevateFileAccess(false) after plugin_init() is called.



--
This message was sent by Atlassian JIRA
(v6.1#6144)