Parece que JupyterHub y SELinux no se llevan bien, el síntoma que detecté es que el formulario de login sólo funciona una vez, cuando sales de esa sesión no hay forma de volver a entrar hasta que se reinicia JupyterHub.
La solución del problema la he encontrado en serverfault.com.
El primer paso es cambiar SELinux a "permissive". SELinux sigue activo pero se limita a generar un log con los problemas.
setenforce 0
A continuación intenta acceder a JupyterHub.
Comprueba los errores en audit.log:
sudo grep denied /var/log/audit/audit.log
Obtendrás líneas como la siguiente:
type=AVC msg=audit(1500023853.749:2956): avc: denied { entrypoint } for pid=5441 comm="jupyterhub" path="/usr/sbin/unix_chkpwd" dev="xvda1" ino=200405 scontext=unconfined_u:unconfined_r:unconfined_t:s0 tcontext=system_u:object_r:chkpwd_exec_t:s0 tclass=file
Ejecuta la siguiente línea para crear un módulo local:
sudo grep denied /var/log/audit/audit.log| grep jupyter| audit2allow -M local-module
El módulo se instala con:
sudo semodule -i local-module.pp
Vuelve a cambiar SELinux a "enforcing":
sudo setenforce 1
El problema debería estar resuelto.
1 Del graliontorile -
I am constantly invstigating online for ideas that can help me. Thanks!
2 Del Davis -
Your way of describing everything in this article
is actually pleasant, all be able to effortlessly understand it, Thanks a lot.
3 Del https://www.blurb.com/user/andhonltlp -
Thank you, I've just been searching for info about this
subject for a long time and yours is the greatest I have discovered so far.
However, what concerning the conclusion? Are you sure in regards to
the supply?
4 Del http://wiki.gta-zona.ru/index.php/Unlocking_the_advantages:_Top_rated_Guidelines_for_Harnessing_the_strength_of_Carrot_Seed_Oil_32491 -
Yes! Finally someone writes about have a peek at this web-site.
5 Del https://www.anobii.com -
Hello, i read your blog occasionally and i own a similar one and i was just curious if you get a lot of
spam remarks? If so how do you protect against it, any plugin or anything you can suggest?
I get so much lately it's driving me insane so any assistance is
very much appreciated.
6 Del https://golf-wiki.win -
I like the valuable information you provide in your articles.
I will bookmark your weblog and check again here frequently.
I am quite certain I'll learn plenty of new stuff right here!
Good luck for the next!
7 Del https://zulu-wiki.win/index.php?title=From_Kitchen_area_to_Beauty_Regimen:_Specialist_Guidelines_for_Incorporating_Cinnamon_and_Oil_69325 -
It's in reality a nice and useful piece
of information. I am satisfied that you shared this useful information with us.
Please stay us up to date like this. Thanks for sharing.
8 Del Palma -
Every weekend i used to visit this web site, because i want enjoyment, for
the reason that this this website conations actually pleasant funny stuff too.