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

Find and fix broken symlinks #154

Open
jpecar opened this issue Jan 21, 2022 · 2 comments
Open

Find and fix broken symlinks #154

jpecar opened this issue Jan 21, 2022 · 2 comments

Comments

@jpecar
Copy link

jpecar commented Jan 21, 2022

While playing with packing up EESSI into a container I found out that compat layer includes some dangling symlinks and some files, unreadable to unprivileged user. May I suggest to add something like find $EESSI_PREFIX -xtype l to some test suite to find such files and fix them before rolling out new version?

@boegel
Copy link
Contributor

boegel commented Jan 21, 2022

Those symbolic links will indeed be broken on some operating systems (say CentOS), but not in others (say Ubuntu).

They were put in place a while ago for good reasons, see for example #89 and #105

@jpecar
Copy link
Author

jpecar commented Jan 21, 2022

Hosts and localtime are not problematic, what I'm hitting is etc/runlevels/sysinit/kmod-static-nodes, lib64/libnss_centrifydc.so.2, lib64/libnss_ldap.so.2 and a couple of unreadable files and folders, like etc/ssl/private, var/log/sandbox. Not sure what we want to do with these ...

Also there are a couple dangling symlinks in the software tree (like WRF) but I guess we should handle those separately.

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

No branches or pull requests

2 participants