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

/etc/localtime is missing in 2021.03 compat layer #93

Closed
boegel opened this issue Mar 30, 2021 · 4 comments · Fixed by #105
Closed

/etc/localtime is missing in 2021.03 compat layer #93

boegel opened this issue Mar 30, 2021 · 4 comments · Fixed by #105
Labels
bug Something isn't working pilot-2021.06

Comments

@boegel
Copy link
Contributor

boegel commented Mar 30, 2021

This causes timezone confusion for some software, see EESSI/software-layer#79 .

We do have /etc/localtime in the 2020.12 compat layer:

cat /cvmfs/pilot.eessi-hpc.org/2020.12/compat/linux/x86_64/etc/localtime
TZif2-00TZif2-00
<-00>0

We should make this a symlink into the host, to get correct time zone information?

ln -s /etc/localtime /cvmfs/pilot.eessi-hpc.org/2021.03/compat/linux/x86_64/etc/localtime
@boegel boegel added the bug Something isn't working label Mar 30, 2021
@bedroge
Copy link
Collaborator

bedroge commented Mar 30, 2021

Apparently this was caused by an update of sys-libs/timezone-data, see gentoo/gentoo@c4bf952#diff-6b1379cb55d60e0b6dc6cc2be8a09b90cf10e403b82bc8c825fef1ccc18717ad

@boegel
Copy link
Contributor Author

boegel commented May 19, 2021

@bedroge This one was fixed somehow, right? (how?)
So we can close it?

@bedroge
Copy link
Collaborator

bedroge commented May 19, 2021

I wasn't sure if we had already fixed it, but I don't see the symlink here, so I guess it hasn't been fixed:
https://github.com/EESSI/compatibility-layer/blob/main/ansible/playbooks/roles/compatibility_layer/defaults/main.yml#L52

@boegel
Copy link
Contributor Author

boegel commented May 22, 2021

We danced around this problem by defining $TZ where is matters (when installing R, since this was breaking the installation of the rstan instance), see EESSI/software-layer@86e5ca9 .

For the next iteration of the EESSI pilot, we should fix this, so we can stopping setting $TZ when installing R...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pilot-2021.06
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants