Project

General

Profile

Actions

Bug #21341

closed

k-c-h errors when called /usr/sbin/katello-change-hostname

Added by Evgeni Golov over 7 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
High
Assignee:
Category:
Tooling
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

# /usr/sbin/katello-change-hostname -h
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- /usr/sbin/hostname-change.rb (LoadError)
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/sbin/katello-change-hostname:10:in `<main>'

This is because we check for the FILE being in /sbin, but in reality we install it to /usr/sbin these days.

The same bug is probably also present in other tools that were Class-ified

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/558 added
Actions #2

Updated by Evgeni Golov over 7 years ago

  • Status changed from Ready For Testing to Duplicate

dupe of 21348

Actions #3

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF