Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-132407

cronie fails to load cron table in Imagemode

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • cronie
    • None
    • None
    • rhel-base-utils-antfarm
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      cronie fails to load cron table in Image mode due to wrong selinux context when the crontab is newly created in /var/spool/cron/<user> (either when using `crontab -e` or creating the file directly).

      crond[1156]: (root) Unauthorized SELinux context=unconfined_u:unconfined_r:unconfined_>
      crond[1156]: (root) FAILED (loading cron table)

       

       

      Cron jobs in /etc/cron.* work as expected.

       

      The issue is fixed by running `restorecon -Rv /var/spool/cron`.

              opohorel@redhat.com Ondrej Pohorelsky
              jheger@redhat.com Jakub Heger
              Ondrej Pohorelsky Ondrej Pohorelsky
              RHEL SST CS base utils QE Bot RHEL SST CS base utils QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: