Skip to content

secure_getenv(3) makes it difficult for clients to use gss-proxy with SELinux and domain transitions due to AT_SECURE flag #127

@yrro

Description

@yrro

I was not able to get Dovecot to be able to use gss-proxy.

The problem is that the master dovecot process, running as root within dovecot_t runs the Dovecot authentication server as a separate process as the dovecot user within dovecot_auth_t. When the process transition occurs, the child process runs with the AT_SECURE flag set.

In this situation, secure_getenv(3) always returns 0, therefore the plugin never activates because it is not able to see the value of the GSS_USE_PROXY= environment variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions