SDP-920

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler created this job , modified by swarm-user
Closed
Avoid use of setcap in Docker environments.
29692Added logic to avoid applying the 'setcap' (the OOM Killer defense)
in Docker environments (e.g. for testing).

Similar to @296666, but that changeg was for upgrade.sh, and this is
for mkdirs.sh.

Info: Using the 'setcap' command on a binary in a Docker container renders
the binary inoperable.  Attempts to execute the binary result in
an 'Operation not permitted' error. The workaround: Don't use 'setcap' on
binaries in a Docker container.
29691Added logic to avoid applying the 'setcap' (the OOM Killer defense)
in Docker environments (e.g. for testing).

Similar to @296666, but that changeg was for upgrade.sh, and this is
for mkdirs.sh.

Info: Using the 'setcap' command on a binary in a Docker container renders
the binary inoperable.  Attempts to execute the binary result in
an 'Operation not permitted' error. The workaround: Don't use 'setcap' on
binaries in a Docker container.

#review-29692
29666Added logic to avoid applying the 'setcap' (the OOM Killer defense)
in Docker environments (e.g. for testing).

Info: Using the 'setcap' command on a binary in a Docker container renders
the binary inoperable.  Attempts to execute the binary result in
an 'Operation not permitted' error. The workaround: Don't use 'setcap' on
binaries in a Docker container.

#review-29667
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
C. Thomas Tyler
Reported Date
Modified By
swarm-user
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Bug