Description of problem: zmfilter script fails with missing Perl modules. Version-Release number of selected component (if applicable): 1.24.1-3 How reproducible: Always. Steps to Reproduce: 1. Start with a clean install of Fedora 11, with SELINUX disabled 2. yum update 3. yum install zoneminder Actual results: Error messages in zoneminder logs indicate zmfilter fails to start Expected results: All Zoneminder daemons run successfully. Additional info: Missing package dependancy is perl-MIME-lite
Interesting, I have a minimal install, installed zoneminder and mysql with no additional dependencies and the system runs fine. perl-MIME-Lite is not installed. Perhaps you could give more details of your configuration.
There is a conditional require statement in zmfilter.pl: if ( ZM_OPT_MESSAGE ) { if ( ZM_NEW_MAIL_MODULES ) { require MIME::Lite; require Net::SMTP; } else { require MIME::Entity; } } MIME::Lite is currently listed as a build dependency, but should be runtime dependency. The only shows up if certain features are enabled. A quick grep through Zoneminder shows the following should also be runtime dependencies, rather than build dependencies: Archive::Tar, Archive::Zip, Net::FTP required for uploads Net::SMTP MIME::Lite MIME::Entity required for email alarms File::Find required for update checks
(In reply to comment #2) > There is a conditional require statement in zmfilter.pl: Yes, I understand that, but I was asking for some details about your configuration so that I could better understand the circumstances under which you'd see this failure. I suppose you don't wish to give that out, which is your prerogative. It looks like RPM's automatic Perl depencency detection is missing these, perhaps because they're require'd instead of use'd, and it certainly seems reasonable to add them. Martin, what do you think? I'm working on rebasing the patches to the new version currently in rawhide, but I could trivially rev the F11 package to add these additional deps.
No objections to the specific circumstances, I just don't have access to the machine until I get home, so I can't investigate which options trigger it.
Yes seems reasonable. I'm happy to push the upgrade but you're welcome too if you like. I agree about the database upgrade will need to check that.
zoneminder-1.24.2-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/zoneminder-1.24.2-2.fc11
zoneminder-1.24.2-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update zoneminder'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7949
zoneminder-1.24.2-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.