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

anacron /etc/cron.hourly produces unnecessary output

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • CentOS Stream 10
    • cronie
    • None
    • No
    • None
    • rhel-sst-cs-base-utils
    • ssg_core_services
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • All
    • None

      the hourly anacron run produces the output

      /etc/cron.hourly/0anacron:

      /etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or
      directory

      This should be conditional on /etc/default/anacron existing eg.

      if test -r /etc/default/anacron; then
          . /etc/default/anacron
      fi

      as is the case in cronie-anacron-1.7.2-2.fc41.x86_64

       

              opohorel@redhat.com Ondrej Pohorelsky
              m.a.young Michael Young (Inactive)
              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:
                Resolved: