Bug 12877 - Pakfire: Missing perl module(s) and access errors logged in '/var/log/httpd/error_log' during Core 168 update
Summary: Pakfire: Missing perl module(s) and access errors logged in '/var/log/httpd/e...
Status: CLOSED CANTFIX
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all Linux
: - Unknown - Minor Usability
Assignee: Peter Müller
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-16 07:52 UTC by Matthias Fischer
Modified: 2022-07-09 09:29 UTC (History)
1 user (show)

See Also:


Attachments
Logged errors during update to Core 168 (4.35 KB, text/plain)
2022-06-16 07:52 UTC, Matthias Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fischer 2022-06-16 07:52:23 UTC
Created attachment 1057 [details]
Logged errors during update to Core 168

Hi,

during updating to Core 168 several errors were logged in '/var/log/httpd/error_log' (log is attached):

...
exec of '/srv/web/ipfire/cgi-bin/pakfire.cgi' failed
...

...
Can't locate HTTP/Date.pm:
/usr/lib/perl5/site_perl/5.32.1/x86_64-linux-thread-multi/HTTP/Date.pm
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.32.1/LWP/UserAgent.pm line 11.
Compilation failed in require at /opt/pakfire/lib/functions.pl line 27.
BEGIN failed--compilation aborted at /opt/pakfire/lib/functions.pl line 27.
Compilation failed in require at /srv/web/ipfire/cgi-bin/pakfire.cgi
line 33.
...

Despite these errors, update went through - no visible errors.

Seems to be related to an email Rob Brewer sent to the list on 5th June.

Best,
Matthias
Comment 1 Peter Müller 2022-07-09 09:29:10 UTC
First of all, apologies for my belated response.

Since Core Update 168 has been released already, this is not much of a help anymore, but anyway: I completely agree that such errors are ugly. However, given that the IPFire user most likely will conduct the upgrade via the WUI rather than the CLI, the former will constantly try to access things like speed.cgi, which eventually breaks when we replace the underlying Perl packages.

For future Core Updates, I will pay better attention to the update.sh contents, to ensure that we first stop all possibly affected services before deleting or extracting any files.

Closing this as CANTFIX (but will keep it in mind); please reopen, if necessary.