Skip to content

CROND fails to run schedules due to PAM for centos:latest #31

@tspicer

Description

@tspicer

In the default setup CROND will not run even with cronie installed and the process is running. This seems to be an issue with PAM. In "/etc/pamd.d/crond" the line "session required pam_loginuid.so" is causing CROND to fail. The only solution that seemed to work was the following:

RUN sed -i '/session required pam_loginuid.so/d' /etc/pamd.d/crond

Once removed or commented out everything CROND worked as expected.

This was on centos:latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions