Page MenuHomeVyOS Platform

OpenVPN fails b/c of missing Perl dependency
Closed, ResolvedPublicBUG

Description

Just upgraded from an older VyOS version 1.2.0-rolling+201808230337 to the latest rolling 1.2.0-rolling+201809111539 and notices all OpenVPN interfaces were gone.

Loading my /config/config.boot file re-added the interfaces but on commit this error appeared:

cpo@AC1# commit
[ interfaces openvpn vtun20 ]
Can't locate File/Slurp.pm in @INC (you may need to install the File::Slurp module) (@INC contains: /opt/vyatta/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /opt/vyatta/share/perl5/Vyatta/OpenVPN/Config.pm line 10.
BEGIN failed--compilation aborted at /opt/vyatta/share/perl5/Vyatta/OpenVPN/Config.pm line 10.
Compilation failed in require at /opt/vyatta/sbin/vyatta-update-ovpn.pl line 5.
BEGIN failed--compilation aborted at /opt/vyatta/sbin/vyatta-update-ovpn.pl line 5.

[[interfaces openvpn vtun20]] failed
[ interfaces openvpn vtun30 ]
Can't locate File/Slurp.pm in @INC (you may need to install the File::Slurp module) (@INC contains: /opt/vyatta/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /opt/vyatta/share/perl5/Vyatta/OpenVPN/Config.pm line 10.
BEGIN failed--compilation aborted at /opt/vyatta/share/perl5/Vyatta/OpenVPN/Config.pm line 10.
Compilation failed in require at /opt/vyatta/sbin/vyatta-update-ovpn.pl line 5.
BEGIN failed--compilation aborted at /opt/vyatta/sbin/vyatta-update-ovpn.pl line 5.

[[interfaces openvpn vtun30]] failed
Commit failed
[edit]
cpo@AC1#

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rolling+201809111539
Why the issue appeared?
Issues in third-party code

Event Timeline

c-po triaged this task as High priority.Sep 11 2018, 2:34 PM
c-po created this task.
c-po added a subscriber: dmbaturin.

Fixed by installing dependency.

c-po assigned this task to dmbaturin.
c-po edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc1); removed VyOS 1.2 Crux.
c-po changed Why the issue appeared? from Will be filled on close to Issues in third-party code.