Project

General

Profile

Bug #5472

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

Added by Stephen Benjamin over 6 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
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>

Associated revisions

Revision 020efd57 (diff)
Added by Stephen Benjamin over 6 years ago

fixes #5472 - disable requiretty for katello_devel user

Revision 1f45ff48
Added by Eric Helms over 6 years ago

Merge pull request #4 from stbenjam/5472-sudoers

fixes #5472 - disable requiretty for katello_devel user

Revision dc1e082a
Added by Eric Helms over 6 years ago

Merge pull request #52 from ehelms/fixes-devel-issues

Fixes #5495, #5472, #5467 - Updates to the devel module to address RVM issues.

History

#2 Updated by Eric Helms over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello-installer|commit:dc1e082a2cc58741ef720c4cd530bbff0eafee5a.

#3 Updated by Eric Helms about 6 years ago

  • Target version set to 44

#4 Updated by Eric Helms about 6 years ago

  • Triaged changed from No to Yes

#5 Updated by Eric Helms almost 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF