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

Bug 380523

Summary: vchkuser-0.4.ebuild set group nofiles for vchkuser-binary -> vchkuser can't read /etc/vpopmail.conf
Product: Gentoo Linux Reporter: Richard Hering <richard>
Component: New packagesAssignee: Benedikt Böhm (RETIRED) <hollow>
Status: RESOLVED CANTFIX    
Severity: critical    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Hering 2011-08-24 17:04:43 UTC
after emerging vpopmail and vchkuser the plugin doesn't work:

vmysql: can't read settings from /var/vpopmail/etc/vpopmail.mysql
segfault

the restrictive rights for /etc/vpopmail.mysql set the vpopmail-5.4.33.ebuild

solution: chgrp vpopmail /var/qmail/plugins/vchkuser

then the plugin run fine

Reproducible: Always
Comment 1 Richard Hering 2011-08-24 17:05:52 UTC
Diff for the vchkuser-0.4.ebuild

39c39
< 	fowners vpopmail:vpopmail "${QMAIL_HOME}"/plugins/vchkuser
---
> 	fowners vpopmail:nofiles "${QMAIL_HOME}"/plugins/vchkuser
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2011-08-24 17:58:23 UTC
can you please verify that changing the group also works with vpopmail-5.4.30-r1?
Comment 3 Richard Hering 2011-08-24 21:29:42 UTC
sry, i was too fast. change group will have this effect:

3/6.2/0.12, dsn=4.0.0, status=deferred (host ****.****.**[***.***.***.***] said: 451 qmail-spp failure: plugins/vchkuser: can't execute (#4.3.0) (in reply to RCPT TO command))

local test gone fine as root

i did now a chmod o+r /etc/vpopmail.conf to get the plugin working. don't know how to set the rights of /var/qmail/plugins/vchkuser to get it working with vpopmail.conf without readrights for other. any hints?
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2012-01-29 12:50:02 UTC
i just realized that you are using mysql with vpopmail, which causes all sorts of permission problems. i'm afraid vchkuser is not supported without relaxing permissions as you did it. it was never tested against a mysql setup in the first place ...