Skip to content

feat: MAINTENANCE_MODE enabled default SESSIONS_ROOT to /tmp if not set#9

Open
josegomezr wants to merge 1 commit intoSUSE:suse-mainfrom
josegomezr:maintenance_auto_tmp
Open

feat: MAINTENANCE_MODE enabled default SESSIONS_ROOT to /tmp if not set#9
josegomezr wants to merge 1 commit intoSUSE:suse-mainfrom
josegomezr:maintenance_auto_tmp

Conversation

@josegomezr
Copy link

This avoids the condition where the instance is started with MAINTENANCE_MODE and the django sessions engine is still django.contrib.sessions.backends.db.

This avoids the condition where the instance is started with
MAINTENANCE_MODE and the django sessions engine is still
`django.contrib.sessions.backends.db`.
@tacerus
Copy link
Member

tacerus commented Feb 27, 2025

Hi,

I am not a fan of world-writable /tmp, is there a better place for this?
Also, would this not be a good candidate to submit upstream instead, or is it something specific to our environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants