pkg: pkg create deadlocks and hangs ZFS host

Michael Gmelin grembo at freebsd.org
Tue Jul 29 07:39:53 UTC 2014



> On 29 Jul 2014, at 00:20, Michael Gmelin <grembo at freebsd.org> wrote:
> 
> 
> 
>>> On 28 Jul 2014, at 23:30, Baptiste Daroussin <bapt at freebsd.org> wrote:
>>> 
>>> On Mon, Jul 28, 2014 at 09:19:57PM +0200, Michael Gmelin wrote:
>>> I had pkg crash[1] our build host a couple of times today. I could
>>> reproduce the issue on a local machine and opened a detailed bug
>>> report on github[2] which links to a gist containing the patch that's
>>> also attached to this email.
>>> 
>>> - Michael
>>> 
>>> [1] Crash like in "power cycle required".
>>> [2] https://github.com/freebsd/pkg/issues/897
>> 
>> This patch will break pkg register which is used by the ports tree, I'll work on
>> a better patch
>> 
>> regards,
>> Bapt
> 
> For completeness sake: bapt fixed this properly in
> https://github.com/freebsd/pkg/commit/bf4a9a6ec13824036c035ceba01076e5e30841b4
> 
> 

I would still be interested to know how a small bug in a user land tool can bring down the entire server. Is this a (known) ZFS issue?


More information about the freebsd-ports mailing list