Bug 17919 - missing pcre support
Summary: missing pcre support
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA5-64-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2016-03-09 00:24 CET by Luca Olivetti
Modified: 2016-03-19 14:11 CET (History)
5 users (show)

See Also:
Source RPM: clamav-0.99.1-1.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Luca Olivetti 2016-03-09 00:24:52 CET
I saw this warning message from clamav:

LibClamAV Warning: cli_loadldb: logical signature for Win.Trojan.ssid18332 uses PCREs but support is disabled, skipping

googling this message I see that for the pcre feature (introduced in 0.99.1) to work a BuildRequires on pcre-devel should be added.
Comment 1 Marja Van Waes 2016-03-09 21:55:44 CET
assigning to maintainer

CC: (none) => marja11
Assignee: bugsquad => thomas

Comment 2 Thomas Spuhler 2016-03-10 19:14:49 CET
I see it too. Suse has added the BuildRequires: pcre-devel
Fedora hasn't.
I will add it.

Status: NEW => ASSIGNED

Comment 3 Thomas Spuhler 2016-03-10 19:26:49 CET
This bug has been resolved by adding this BuildRequires: pcre-devel

The following packages are now in updates_testing:
roundcubemail-1.0.8-1.1.mga5.src.rpm
roundcubemail-1.0.8-1.1.mga5.noarch.rpm

CC: (none) => thomas
Assignee: thomas => qa-bugs

Comment 4 Luca Olivetti 2016-03-10 19:41:28 CET
I suppose you mean clamav-0.99.1-something (still don't see it on my mirror)
Comment 5 Thomas Spuhler 2016-03-10 19:55:25 CET
Ooops, I was working on something else at the same time and mixed this up.

Assignee: qa-bugs => thomas

Comment 6 David Walser 2016-03-10 19:55:37 CET
Thomas, either you updated the wrong package or you saw a similar issue in roundcubemail.

If it's the former, please CC sysadmin-bugs@ml.mageia.org and ask them to remove the roundcubemail update from updates_testing.

If it's the latter, please open a different bug for the roundcubemail update.
Comment 7 Thomas Spuhler 2016-03-12 17:39:44 CET
This bug has now been fixed and tested on my own mailserver. I haven't discovered any problems.
The following packages are now in updates_testing:

clamav-0.99.1-1.2.mga5.src.rpm
clamav-0.99.1-1.2.mga5.x86_64.rpm
clamd-0.99.1-1.2.mga5.x86_64.rpm
clamav-milter-0.99.1-1.2.mga5.x86_64.rpm
clamav-db-0.99.1-1.2.mga5.noarch.rpm
lib64clamav7-0.99.1-1.2.mga5.x86_64.rpm
lib64clamav-devel-0.99.1-1.2.mga5.x86_64.rpm
clamav-debuginfo-0.99.1-1.2.mga5.x86_64.rpm
and corresponding i586 packages

Assigning it to qa

Assignee: thomas => qa-bugs

Comment 8 claire robinson 2016-03-12 18:08:55 CET
Please provide an advisory when assigning for QA Thomas

eg. https://wiki.mageia.org/en/Example_update_advisory_announcement
    https://wiki.mageia.org/en/Updates_policy

Thanks
Comment 9 Luca Olivetti 2016-03-12 18:21:59 CET
In installed clamav-0.99.1-1.2.mga5.x86_64.rpm and lib64clamav7-0.99.1-1.2.mga5.x86_64.rpm and it seems to be working fine (I only tested with the eicar test signature, but the warning is gone).
Comment 10 Thomas Spuhler 2016-03-12 19:39:08 CET
(In reply to claire robinson from comment #8)
> Please provide an advisory when assigning for QA Thomas
> 
> eg. https://wiki.mageia.org/en/Example_update_advisory_announcement
>     https://wiki.mageia.org/en/Updates_policy
> 
> Thanks

Here we go:

Advisory:
========================

This fixes the warning in "systemctl status clamd" :
LibClamAV Warning: cli_loadldb: logical signature for Win.Trojan.ssid18332 uses PCREs but support is disabled, skipping
Comment 11 Len Lawrence 2016-03-16 10:16:52 CET
Installed on x86_64.

$ sudo systemctl status clamd
â clamd.service - Clam AntiVirus Daemon is a TCP/IP or unix domain
   Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled)
   Active: inactive (dead)
$ sudo systemctl start clamd.service
$ sudo systemctl status clamd
â clamd.service - Clam AntiVirus Daemon is a TCP/IP or unix domain
   Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled)
   Active: active (running) since Wed 2016-03-16 09:11:03 GMT; 6s ago
  Process: 20992 ExecStart=/usr/sbin/clamd --config-file=/etc/clamd.conf (code=exited, status=0/SUCCESS)
 Main PID: 20999 (clamd)
   CGroup: /system.slice/clamd.service
           ââ20999 /usr/sbin/clamd --config-file=/etc/clamd.conf

Mar 16 09:10:56 belexeuli clamd[20992]: LibClamAV Warning: *****************...*
Mar 16 09:10:56 belexeuli clamd[20992]: LibClamAV Warning: ***  The virus da...*
Mar 16 09:10:56 belexeuli clamd[20992]: LibClamAV Warning: ***   Please upda...*
Mar 16 09:10:56 belexeuli clamd[20992]: LibClamAV Warning: *****************...*
Hint: Some lines were ellipsized, use -l to show in full.

The warning referred to the virus database being more than 7 days old.

This is fine for the 64-bit OK no?

CC: (none) => tarazed25

Len Lawrence 2016-03-16 13:21:13 CET

Whiteboard: (none) => MGA5-64-OK

Dave Hodgins 2016-03-18 00:24:22 CET

Keywords: (none) => validated_update
Whiteboard: MGA5-64-OK => MGA5-64-OK advisory
CC: (none) => davidwhodgins, sysadmin-bugs

Comment 12 Mageia Robot 2016-03-19 14:11:06 CET
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0045.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.