Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #20557 - Clear tmp session/cache on upgrade #1760

Merged
merged 1 commit into from Aug 24, 2017

Conversation

dLobatog
Copy link
Member

@dLobatog dLobatog commented Aug 11, 2017

@ehelms
Copy link
Member

ehelms commented Aug 14, 2017

Is this something that only affects the RPM installations? Should the installer be doing this? @mmoll

@mmoll
Copy link

mmoll commented Aug 14, 2017

I guess we should do that in DEBs also, the packages are the right place IMHO. The rake jobs in puppet-foreman in manifests/database.pp and it could also get added there.

I'm wondering if some cache clearing would also be needed after plugin installs?

@ehelms
Copy link
Member

ehelms commented Aug 15, 2017

Oh wait, wouldn't this be only done in the buildroot? Oh, sorry. Man, I feel like our RPM does a lot that is risky on install given the complexity and what things the installer is responsible for.

@mmoll
Copy link

mmoll commented Aug 16, 2017

%postrans -> "Runs after all RPM package transactions." This should be fine, no?

@ehelms ehelms merged commit a9b4455 into theforeman:rpm/develop Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants