Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V vd_agent
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • spice
  • linux
  • vd_agent
  • Merge requests
  • !7

vdagentd: fork early because of GLib

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Jakub Janků requested to merge jjanku/vd_agent-linux:shutdown-fix into master Mar 20, 2020
  • Overview 14
  • Commits 2
  • Pipelines 4
  • Changes 3

GMainLoop (or rather GMainContext) isn't apparently compatible with forking and causes issues -- in our case the handlers registered with g_unix_signal_add() weren't being called.

Fixes: #18 (closed)

Also see: https://gitlab.gnome.org/GNOME/glib/issues/2073

Signed-off-by: Jakub Janků jjanku@redhat.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: shutdown-fix