qmil-run sets up the wrong symbolic links so qmail won't start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
From a fresh installation of qmail I find
jon@frobenius:
lrwxrwxrwx 1 root root 29 May 21 20:17 supervise -> /var/lib/
jon@frobenius:
total 12
lrwxrwxrwx 1 root root 21 Mar 3 2015 qmail-send -> /etc/qmail/
drwx------ 2 root root 4096 May 22 12:23 qmail-send.log
lrwxrwxrwx 1 root root 22 Mar 3 2015 qmail-smtpd -> /etc/qmail/
drwx------ 2 root root 4096 May 22 12:23 qmail-smtpd.log
lrwxrwxrwx 1 root root 23 Mar 3 2015 qmail-verify -> /etc/qmail/
drwx------ 2 root root 4096 May 22 12:23 qmail-verify.log
jon@frobenius:
Starting qmail
qmail-send supervise not running
qmail-smtpd supervise not running
qmail-verify supervise not running
jon@frobenius:
/etc/service/
/etc/service/
/etc/service/
/etc/service/
/etc/service/
/etc/service/
messages in queue: 0
messages in queue but not yet preprocessed: 0
The problem occurs because the files supervise all point to a non-existent directory /var/lib/supervise. The correct directory is /var/lib/
jon@frobenius:
jon@frobenius:
Starting qmail
jon@frobenius:
/etc/service/
/etc/service/
/etc/service/
/etc/service/
/etc/service/
/etc/service/
messages in queue: 0
messages in queue but not yet preprocessed: 0
But, I believe the correct fix is to create the correct links from the subdirectories of /etc/qmail
jon@frobenius:
Description: Ubuntu 20.04.2 LTS
Release: 20.04
jon@frobenius:
qmail-run:
Installed: 2.0.2+nmu1
Candidate: 2.0.2+nmu1
Version table:
*** 2.0.2+nmu1 500
500 http://
500 http://
100 /var/lib/
I expected qmail to start, and qmailctl stat to show me it running. Instead I got the error messages above
Status changed to 'Confirmed' because the bug affects multiple users.