Operating system CentOS Linux 5.6 Virtualmin version 3.87 Pro Webmin version 1.556
Did someone forget to use "use strict;" in testing?
Use of uninitialized value in pattern match (m//) at /usr/libexec/webmin/backup-config/backup.pl line 18. Subroutine setup_ca redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 72. Subroutine install_webmin_module redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 122. Subroutine grant_user_module redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 417. Subroutine delete_webmin_module redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 458. Subroutine file_basename redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 567. Subroutine gnupg_setup redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 581. Subroutine list_standard_modules redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 609. Subroutine standard_chooser_button redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 641. Subroutine list_third_modules redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 654. Subroutine third_chooser_button redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 686. Subroutine get_webmin_base_version redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 697. Subroutine base_version redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 707. Subroutine get_newmodule_users redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 718. Subroutine save_newmodule_users redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 740. Subroutine get_miniserv_sockets redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 764. Subroutine fetch_updates redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 812. Subroutine check_update_signature redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 879. Subroutine find_cron_job redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 910. Subroutine get_ipkeys redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 922. Subroutine save_ipkeys redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 943. Subroutine validate_key_cert redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 975. Subroutine detect_operating_system redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 996. Subroutine show_webmin_notifications redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1031. Subroutine get_webmin_notifications redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1047. Subroutine get_system_uptime redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1236. Subroutine list_operating_systems redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1283. Subroutine shared_root_directory redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1308. Subroutine submit_os_info redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1345. Subroutine get_webmin_id redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1373. Subroutine ip_match redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1389. Subroutine prefix_to_mask redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1461. Subroutine valid_allow redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1475. Subroutine get_preloads redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1520. Subroutine save_preloads redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1532. Subroutine get_tempdirs redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1543. Subroutine save_tempdirs redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1560. Subroutine get_module_install_type redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1579. Subroutine get_install_type redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1596. Subroutine list_cached_files redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1626. Subroutine show_restart_page redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1645. Subroutine cert_info redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1663. Subroutine cert_pem_data redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1704. Subroutine cert_pkcs12_data redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1719. Subroutine get_blocked_users_hosts redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1745. Subroutine show_ssl_key_form redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1773. Subroutine parse_ssl_key_form redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1817. Subroutine build_installed_modules redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1890. Subroutine get_latest_webmin_version redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1931. Subroutine filter_updates redefined at /usr/libexec/webmin/webmin/webmin-lib.pl line 1964. Subroutine list_keys redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 23. Subroutine list_keys_sorted redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 71. Subroutine list_secret_keys redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 79. Subroutine key_fingerprint redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 85. Subroutine get_passphrase redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 100. Subroutine put_passphrase redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 111. Subroutine encrypt_data redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 123. Subroutine decrypt_data redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 160. Subroutine sign_data redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 215. Subroutine verify_data redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 273. Subroutine read_entire_file redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 315. Subroutine write_entire_file redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 327. Subroutine get_trust_level redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 337. Subroutine delete_key redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 357. Subroutine default_email_address redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 380. Subroutine fetch_gpg_key redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 397. Subroutine search_gpg_keys redefined at /usr/libexec/webmin/webmin/gnupg-lib.pl line 424. Use of uninitialized value in concatenation (.) or string at ./backup-config-lib.pl line 357. Use of uninitialized value in concatenation (.) or string at ./backup-config-lib.pl line 357. Use of uninitialized value in concatenation (.) or string at ./backup-config-lib.pl line 357. Use of uninitialized value in concatenation (.) or string at ./backup-config-lib.pl line 357. Use of uninitialized value in concatenation (.) or string at ./backup-config-lib.pl line 357. Use of uninitialized value in -e at ./backup-config-lib.pl line 363. Use of uninitialized value in -e at ./backup-config-lib.pl line 363. Use of uninitialized value in -e at ./backup-config-lib.pl line 363. Use of uninitialized value in -e at ./backup-config-lib.pl line 363. Use of uninitialized value in -e at ./backup-config-lib.pl line 363. Use of uninitialized value in pattern match (m//) at /usr/libexec/webmin/backup-config/backup.pl line 38.
Howdy,
When are you receiving those errors/warnings? Is that the output you receive from the backup?
-Eric
Yes that is the emailed output.
Okay, one last question... is that the normal output of the script, or are you saying you added "use strict" to the script, and after adding that, you're seeing those errors?
-Eric
No I added nothing to the perl script.
When coding in perl if you use: use strict; at the top of your file when you run it it will inform you of errors allowing you to fix them before distributing the file.
The "Use of uninitialized value" errors show that there is a probably problem with a variable.
Okay, just wanted to make sure :-)
It sounds like a bug then -- I'd suggest filing a bug report, using the Support link above.
While I'm not sure what's causing those errors in your case, Jamie can work with you to figure that out.
What he'll need to know though is all the settings for this particular backup, so that he can dig down into the problem. If you happen to have a screenshot of the settings, that might be helpful. Thanks!
-Eric
Thanks! I'll let Jamie know in the bug tracker.
Having exactly the same error/report after update for webmin, please post fix if any
I'm not sure that the version of Webmin fixing this issue has been released yet.
In the meantime, what you can do is tweak the cronjob that generates those messages so that it's quiet.
To do that, look for where "/usr/libexec/webmin/backup-config/backup.pl" is being executed in your root user's crontab, and add "2>/dev/null" to the end. The full command would look like:
/usr/libexec/webmin/backup-config/backup.pl 2>/dev/null
That will prevent you from getting all those warnings.
-Eric