Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
2df441a1
Commit
2df441a1
authored
7 years ago
by
Eric Cano
Browse files
Options
Downloads
Patches
Plain Diff
Fixed creation of cta account for buildtree runner.
parent
4450eb92
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_pod.sh
+1
-2
1 addition, 2 deletions
...ntegration/docker/ctafrontend/cc7/opt/run/bin/init_pod.sh
with
1 addition
and
2 deletions
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_pod.sh
+
1
−
2
View file @
2df441a1
...
...
@@ -46,8 +46,7 @@ if [[ -n ${BUILDTREE_BASE} ]]; then
# cta:cta needed for ctafrontend and taped but adding it inconditionally in buildtree
echo
"Adding cta user and group"
/usr/bin/getent group cta
||
/usr/sbin/groupadd cta
/usr/bin/getent passwd cta
||
/usr/sbin/useradd
-s
/bin/nologin
-c
"CTA system account"
-g
cta cta
/usr/bin/getent passwd cta
||
/usr/sbin/useradd
-s
/bin/nologin
-c
"CTA system account"
-g
tape cta
## The following is not working as one cannot refresh groups in current shell...
# echo 'Adding cta in tape group (grant access to /dev/sg* /dev/st* /dev/nst* devices'
# /usr/sbin/usermod -a -G tape cta
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment