Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2416 - courier-authlib problem with user creation

Attached to Project: Arch Linux
Opened by eliott (cactus) - Sunday, 20 March 2005, 09:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

In the package install:
useradd -u 72 -d /var/spool/courier -g courier -s /bin/false courier &>/dev/null

In the courier-imap pkgbuild:
--localstatedir=/var/spool/courier-imap

This yeilds the following error via dialy cron:
user courier: directory /var/spool/courier does not exist
pwck: no changes
Indeed /var/spool/courier does not exist, as it is /var/spool/courier-imap
This task depends upon

Closed by  Tobias Kieslich (tobias)
Monday, 18 April 2005, 15:55 GMT
Reason for closing:  Fixed
Comment by Tobias Kieslich (tobias) - Sunday, 20 March 2005, 18:43 GMT
this issue isn't related in courier-imap since courier-imap dean't need
that user. courier-mta needs it, and it has to be created in advance to
make sure that the user already exist when courier-mta is built or or
installed.
I can't redirect it to /var/lib/courier-imap cuz' then it won't work for
courier-mta then, and I dunno if it works when I redirect it to
/var/spool/authdaemond.
We will see
Comment by Tobias Kieslich (tobias) - Monday, 18 April 2005, 15:10 GMT
Actually, the authlib doesn't need a user/group courier and so doesn't courier-imap. Only courier-mta needs it, but it must be created in advance, to guarantee that the authlib will work together with the mta flawlessly. So using authdaemons dir as home for a user that isn't needed by the package itself is a bit messy. So instead I create an empty dir for the courier user in /var/spool/courier to get rid of that error message.

Loading...