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

At boot time, a CBRAIN app should touch() some filesystem config dirs and files #1282

Open
prioux opened this issue Nov 14, 2022 · 0 comments · May be fixed by #1367
Open

At boot time, a CBRAIN app should touch() some filesystem config dirs and files #1282

prioux opened this issue Nov 14, 2022 · 0 comments · May be fixed by #1367
Assignees
Labels
Admin Features or bugs related to administrative features Enhancement Priority: Normal

Comments

@prioux
Copy link
Member

prioux commented Nov 14, 2022

Some Bourreaux systems are configured with disk allocations where files older than N days are erased automatically.

To prevent such system from deleting the top-level directories for the DP_Cache, and some cbrain-specific admin files, I suggest that part of the boot process should touch them to reset their timestamps.

On a portal or bourreau:

  • the DataProvider cache dir
  • the DP_Cache_Key.md5 and DP_Cache_Rev.id located in that cache dir

On a bourreau:

  • the gridshare dir
  • the DP_Cache symbolic link located in it. WARNING: make sure to update the timestamp of the symlink itself!
@prioux prioux added Enhancement Priority: Normal Admin Features or bugs related to administrative features labels Nov 14, 2022
@MontrealSergiy MontrealSergiy self-assigned this Dec 20, 2023
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Dec 20, 2023
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 15, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 15, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 18, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 18, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 18, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 18, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 18, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 18, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 18, 2024
MontrealSergiy added a commit to MontrealSergiy/cbrain that referenced this issue Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Features or bugs related to administrative features Enhancement Priority: Normal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants