Skip to content

Commit 65c1b4e

Browse files
authored
[Bug Fix][Cookbook] Fix permission error when running Pyxis+Enroot jobs with multi-user (#2893)
* Fix an issue where containerized jobs executed through Pyxis/Enroot in a multi-user environment (integrated with Active Directory) would fail due to permission error.
1 parent e9dfa3a commit 65c1b4e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste
4040
**BUG FIXES**
4141
- Remove usage of cfn-init for compute node bootstrapping to reduce node scale up time.
4242
- Fix the execution of overriding aws-parallelcluster-node package only on the head node during update.
43+
- Fix an issue where containerized jobs executed through Pyxis/Enroot in a multi-user environment (integrated with Active Directory) would fail.
4344

4445
3.12.0
4546
------

cookbooks/aws-parallelcluster-platform/templates/enroot/enroot.conf.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#ENROOT_LIBRARY_PATH /usr/lib/enroot
22
#ENROOT_SYSCONF_PATH /etc/enroot
3-
ENROOT_RUNTIME_PATH <%= node['cluster']['enroot']['temporary_dir'] %>/runtime/user-$(id -u)
4-
ENROOT_DATA_PATH <%= node['cluster']['enroot']['temporary_dir'] %>/data/user-$(id -u)
5-
ENROOT_CONFIG_PATH <%= node['cluster']['enroot']['persistent_dir'] %>/config/user-$(id -u)
6-
ENROOT_CACHE_PATH <%= node['cluster']['enroot']['persistent_dir'] %>/cache/group-$(id -g)
3+
ENROOT_RUNTIME_PATH <%= node['cluster']['enroot']['temporary_dir'] %>/user-$(id -u)/runtime
4+
ENROOT_DATA_PATH <%= node['cluster']['enroot']['temporary_dir'] %>/user-$(id -u)/data
5+
ENROOT_CONFIG_PATH <%= node['cluster']['enroot']['persistent_dir'] %>/user-$(id -u)/config
6+
ENROOT_CACHE_PATH <%= node['cluster']['enroot']['persistent_dir'] %>/user-$(id -u)/cache
77
#ENROOT_TEMP_PATH ${TMPDIR:-/tmp}
88

99
# Gzip program used to uncompress digest layers.

0 commit comments

Comments
 (0)