Project

General

Profile

Bug #2633

local_secret_token.rb is zero bytes in RPM

Added by Dominic Cleal almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

After an install of Foreman 1.2, the generated token file is zero bytes:

rw-r----. 1 root foreman   0 Jun  7 06:27 /usr/share/foreman/config/initializers/local_secret_token.rb

There's a fallback path where it creates ~foreman/tmp/secret_token instead, but ideally the static one should be generated.

Associated revisions

Revision a5f44532 (diff)
Added by Dominic Cleal almost 6 years ago

fixes #2633 - enable generate_token rake task to run from elsewhere

Revision 34848de3 (diff)
Added by Dominic Cleal almost 6 years ago

fixes #2633 - enable generate_token rake task to run from elsewhere
(cherry picked from commit a5f4453257060e0e02b7fdd7498e2f5936c38a27)

History

#1 Updated by Dominic Cleal almost 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominic Cleal

#2 Updated by Dominic Cleal almost 6 years ago

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

Also available in: Atom PDF