Project

General

Profile

Actions

Bug #5472

closed

Rvm::bundler fails to use sudo when Requiretty is enabled

Added by Stephen Benjamin over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

[ WARN 2014-04-28 11:01:12 verbose]  /Stage[main]/Katello_devel::Setup/Katello_devel::Rvm_bundle[exec rake db:seed]/Exec[rvm-bundle-exec rake db:seed]/returns: sudo: sorry, you must have a tty to run sudo
[ERROR 2014-04-28 11:01:12 verbose]  /Stage[main]/Katello_devel::Setup/Katello_devel::Rvm_bundle[exec rake db:seed]/Exec[rvm-bundle-exec rake db:seed]: Failed to call refresh: sudo su stbenjam -c '/bin/bash --login -c "rvm use 1.9.3-p448 && bundle exec rake db:seed"' returned 1 instead of one of [0]
[ERROR 2014-04-28 11:01:12 verbose]  /Stage[main]/Katello_devel::Setup/Katello_devel::Rvm_bundle[exec rake db:seed]/Exec[rvm-bundle-exec rake db:seed]: sudo su stbenjam -c '/bin/bash --login -c "rvm use 1.9.3-p448 && bundle exec rake db:seed"' returned 1 instead of one of [0]
<pre>
Actions

Also available in: Atom PDF