Actions
Bug #22551
closedsudo requires a tty while running katello-backup from cron
Status:
Closed
Priority:
Normal
Assignee:
Category:
Backup & Restore
Target version:
Difficulty:
Triaged:
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1540382
Description of problem:
If you run katello-backup from cron then it fails with
'sorry, you must have a tty to run sudo'
Version-Release number of selected component (if applicable):
Satellite 6.2.13
How reproducible:
100%
Steps to Reproduce:
Put this line to crontab
33 15 * * * root /usr/bin/katello-backup /var/sat-content --online-backup --skip-pulp-content >> /var/log/satellite/backups.log 2>&1
Actual results:
Starting backup: 2018-01-27 15:33:02 +1100
Creating backup folder /var/sat-content/katello-backup-20180127153302
sudo: sorry, you must have a tty to run sudo
*cancelled*
Expected results:
Completed backup
Updated by Evgeni Golov about 7 years ago
- Subject changed from sudo requires a tty while running katello-backup from cron to sudo requires a tty while running katello-backup from cron
- Assignee changed from Christine Fouant to Evgeni Golov
Updated by The Foreman Bot about 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/2194 added
Updated by Justin Sherrill about 7 years ago
- Translation missing: en.field_release set to 338
Updated by Evgeni Golov almost 7 years ago
- Status changed from Ready For Testing to Closed
Closing as the PR has been merged
Actions