Actions
action #29048
closedperl warning about "Subroutine JSON::PP::Boolean::(0+ redefined" on manual startup of openqa-scheduler
Start date:
2017-12-07
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
On startup of the script "openqa-scheduler" manually I get the following warning:
Subroutine JSON::PP::Boolean::(0+ redefined at
/usr/lib/perl5/5.18.2/overload.pm line 50 (#1)
(W redefine) You redefined a subroutine. To suppress this warning, say
{
no warnings 'redefine';
eval "sub name { ... }";
}
Subroutine JSON::PP::Boolean::(++ redefined at
/usr/lib/perl5/5.18.2/overload.pm line 50 (#1)
Subroutine JSON::PP::Boolean::(-- redefined at
/usr/lib/perl5/5.18.2/overload.pm line 50 (#1)
I don't see this warning when starting the service with systemctl start openqa-scheduler
and then looking in the log with journalctl -u openqa-scheduler
.
Steps to reproduce¶
- Start scheduler with
sudo -u geekotest script/openqa-scheduler
Further details¶
On openSUSE Leap 42.3 with openQA latest git Thu Dec 7 06:57:33 2017 +0100 f8654aa3
Actions