Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89342 - some changes
Summary: some changes
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Virtual-mail HOWTO (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-16 11:31 UTC by Dariusz Dwornikowski
Modified: 2005-04-17 02:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dariusz Dwornikowski 2005-04-16 11:31:45 UTC
when you install qmail according to howto it works..but if you do :

rm -rf /var/qmail && emerge -C qmail && emerge qmail

there is no queue in /var/qmail created (ebuild problem ??) 
there should be some info for users with error 451 qq trouble with writing queue files 
that they should run queue-fix, as the ebuil does :) 





Reproducible: Sometimes
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2005-04-16 12:43:29 UTC
Robin: Not that I completely understand, but the report sais something like "if you emerge qmail, then remove /var/qmail, then unmerge qmail and reemerge it the directory isn't created anymore"

Have you seen such behaviour and, if not, any idea what the reason can be? 
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-16 13:09:33 UTC
qmail is NOT the only program that is installed in qmail.
grep your /var/db/pkg/*/*/CONTENTS for anything that installed into /var/qmail
and unmerge those as well before you merge qmail again. By not removing them, you have broken the dependancies on your machine.

The following should be a complete list of things that may install something into /var/qmail:

sec-policy/selinux-qmail
mail-mta/qmail
mail-mta/mini-qmail
mail-mta/qmail-mysql
mail-mta/qmail-ldap
mail-filter/qmail-scanner
net-mail/vpopmail
net-mail/qmailanalog
net-mail/dot-forward
net-mail/fastforward
net-mail/qmailadmin
net-mail/qmhandle
net-mail/qmail-qfilter
net-mail/qmail-vmailmgr
net-mail/vqadmin
net-mail/queue-fix
net-mail/mailfront
net-mail/autorespond
net-mail/checkpw
Comment 3 Dariusz Dwornikowski 2005-04-17 00:51:10 UTC
i just gave the suggestion for the hint maybe. 
i unmerged qmail and all programs that merged with it. 
this behaviour is very hard to track (according to qmail experts on #qmail channel) and it can be caused by many things not directly connected to qmail. 
qmail ebuild should do queue-fix but in MY case it did not. 
i know it is not a bug connected to gentoo, but you could add just a hint as when browsing through google there are millions of questions connected to this qq 451 error. 
(it can be caused by different inode numbers, rights, perl without perlsuid, etc). 

Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-17 02:29:03 UTC
could you open a new bug with a patch to the -r16 qmail, that adds in checks for queue-fix before using it?