Ticket #1162 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

/etc/ispcp/courier/userdb not present in ispcp-setup (revision 1098, Gentoo)

Reported by: pasichnyk Assigned to:
Priority: major Milestone: ispCP ω 1.0.0 - RC5
Component: Backend (Engine) Version: ispCP ω 1.0.0 - RC4
Severity: Don't know Keywords: setup, error
Cc:

Description

Use MySQL Prefix. Possible values: [i]nfront, [b]ehind, [n]one. [none]:

Activate AWStats. [no]:

Starting Installation...

/bin/cp: cannot stat `/etc/ispcp/courier/userdb': No such file or directory ERROR: External command '/bin/cp -p /etc/ispcp/courier/userdb /etc/ispcp/courier/working' returned '1' status !

It looks like the file isn't being copied correctly in the make...

Attachments

Change History

04/03/08 08:36:40 changed by rats

  • milestone changed from Working to ispCP ω 1.0.0 - RC5.

04/04/08 11:37:47 changed by rats

  • status changed from new to closed.
  • resolution set to fixed.

I hope I fixed it in r1100, please test!

04/04/08 20:06:34 changed by pasichnyk

This is still reproducible. :(

After install: ispcp courier # ls -la total 8 drwxr-xr-x 2 root root 4096 Apr 2 22:49 . drwxr-xr-x 11 root root 4096 Apr 2 22:49 .. ispcp courier # pwd /etc/ispcp/courier

As you can see, its not making it to the /tmp/ispcp/ folder during the make:

ispcp courier # ls -la total 8 drwxr-xr-x 2 root root 4096 Apr 4 10:33 . drwxr-xr-x 11 root root 4096 Apr 4 10:33 .. ispcp courier # pwd /tmp/ispcp/etc/ispcp/courier

ispcp ispcp-trunk # svn info |grep Revision Revision: 1100

The make output only shows the following for the courier folder:

make[3]: Entering directory `/root/ispcp-trunk/configs/gentoo/courier' /bin/mkdir -p /tmp/ispcp/etc/ispcp/courier /bin/mkdir -p /tmp/ispcp/etc/courier/authlib /bin/mkdir -p /tmp/ispcp/etc/courier-imap /bin/mkdir -p /tmp/ispcp/var/run/courier /tmp/ispcp/var/log/mail.log make[3]: Leaving directory `/root/ispcp-trunk/configs/gentoo/courier'

but the errors show as:

make[3]: /tmp/ispcp/var/log/mail.log: Command not found

It looks like "SYSTEM_MAKE_FILE=/bin/touch" was missing from Makefile.gentoo. I've corrected this and checked in as r1101. I've also added this line to all the other Makefiles in the root directory, so we stay consistent with what is available in each...


Add/Change #1162 (/etc/ispcp/courier/userdb not present in ispcp-setup (revision 1098, Gentoo))




Action