[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: znapzend broken on Illumos
It's not SmartOS specific (other than SmartOS being a particularly
nice place in which to do ZFS things :)
It's a Mojolicious issue, or rather an compatibility issue in
Mojo::IOLoop::ForkCall (used by znapzend) with Mojolicious 9.x. It's
quite nasty in that it only shows up at runtime.
Its fixed by the latest updates to p5-Mojo-IOLoop-Delay,
p5-Mojo-IOLoop-ForkCall and znapzend in the main pkgsrc repository,
but MNX Cloud run the pkgsrc.smartos.org periodically updated fork of
pkgsrc to better tailor for SmartOS.
Looping in jperkin@ on that basis as someone who would know whether
the changes to p5-Mojo-IOLoop-Delay, p5-Mojo-IOLoop-ForkCall and
znapzend could easily be pulled across :)
On Thu, 25 Aug 2022 at 18:13, evil cRaftKnife <evilcraftknife%gmail.com@localhost> wrote:
> Thanks for the reply David.
> I'm using: https://pkgsrc.smartos.org/packages/SmartOS/trunk/tools/All
> on SmartOS.
> Perhaps this is SmartOS specific.
> [root@hyp-01 ~]# pkgin up
> processing remote summary (https://pkgsrc.smartos.org/packages/SmartOS/trunk/tools/All)...
> database for https://pkgsrc.smartos.org/packages/SmartOS/trunk/tools/All is up-to-date
> [root@hyp-01 ~]# pkgin ug
> calculating dependencies...done.
> nothing to do.
> [root@hyp-01 ~]# pkgin av|grep znapzend
> znapzend-0.20.0nb4 ZFS send/receive backup system
> [root@hyp-01 ~]# pkgin av|grep IOLoop
> p5-Mojo-IOLoop-ForkCall-0.20nb4 Execute a code block asynchronously by forking
> The latest znapzend is znapzend-0.21.1 on the GitHub page.
> Output from znapzend:
> [2022-08-25 16:53:27.42790]  [info] found a valid backup plan for zones/2deb8da3-6535-65e7-fee8-a3cb7c509fe8/data...
> Can't locate object method "delay" via package "Mojo::IOLoop" at /opt/tools/lib/perl5/vendor_perl/5.36.0/Mojo/IOLoop/ForkCall.pm line 27.
> On Thu, 25 Aug 2022 at 11:37, David Brownlee <abs%absd.org@localhost> wrote:
>> Hi evil :)
>> Not sure which pkgsrc you are tracking, but on pkgsrc-current
>> p5-Mojo-IOLoop-Delay has (just) been added, and
>> p5-Mojo-IOLoop-ForkCall plus znapzend have been updated so this should
>> be resolved.
>> On Sun, 21 Aug 2022 at 16:15, evil cRaftKnife <evilcraftknife%gmail.com@localhost> wrote:
>> > I'm not sure if this is the best place to report this but at some point after 2020Q4 the package znapzend stops working because of the following:
>> > Can't locate object method "delay" via package "Mojo::IOLoop" at /opt/tools/lib/perl5/vendor_perl/5.36.0/Mojo/IOLoop/ForkCall.pm line 27.
>> > A quick web search reveals that "delay" has been deprecated in that perl module.
>> > https://metacpan.org/dist/Mojo-IOLoop-Delay
>> > I believe this dependency has been fixed in newer versions of znapzend.
>> > https://github.com/oetiker/znapzend/issues/541
Main Index |
Thread Index |