View Issue Details

IDProjectCategoryView StatusLast Update
0003150OpenFOAMContributionpublic2019-01-16 22:16
Reporterpansge Assigned Towyldckat  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version18.04.1 LTS
Summary0003150: laplacianFoam under docker seems to be not allowed cause of SU rights
DescriptionHallo everybody,
I found, the following error message while working on a tutorial for laplacianFoam:
docker is running as root by default as you know

--> FOAM FATAL IO ERROR:
This code should not be executed by someone with administrator rights due to security reasons.
(it writes a shared library which then gets loaded using dlopen)

file: /home/pansge/OpenFOAM/pansge-v1806/run/tutorials/101FVM/laplace-PN/c1/0/T.boundaryField.top

    From function static void Foam::dynamicCode::checkSecurity(const char*, const Foam::dictionary&)
    in file db/dynamicLibrary/dynamicCode/dynamicCode.C at line 65.

FOAM exiting
Steps To Reproduceuse laplacianFoam under docker
Additional InformationopenFoam version

pull from docker (as far as understand)

docker version

Client:
 Version: 18.06.1-ce
 API version: 1.38
 Go version: go1.10.4
 Git commit: e68fc7a
 Built: Mon Oct 1 14:25:31 2018
 OS/Arch: linux/amd64
 Experimental: false

Server:
 Engine:
  Version: 18.06.1-ce
  API version: 1.38 (minimum version 1.12)
  Go version: go1.10.4
  Git commit: e68fc7a
  Built: Mon Oct 1 14:25:33 2018
  OS/Arch: linux/amd64
  Experimental: false
TagsNo tags attached.

Activities

wyldckat

2019-01-16 22:16

updater   ~0010257

There are a few considerable problems with your report:

1- Docker does not need to be run as root, therefore you haven't followed properly the installation instructions from https://openfoam.org/download/6-linux/
2- OpenFOAM 6 does not need to be installed as a Docker container, given that Deb packages are available for Ubuntu, as instructed here: https://openfoam.org/download/6-ubuntu/
3- You have reported on the wrong issue tracker. Version "v1806" is not provided by the OpenFOAM Foundation.

Closing this as "no change required".

Issue History

Date Modified Username Field Change
2019-01-16 17:05 pansge New Issue
2019-01-16 22:16 wyldckat Assigned To => wyldckat
2019-01-16 22:16 wyldckat Status new => closed
2019-01-16 22:16 wyldckat Resolution open => no change required
2019-01-16 22:16 wyldckat Note Added: 0010257