Project

General

Profile

Actions

Bug #8956

closed

Remove secret-token generation and shared secret from katello's specfile

Added by Mike McCune over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

We include a stanza in the katello spec file that we most likely do not need anymore:

https://github.com/Katello/katello/blob/master/deploy/katello.spec

...

%post
#Generate secret token if the file does not exist
#(this must be called both for installation and upgrade)
TOKEN=/etc/katello/secret_token
  1. this file must not be world readable at generation time
    umask 0077
    test -f $TOKEN || (echo $(</dev/urandom tr -dc A-Za-z0-9 | head -c128) > $TOKEN \
    && chmod 600 $TOKEN && chown katello:katello $TOKEN)

investigate if this is necessary and if not, remove it.

Also investigate and remove the entries for:

usermod -a -G katello-shared tomcat

Actions #1

Updated by Mike McCune over 9 years ago

  • Subject changed from Remove secret-token generation from katello's specfile to Remove secret-token generation and shared secret from katello's specfile
  • Description updated (diff)
Actions #2

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 66
  • Pull request https://github.com/Katello/katello/pull/5001 added
  • Pull request deleted ()
Actions #3

Updated by Eric Helms about 9 years ago

  • Target version changed from 66 to 67
Actions #4

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release set to 31
Actions #5

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release changed from 31 to 23
Actions #6

Updated by Anonymous about 9 years ago

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

Applied in changeset commit:katello|80f4081c90ad1b1fe9563cf230c6d8abd074ff24.

Actions #7

Updated by Eric Helms about 8 years ago

  • Project changed from Katello to Packaging
  • Category deleted (88)
  • Target version deleted (67)
Actions #8

Updated by Greg Sutcliffe over 5 years ago

  • Target version deleted (Katello 2.2)
Actions

Also available in: Atom PDF