Page MenuHomePhabricator

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
c-po created this task.Sep 11 2018, 2:34 PM
c-po triaged this task as High priority.
c-po added a subscriber: dmbaturin.
c-po moved this task from Need Triage to Finished on the VyOS 1.2.x board.Sep 11 2018, 4:07 PM

Fixed by installing dependency.

c-po assigned this task to dmbaturin.Sep 11 2018, 4:08 PM
c-po closed this task as Resolved.
c-po edited projects, added VyOS 1.2.x (VyOS 1.2.0-rc1); removed VyOS 1.2.x.
c-po changed Why the issue appeared? from Will be filled on close to Issues in third-party code.