Solutions

The command at always outputs “Warning: commands will be executed using /bin/sh” in Rocky Linux 8

by ,


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

Operating System and Software

  • Rocky Linux 8
  • at

Problem

  • The command at outputs as follow:

     # /usr/bin/at now <<< job.sh 20210521132925161641804289383 8469308861616420210521132925
     Warning: commands will be executed using /bin/sh
     job 13 at Mon May 24 10:36:00 2021
    

How to Fix

  • The warning should be safely ignored.

Origin of the Problem

  • In Rocky Linux 8, the command at has been changed to always output the warning.
  • Unfortunately, there is no way to suppress it in the configuration.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: