Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 15:20:10 +0100
From:      "Spil Oss" <spil.oss@googlemail.com>
To:        "Renato Botelho" <garga@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: mail/qmail make reinstall fails
Message-ID:  <5fbf03c20602280620pce0721fx@mail.gmail.com>
In-Reply-To: <4404517F.5030209@FreeBSD.org>
References:  <5fbf03c20602280521g1621f8d9q@mail.gmail.com> <4404517F.5030209@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Renato,

FreeBSD beastie 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue Jan 17 12:53:38
CET 2006     root@beastie:/usr/obj/usr/src/sys/BEASTIE  i386

Built just after I cvsup-ed my src tree

Tried a bit more, and there's ways it does work.....
in /var/qmail
`ln -s alias/.qmail-postmaster alias/.qmail-mailer-daemon`
breaks it

in /var/qmail/alias
`ln -s .qmail-postmaster .qmail-mailer-daemon`
works

Probably I've taken this from 'Life with qmail'  Chapter "2.8.4.
Create System Aliases"
Just above http://www.lifewithqmail.org/lwq.html#test

Potentially I made a mistake here... I have seen the file listed as
lrwxr-xr-x  1 root  qmail  23 Feb 28 14:56 .qmail-mailer-daemon ->
alias/.qmail-postmaster
But that won't work.
That would be a reason the 'touch' fails and assumes that the file
doesn't exist.
Life with qmail also specifies a full path for .qmail-mailer-daemon.

Sorry to have bothered you, I should have investigated further before posti=
ng.

Kind regards,

Spil.

On 28/02/06, Renato Botelho <garga@freebsd.org> wrote:
> Em 28/2/2006 10:21 Spil Oss escreveu:
> > Hi Garga,
> >
> > Make reinstall failed
> >
> > install  -o root -g wheel -m 555
> > /usr/ports/mail/qmail/work/enable-qmail /var/qmail/scripts
> > touch: /var/qmail/alias/.qmail-mailer-daemon: No such file or directory
> > Failed to create files :
> >   /var/qmail/alias/.qmail-postmaster
> >   /var/qmail/alias/.qmail-root
> >   /var/qmail/alias/.qmail-mailer-daemon
> > *** Error code 1
> >
> > Stop in /usr/ports/mail/qmail.
> > *** Error code 1
> >
> > Stop in /usr/ports/mail/qmail.
> >
> > .qmail-mailer-daemon was a link to .qmail-postmaster (something I
> > picked up from some qmail howto guide)
> >
> > Moving these files to another directory, make reinstall ran fine.
> > Copying .qmail-postmaster to .qmail-mailer-daemon (i.e. making it a
> > regular file) worked too. After moving the original files back,
> > qmail's running fine again.
>
> Hello,
>
> I'm trying to reproduce this here, but cannot until now. I tried to
> create a symbolic link .qmail-mailer-daemon -> .qmail-postmaster,
> and ran `make reinstall` but it installs perfectly.
>
> What port does is a touch on each 3 files on /var/qmail/alias:
>
> .qmail-mailer-daemon
> .qmail-postmaster
> .qmail-root
>
> touch just create the file if it doesn't exist, and it works fine if
> the file is a symlink.
>
> Could you give more information about FreeBSD version, qmail port
> version, arch?
>
> Thanks
> --
> Renato Botelho <garga @ FreeBSD.org>
>                <freebsd @ galle.com.br>
> GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5fbf03c20602280620pce0721fx>