Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2013 16:00:01 GMT
From:      kai <k@free.de>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/181160: Port sysutils/bacula-client - All bacula-fd processes killed when upgrading port
Message-ID:  <201308141600.r7EG013V037548@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/181160; it has been noted by GNATS.

From: kai <k@free.de>
To: bug-followup@FreeBSD.org,
 k@free.de
Cc:  
Subject: Re: ports/181160: Port sysutils/bacula-client - All bacula-fd processes killed when upgrading port
Date: Wed, 14 Aug 2013 17:51:06 +0200

 I've reworked my proposed patch for sysutils/bacula-client amd also did =
 a patch for sysutils/bacula-server
 
 Daemons are now stopped by using "@stopdaemon" - so "kill" is not needed =
 any more..
 
 After doing a portupgrade the bacula daemons have to be restarted =
 manually.
 This is an approach many freebsd ports chose to take.
 
 K.
 
 
 --- sysutils/bacula-server/pkg-plist.client	2012-12-16 =
 17:32:45.000000000 +0100
 +++ sysutils/bacula-server/pkg-plist.client.patched	2013-07-08 =
 11:25:05.092088611 +0200
 @@ -13,7 +13,7 @@
 lib/bpipe-fd.so
 sbin/bacula-fd
 sbin/bconsole
 -@unexec /usr/bin/killall bacula-fd > /dev/null 2>&1 || true
 @stopdaemon bacula-fd
 @exec mkdir -p %%BACULA_DIR%%
 @dirrmtry %%BACULA_DIR%%
 @dirrmtry share/bacula
 
 
 For sysutils/bacula-server I propose the following patch for pkg-plist:
 
 
 --- sysutils/bacula-server/pkg-plist	2012-12-16 17:32:45.000000000 =
 +0100
 +++ sysutils/bacula-server/pkg-plist.patched	2013-08-14 =
 17:37:48.830595374 +0200
 @@ -51,7 +51,7 @@
  %%DATADIR%%/update_bacula_tables
  %%DATADIR%%/update_%%DBTYPE%%_tables
  @dirrm %%DATADIR%%
 -@unexec /usr/bin/killall bacula-sd  > /dev/null 2>&1 || true
 -@unexec /usr/bin/killall bacula-dir > /dev/null 2>&1 || true
 +@stopdaemon bacula-sd
 +@stopdaemon bacula-dir
  @exec mkdir -p %%BACULA_DIR%%
  @dirrmtry %%BACULA_DIR%%
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308141600.r7EG013V037548>