Bug #8956
Remove secret-token generation and shared secret from katello's specfile
Status:
Closed
Priority:
Normal
Assignee:
-
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
- 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
Associated revisions
History
#1
Updated by Mike McCune over 7 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)
#2
Updated by The Foreman Bot over 7 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 (
)
#3
Updated by Eric Helms about 7 years ago
- Target version changed from 66 to 67
#4
Updated by Eric Helms about 7 years ago
- Legacy Backlogs Release (now unused) set to 31
#5
Updated by Eric Helms about 7 years ago
- Legacy Backlogs Release (now unused) changed from 31 to 23
#6
Updated by Anonymous about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset commit:katello|80f4081c90ad1b1fe9563cf230c6d8abd074ff24.
#7
Updated by Eric Helms over 6 years ago
- Project changed from Katello to Packaging
- Category deleted (
88) - Target version deleted (
67)
#8
Updated by Greg Sutcliffe over 3 years ago
- Target version deleted (
Katello 2.2)
fixes #8956, #9337 - remove unused scripts and files from specfile