Bug 150073

Summary: postalias segfault
Product: [Fedora] Fedora Reporter: H.J. Lu <hongjiu.lu>
Component: postfixAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-18 20:29:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description H.J. Lu 2005-03-02 04:55:47 UTC
[root@pond postfix]# /usr/sbin/postalias hash:/etc/aliases
Segmentation fault
[root@pond postfix]#
[root@pond postfix]# rpm -qf /usr/sbin/postalias
postfix-2.1.5-2.4.FC3
[root@pond postfix]# ypcat -k aliases
postmaster root
usenet news
mailer-daemon postmaster
gopher root
bin root
ftp-adm ftp
manager root
ftpadmin ftp
ftp root
shutdown root
system root
newsadm news
nobody root
xfs root
lp root
ftp-admin ftp
newsadmin news
halt root
daemon root
postgres root
@ @
rpc root
dumper root
abuse root
games root
squid root
ftpadm ftp
apache root
mail root
gdm root
sync root
news root
named root
decode root
operator root
mailnull root
ingres root
adm root
uucp root
rpcuser root
toor root

Comment 1 Gerald HERMANT 2005-03-06 16:59:04 UTC
I have same problem only with a bad hostname.
Look result of hostname commande
and check if you have this in /etc/hosts or resolve it via dns

after this it work well.

strace postalias ... => You can see that postalias crash during dns
resolution.

Gerald HERMANT

Comment 2 H.J. Lu 2005-03-18 20:29:29 UTC
postfix-2.1.5-5 works fine.