Summary: | qmail-1.03-r13 install process incorrect | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | [OLD] Server | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Mokrejš
2004-02-17 14:47:48 UTC
fixed this stuff. as for this from your email: /usr/sbin/ebuild.sh: line 356: /var/qmail/bin/queue-fix: No such file or directory it seems like you didn't install the deps properly (queue-fix is a dep from qmail, and is in DEPEND as such). Hmm, I have net-mail/queue-fix installed! OK, resynced portage tree, reinstalled net-mail/queue-fix, unmerge qmail, reemerged qmail ... the preferred package is still -r13. So I forced -r15 instead, but got:
>>> Merging net-mail/qmail-1.03-r15 to /
* Error moving /etc/tcp.smtp to /etc/tcprules.d/tcp.qmail-smtp, be sure to check the
* configuration! You may have already moved the files,
* in which case you can delete /etc/tcp.smtp
* Error moving /etc/tcp.smtp.cdb to /etc/tcprules.d/tcp.qmail-smtp.cdb, be sure to check the
* configuration! You may have already moved the files,
* in which case you can delete /etc/tcp.smtp.cdb
* Error moving /etc/tcp.qmtp to /etc/tcprules.d/tcp.qmail-qmtp, be sure to check the
* configuration! You may have already moved the files,
* in which case you can delete /etc/tcp.qmtp
* Error moving /etc/tcp.qmtp.cdb to /etc/tcprules.d/tcp.qmail-qmtp.cdb, be sure to check the
* configuration! You may have already moved the files,
* in which case you can delete /etc/tcp.qmtp.cdb
* Error moving /etc/tcp.qmqp to /etc/tcprules.d/tcp.qmail-qmqp, be sure to check the
* configuration! You may have already moved the files,
* in which case you can delete /etc/tcp.qmqp
* Error moving /etc/tcp.qmqp.cdb to /etc/tcprules.d/tcp.qmail-qmqp.cdb, be sure to check the
* configuration! You may have already moved the files,
* in which case you can delete /etc/tcp.qmqp.cdb
* Error moving /etc/tcp.pop3 to /etc/tcprules.d/tcp.qmail-pop3, be sure to check the
* configuration! You may have already moved the files,
* in which case you can delete /etc/tcp.pop3
* Error moving /etc/tcp.pop3.cdb to /etc/tcprules.d/tcp.qmail-pop3.cdb, be sure to check the
* configuration! You may have already moved the files,
* in which case you can delete /etc/tcp.pop3.cdb
aquarius root # ls -la /etc/tcp.*
-rw-r--r-- 1 root root 2048 Feb 28 21:58 /etc/tcp.pop3.cdb
-rw-r--r-- 1 root root 135 Feb 28 21:58 /etc/tcp.qmqp
-rw-r--r-- 1 root root 2228 Feb 28 21:58 /etc/tcp.qmqp.cdb
-rw-r--r-- 1 root root 135 Feb 28 21:58 /etc/tcp.qmtp
-rw-r--r-- 1 root root 2228 Feb 28 21:58 /etc/tcp.qmtp.cdb
-rw-r--r-- 1 root root 135 Feb 28 21:58 /etc/tcp.smtp
-rw-r--r-- 1 root root 2228 Feb 28 21:58 /etc/tcp.smtp.cdb
aquarius root # ls -la /etc/tcprules.d/
total 43
drwxr-xr-x 2 root root 336 Feb 29 12:34 .
drwxr-xr-x 85 root root 5680 Feb 29 12:34 ..
-rwxr-xr-x 1 root root 335 Feb 29 12:34 tcp.qmail-pop3
-rw-r--r-- 1 root root 2072 Feb 29 12:34 tcp.qmail-pop3.cdb
-rwxr-xr-x 1 root root 399 Feb 29 12:34 tcp.qmail-qmqp
-rw-r--r-- 1 root root 2074 Feb 29 12:34 tcp.qmail-qmqp.cdb
-rwxr-xr-x 1 root root 821 Feb 29 12:34 tcp.qmail-qmtp
-rw-r--r-- 1 root root 2130 Feb 29 12:34 tcp.qmail-qmtp.cdb
-rwxr-xr-x 1 root root 4166 Feb 29 12:34 tcp.qmail-smtp
-rw-r--r-- 1 root root 2130 Feb 29 12:34 tcp.qmail-smtp.cdb
aquarius root #
So what's wrong with my system?
"svscan start" logs still:
fatal: unable to open directory /var/log/qmail/qmail-pop3d: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-qmtpd: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-qmqpd: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-smtpd: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-send: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-pop3d: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-qmqpd: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-qmtpd: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-smtpd: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-send: access denied
multilog: fatal: unable to open directory /var/log/qmail/qmail-pop3d: access denied
aquarius root # ls -al /var/log/qmail
total 5
drwxr-xr-x 9 qmaill root 256 Feb 29 12:34 .
drwx------ 6 root root 608 Feb 29 12:11 ..
drwxr-xr-x 2 qmaill root 72 Feb 29 12:34 qmail-pop3d
drwxr-xr-x 2 qmaill root 72 Feb 29 12:34 qmail-qmqpd
drwxr-xr-x 2 qmaill root 72 Feb 29 12:34 qmail-qmtpd
drwxr-xr-x 2 qmaill root 72 Feb 29 12:34 qmail-send
drwxr-xr-x 2 qmaill root 72 Feb 29 12:34 qmail-smtpd
drwxr-xr-x 2 qmaill root 48 Feb 17 23:22 rblsmtpd
drwxr-xr-x 2 qmaill root 48 Feb 17 23:32 smtpd
aquarius root #
As for: * Error moving /etc/tcp.smtp to /etc/tcprules.d/tcp.qmail-smtp, be sure to check the * configuration! You may have already moved the files, * in which case you can delete /etc/tcp.smtp that's just so people can clean up their /etc/ directory (I'm not going to delete anything inside an ebuild, too dangerous). This says EXACTLY your problem: aquarius root # ls -al /var/log/qmail total 5 drwxr-xr-x 9 qmaill root 256 Feb 29 12:34 . drwx------ 6 root root 608 Feb 29 12:11 .. so /var/log is mode 700 ! since qmaill != root, and multilog runs as qmaill, it can't traverse into /var/log ! Fix it back to 755 and everything will work. I'm surprised your system didn't blow up after you set /var/log to mode 700, If you intended it as some misguided security, consider mode 711 instead. |