While running online backup task as a root user via cron fails with error " sh: runuser: command not found "
Issue
- If the script runs from crontab, it fails to execute the postgress dump because it doesn’t have the /sbin dir in the PATH env var.
- Running "katello-backup --online" under root's crontab fails because the 'runuser' command cannot be found.
Environment
- Red Hat Satellite 6.2.8
- katello-common-3.0.0-17.el7sat
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
