Skip to content

Docker host root directory is not checked for 'nosuid' flags - which results in deployment failure. #69

Open
@AndrewHogg

Description

@AndrewHogg

If the docker container root directory has the nosuid flag set on the mount, the use of sudo within the container initialisation script fails. The container reports as being successfully initialised but within the console output is the following, indicating that it has not been successful.

sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?

The fix is to remove the nosuid flag on the mount - a defensive measure within the zdm util script and proxy deployment script would be to check this flag before progressing.

┆Issue is synchronized with this Jira Task by Unito
┆Components: Automation
┆Priority: Major

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions