Actions
Bug #8956
closedRemove 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
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)
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 (
)
Updated by Eric Helms about 9 years ago
- translation missing: en.field_release set to 31
Updated by Eric Helms about 9 years ago
- translation missing: en.field_release changed from 31 to 23
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.
Updated by Eric Helms about 8 years ago
- Project changed from Katello to Packaging
- Category deleted (
88) - Target version deleted (
67)
Actions