Bug 196104 - [PATCH] emulators/virtualbox-ose: vboxwatchdog does not properly write pidfile
Summary: [PATCH] emulators/virtualbox-ose: vboxwatchdog does not properly write pidfile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-18 19:39 UTC by Bryan Drewery
Modified: 2014-12-18 21:04 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments
vboxwatchdog.diff (1.13 KB, text/plain)
2014-12-18 19:39 UTC, Bryan Drewery
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Drewery freebsd_committer freebsd_triage 2014-12-18 19:39:31 UTC
Created attachment 150733 [details]
vboxwatchdog.diff

Due to passing the -b flag, daemon(8) never writes out the pidfile. Remove the -b flag as default and this fixes writing the pid, thus also fixing service vboxwatchdog status/restart/stop.

http://people.freebsd.org/~bdrewery/patches/vboxwatchdog.diff
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-18 19:39:31 UTC
Auto-assigned to maintainer vbox@FreeBSD.org
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2014-12-18 21:01:42 UTC
I'll take it.
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2014-12-18 21:03:52 UTC
Committed (r374922), thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-12-18 21:04:16 UTC
A commit references this bug:

Author: jkim
Date: Thu Dec 18 21:03:31 UTC 2014
New revision: 374922
URL: https://svnweb.freebsd.org/changeset/ports/374922

Log:
  Let vboxwatchdog properly create a pidfile.

  PR:		196104

Changes:
  head/emulators/virtualbox-ose/Makefile
  head/emulators/virtualbox-ose/files/vboxwatchdog.in