Mattias Segerdahl wrote:
> Please delete and recreate your vpopmail user.
>
> Your current vpopmail users homedirectory is not the correct one according
> to the source rpm
>
> -----Original Message-----
> From: Warren [mailto:[EMAIL PROTECTED]
> Sent: den 4 maj 2006 14:22
> To: [email protected]
> Subject: [qmailtoaster] New vpopmailtoaster rpm on the site
>
> I just tried building the new vpopmail rpm.  (rpmbuild --rebuild --with
> cnt40 ...).
>
> Here is the tail of my build log:
> <log>
> make[3]: Leaving directory `/usr/src/redhat/BUILD/vpopmail-5.4.13'
> make[2]: Leaving directory `/usr/src/redhat/BUILD/vpopmail-5.4.13'
> make[1]: Leaving directory `/usr/src/redhat/BUILD/vpopmail-5.4.13'
> + mv
> /var/tmp/vpopmail-toaster-5.4.13-root/home/vpopmail/etc/vpopmail.mysql
> /var/tmp/vpopmail-toaster-5.4.13-root/home/vpopmail/etc/vpopmail.mysql.dist
> mv: cannot stat
> `/var/tmp/vpopmail-toaster-5.4.13-root/home/vpopmail/etc/vpopmail.mysql':
> No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.13378 (%install)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.13378 (%install)
> </log>
>
> The problem is that the build script is looking for the
> qmailtoaster-standard /home/vpopmail directory tree, but the rpm is
> building with the qmail-standard /var/qmail directory tree.  I put a
> softlink into place to complete the build, figuring that it will not
> affect me either way since I have everything is /var/qmail anyway and
> /home/vpopmail is just a link to /var/qmail so that a single rsync will
> let my backup the entire tree, programs and all.
>
> Whomever maintains this rpm might want to change that though.
>
> Regards,
> W
>
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   
I did that and it made no difference.  Something else must have changed
along the way.

What this seems to mean is that the parts of the scripts are using
vpopmail's home but other parts of the script are hardcoded for
/home/vpopmail.  This is a bug in the script and the solution should not
have to be to delete and recreate the vpopmail user, or even to have to
change things as I did.  Either the home directory should be used for
the entire build script or the hardcoded path should be used, but not
some of each.

W

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to