Project

General

Profile

Bug #11129

katello-service doesn't work on el6

Added by Stephen Benjamin about 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

[root@katello-centos6-bats yum.repos.d]# katello-service status
/usr/bin/katello-service:3: command not found: /usr/sbin/service-wait qpidd status

It looks like ruby is looking for a file named 'service-wait qpidd status' in /usr/sbin.

Associated revisions

Revision 1727a4f2 (diff)
Added by Stephen Benjamin about 6 years ago

fixes #11129 - add shebang to service-wait

Revision ae5a79b7
Added by Stephen Benjamin about 6 years ago

Merge pull request #5359 from stbenjam/11129

fixes #11129 - add shebang to service-wait

History

#1 Updated by Stephen Benjamin about 6 years ago

Looks like arguments have to be quoted?

irb(main):002:0> `/usr/sbin/service-wait qpidd status`
(irb):2: command not found: /usr/sbin/service-wait qpidd status
=> ""
irb(main):003:0> `/usr/sbin/service-wait "qpidd status"`
=> "qpidd is stopped\n"

#2 Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5359 added
  • Pull request deleted ()

#3 Updated by Anonymous about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF