-
Notifications
You must be signed in to change notification settings - Fork 134
Error: file exists @ dir_s_mkdir - ~/.config in dashboard initializer #4358
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
Comments
That is not very good news. Clearly there's something wrong here. We run EL9 too but don't encounter that. It should be working like |
I suspect it is due to SELinux but haven't been able to track down any relevant denials in the audit logs as yet. |
Can you try to
I guess the actual replication is when the parent directory exists ( |
That works without an issue, but I'm not running it from ondemand process in that case. Looking at the SELinux file https://github.com/OSC/ondemand/blob/master/packaging/rpm/ondemand-selinux.te I can't see config_home_t mentioned which seems to be the culprit. |
Every time I onboard a new user to ondemand I get an error in the following line.
From tracing back, it looks like ondemand is trying to create ~/.config as a parent file for ~/.config/ondemand when ~/.config already exists. Net result is that new user cannot log in.
ondemand/apps/dashboard/config/initializers/upgrade_to_3.1.rb
Line 10 in c1b3789
We are using RHEL9.5 with latest ondemand release.
The text was updated successfully, but these errors were encountered: