#4139 Perl error due to use of deprecated libs


Affected: Webmin 1.590
Repro: Clicking a user name link in "Users and Groups" on a opensuse 12.2 system leads to the following error message

Error - Perl execution failed
Can't locate timelocal.pl in @INC (@INC contains: /usr/libexec/webmin /usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/5.16.0 /usr/lib/perl5/site_perl . /usr/libexec/webmin/ ..) at /usr/libexec/webmin/useradmin/edit_user.cgi line 6.

This message occurs in other contexts to (whenever timelocal.pl is used).

Due to opensuse/novell the timelocal.pl has formerly been part of perl-core-libs but been marked as deprecated for quite some time. Due to that fact the library has been removed from the packaged and is not provided any more since the opensuse 12.2 release. For details refer to the following link:


Solution: Use up to date perl components or ship the missing functionality with webmin directly.


  • Jamie Cameron

    Jamie Cameron - 2012-09-10
    • status: open --> closed-fixed
  • Jamie Cameron

    Jamie Cameron - 2012-09-10

    Thanks for pointing this out - I will switch Webmin to using "use Time::Local" instead in the next release.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks