Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11503

yum-cron not working

    Details

    • Type: Bug
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Labels:
      None

      Description

      yum-cron is supposed to be apply security updates within sandbox-jenkins-demo but appears to be doing nothing.

        Attachments

          Issue Links

            Activity

            Hide
            jhoblitt Joshua Hoblitt added a comment -

            This is the systemd service unit for yum-cron:

            [Unit]
            Description=Run automatic yum updates as a cron job
             
            [Service]
            Type=oneshot
            RemainAfterExit=yes
            ExecStart=/bin/touch /var/lock/subsys/yum-cron
            ExecStop=/bin/rm -f /var/lock/subsys/yum-cron
             
            [Install]
            WantedBy=multi-user.target
            

            Show
            jhoblitt Joshua Hoblitt added a comment - This is the systemd service unit for yum-cron : [Unit] Description=Run automatic yum updates as a cron job [Service] Type=oneshot RemainAfterExit=yes ExecStart=/bin/touch /var/lock/subsys/yum-cron ExecStop=/bin/rm -f /var/lock/subsys/yum-cron [Install] WantedBy=multi-user.target
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            In production, the crontab /etc/cron.daily/0yum-daily.cron does appear to be running – so yum-cron is being run... I'm going to close this ticket as the problem seems to be non-reproducible.

            Show
            jhoblitt Joshua Hoblitt added a comment - In production, the crontab /etc/cron.daily/0yum-daily.cron does appear to be running – so yum-cron is being run... I'm going to close this ticket as the problem seems to be non-reproducible.

              People

              • Assignee:
                jhoblitt Joshua Hoblitt
                Reporter:
                jhoblitt Joshua Hoblitt
                Watchers:
                Joshua Hoblitt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel