Skip to content

Fix JupyterHub SELinux context #3

@cmd-ntrf

Description

@cmd-ntrf
  • Make root owner of /opt/jupyterhub
  • Create directory /var/run/jupyterhub
  • Make jupyterhub owner of /var/run/jupyterhub
  • Move jupyterhub.service run directory to /var/run/jupyterhub
  • Remove login.te SELinux module
  • Make user jupyterhub shell nologin
  • Put jupyterhub_config.py in /etc/jupyterhub
  • Output jupyterhub log in /var/log
  • Add exec restorecon -r -F /opt/jupyterhub
  • Fix jupyterhub service selinux run context (currently unconfined_service_t)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions