Bug 21382 - Missing perl dependencies for postgrey
Summary: Missing perl dependencies for postgrey
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-32-OK MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2017-07-28 13:59 CEST by Marc Krämer
Modified: 2017-11-19 11:24 CET (History)
7 users (show)

See Also:
Source RPM: postgrey-1.37-1.mga6.src.rpm
CVE:
Status comment:


Attachments
New Spec file for missing deps (603 bytes, patch)
2017-10-28 20:38 CEST, Marc Krämer
Details | Diff

Description Marc Krämer 2017-07-28 13:59:59 CEST
postgrey is at least dependend on
perl-BerkeleyDB
perl-Net-Server
perl-NetAddr-IP
perl-Net-DNS

if this is not met, it will not start.
Rémi Verschelde 2017-07-28 14:28:05 CEST

Summary: dependency mismatch => Missing perl dependencies for postgrey
Assignee: bugsquad => luis.daniel.lucio

Comment 1 Marc Krämer 2017-09-22 12:13:32 CEST Comment hidden (obsolete)
Comment 2 Marc Krämer 2017-10-28 20:38:40 CEST
Created attachment 9764 [details]
New Spec file for missing deps

This should be bakcported to mga6!
Comment 3 Marc Krämer 2017-11-12 17:12:12 CET Comment hidden (obsolete)

Status: NEW => RESOLVED
Assignee: luis.daniel.lucio => qa-bugs
Resolution: (none) => FIXED

Comment 4 Thomas Backlund 2017-11-12 17:30:38 CET Comment hidden (obsolete)

CC: (none) => tmb
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 5 Marja Van Waes 2017-11-12 17:35:26 CET Comment hidden (obsolete)

CC: (none) => lists.jjorge, mageia, marja11

Comment 6 Marc Krämer 2017-11-12 18:04:59 CET Comment hidden (obsolete)
Comment 7 Marja Van Waes 2017-11-12 18:07:54 CET Comment hidden (obsolete)
Comment 8 Marc Krämer 2017-11-12 18:12:55 CET
I have uploaded an updated package for postgrey
It fixes missing dependencies for postgrey.

Suggested advisory:
========================
Postgrey before this update could only be used after manually installing perl-Net* and perl-BerkeleyDB this update fixes the package dependencies.

Updated packages in core/updates_testing:
========================
postgrey-1.37-1.1.mga6.noarch.rpm

Source RPMs:
postgrey-1.37-1.1.mga6.src.rpm
Comment 9 Herman Viaene 2017-11-15 10:22:10 CET
MGA6-32 on Asus A6000VM MATE
No installation issues.
Found some guidance in https://www.howtoforge.com/greylisting_postfix_postgrey, but this is obsolete or the Mageia implementation is slightly different:
postgrey configuration file is to be found in /etc/sysconfig, not /etc/default
At CLI:
# systemctl start postgrey
[root@mach6 ~]# systemctl -l status postgrey
● postgrey.service - Postfix Greylisting Service
   Loaded: loaded (/usr/lib/systemd/system/postgrey.service; enabled; vendor preset: enabled)
   Active: active (running) since wo 2017-11-15 10:00:16 CET; 3s ago
  Process: 24332 ExecStart=/usr/sbin/postgrey --pidfile=/run/postgrey.pid --daemonize $SOCKET $OPTIONS (code
  Process: 24330 ExecStartPre=/bin/rm -f /run/postgrey.pid (code=exited, status=0/SUCCESS)
 Main PID: 24336 (postgrey --pidf)
   CGroup: /system.slice/postgrey.service
           └─24336 postgrey --pidfile=/run/postgrey.pid --daemonize --unix=/var/spool/postfix/extern/postgre

nov 15 10:00:14 mach6.hviaene.thuis systemd[1]: Starting Postfix Greylisting Service...
nov 15 10:00:16 mach6.hviaene.thuis postgrey[24336]: Process Backgrounded
nov 15 10:00:16 mach6.hviaene.thuis postgrey[24336]: 2017/11/15-10:00:16 postgrey (type Net::Server::Multipl
nov 15 10:00:16 mach6.hviaene.thuis systemd[1]: Started Postfix Greylisting Service.
nov 15 10:00:16 mach6.hviaene.thuis postgrey[24336]: Binding to UNIX socket file "/var/spool/postfix/extern/
nov 15 10:00:16 mach6.hviaene.thuis postgrey[24336]: Setting gid to "954 954"
nov 15 10:00:16 mach6.hviaene.thuis postgrey[24336]: Setting uid to "957"
As I do not operate postfix, to me it seems OK.

Whiteboard: (none) => MGA6-32-OK
CC: (none) => herman.viaene

Comment 10 Lewis Smith 2017-11-18 22:18:14 CET
Probing M6/64 theoretically

BEFORE upodate:
 $ urpmq -i postgrey
 Version     : 1.37
 Release     : 1.mga6
 Source RPM  : postgrey-1.37-1.mga6.src.rpm

 $ urpmq -d postgrey | grep ^perl
 perl-DB_File|perl
 perl-File-Sync
 perl-MDK-Common
 perl-Sys-Syslog|perl
 perl-base

But switching to 'updates testing' then showed the same result ?
So I installed the package from issued repos, then...

AFTER update:
specifically choosing just 'postgrey' pulled in the missing Perl things:
- perl-BerkeleyDB-0.550.0-5.mga6.x86_64
- perl-IO-Multiplex-1.160.0-3.mga6.noarch
- perl-Net-Server-2.8.0-5.mga6.noarch
- postgrey-1.37-1.1.mga6.noarch

$ rpm -q postgrey
postgrey-1.37-1.1.mga6

$ urpmq -d postgrey | grep ^perl
 perl
 perl-BerkeleyDB
 perl-File-Sync
 perl-IO-Multiplex
 perl-MDK-Common
 perl-Net-DNS
 perl-Net-Server
 perl-NetAddr-IP
 perl-base

So the update does what it says. OK. Validating, advisoried.

Whiteboard: MGA6-32-OK => MGA6-32-OK MGA6-64-OK
Keywords: (none) => advisory, validated_update
CC: (none) => lewyssmith, sysadmin-bugs

Comment 11 Mageia Robot 2017-11-19 11:24:20 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2017-0110.html

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


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