Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504478

Summary: net-mail/cyrus-imapd-2.4.17 with /etc/hosts.deny not readable - imapd: segmentation fault at [...] error 4 in libwrap.so.0.7.6
Product: Gentoo Linux Reporter: Thomas Wabner <waffel>
Component: [OLD] ServerAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Thomas Wabner 2014-03-13 13:00:50 UTC
Some package creates or updates the /etc/hosts.deny file with permission 600.

After restarting cyrus following entries in "dmesg":

imapd[29028]: segfault at 6 ip 00007f5fd3aebe22 sp 00007fffa8f94ad0 error 4 in libwrap.so.0.7.6[7f5fd3ae8000+8000]

>cyradm -u cyrus localhost

No error or output

After changing the permission to 644 and a restart, all things are fine again.

Reproducible: Always

Steps to Reproduce:
1. Create file /etc/hosts.deny with permission 600
2. Restart cyrus
Actual Results:  
Segmentation fault

Expected Results:  
Normal running imapd
Comment 1 Thomas Wabner 2014-03-13 13:03:44 UTC
Created attachment 372552 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2018-03-01 15:23:29 UTC
is this still happening with 3.0.4? If that is the case I would report it to upstream