Skip to content

Runsvdir downside #56

@xuoja-acc

Description

@xuoja-acc

Hi,

The usage of runsvdir is usefull to being able to restore from a backup but prevent gracefull stop of his childs processes when you try to stop the container.

The docker stop command attempts to stop a running container first by sending a SIGTERM signal to the root process (PID 1) in the container.

If runsvdir receives a TERM signal, it exits with 0 immediately (https://www.unix.com/man-page/centos/8/runsvdir/)

The aftermath of this : you can't gracefully stop nexus when you do any of this actions , because every of this commands send SIGTERM to the root process(runsvdir) :

  • kubectl delete
  • kubectl scale statefulset --replicas=0
  • helm delete
  • docker stop

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions