Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38567 - qmail-1.03-r13 - queue directory not created
Summary: qmail-1.03-r13 - queue directory not created
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-17 18:57 UTC by Cosmin Nicolaescu
Modified: 2004-01-18 00:25 UTC (History)
0 users

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 Cosmin Nicolaescu 2004-01-17 18:57:44 UTC
I emerged qmail a few days ago cause I got tired of postfix and wanted to give qmail a try. 

I did the ebuild, I linked everything, and all works fine except that it didn't make the queue directory. The qmail-send gives "unable to switch to queue directory", and when I emerged, right before the whole ebuild line it gave me: 

* Setting up the message queue hierarchy ... 
/usr/sbin/ebuild.sh: line 354: /var/qmail/bin/queue-fix: No such file or directory

Reproducible: Always
Steps to Reproduce:
1.emerge -v qmail
2.
3.

Actual Results:  
 * Setting up the message queue hierarchy ...
/usr/sbin/ebuild.sh: line 354: /var/qmail/bin/queue-fix: No such file or 
directory
 * Previously the qmail ebuilds created /root/.maildir/ but not
 * mail was every delivered there. If the directory does not
 * contain any mail, please delete it and run:
 * ln -sf /var/qmail/alias/.maildir/ //root/.maildir
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...                                               
                                                                                 
[ ok ]
 * To setup qmail to run out-of-the-box on your system, run:
 * ebuild /var/db/pkg/net-mail/qmail-1.03-r13/qmail-1.03-r13.ebuild config

casper@camelot:[/var]$ ls -l qmail
total 12
drwxr-xr-x    3 alias    qmail          90 Jan 17 15:00 alias
drwxr-xr-x    2 root     qmail        4096 Jan 17 15:00 bin
drwxr-xr-x    2 root     qmail         137 Jan 17 15:00 boot
drwxr-xr-x    2 root     qmail        4096 Jan 17 15:04 control
-rwxr-xr-x    1 root     root          117 Jan 17 15:00 rc
drwxr-xr-x    7 root     root           95 Jan 17 15:00 supervise
drwxr-xr-x    2 root     qmail          18 Jan 17 15:00 users

Expected Results:  
/var/qmail/queue should be created created

cat /var/log/qmail/qmail-send:

unable to switch to queue directory


If I manually create the queue directory:

cannot start: unable to open mutex
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-18 00:15:20 UTC
that is very strange.
net-mail/queue-fix is in the DEPEND for qmail
and provides /var/qmail/bin/queue-fix.

How did you install qmail that it didn't do the DEPENDs ?

the queue directory has a very complex structure so creating it manually is non-trivial.
Comment 2 Cosmin Nicolaescu 2004-01-18 00:17:23 UTC
emerge -pv qmail

thats all I did

and i did it a few times, just to make sure it wasn't me

was i supposed to do anything else?
Comment 3 Cosmin Nicolaescu 2004-01-18 00:18:27 UTC
casper@camelot:[~]$ emerge -pv queue-fix

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-mail/queue-fix-1.4-r2  


apparently i have that emerged
Comment 4 Cosmin Nicolaescu 2004-01-18 00:22:19 UTC
i emerge -vC queue-fix and re-emerged and it works fine now.

thanks for the tip
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-18 00:24:52 UTC
argh, i was hoping to trace why it wasn't there properly.
too late now.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-18 00:25:22 UTC
closing again