On Wed, Oct 25, 2006, Bill Campbell wrote:

> [...]
> Things were going along reasonably well although for some reason
> the root PATH always seemed to include the OpenPKG directories in
> front of the normal root directories, and I couldn't figure out
> where this is set so had to hack the /etc/profile to fix that.

This can be just from your "openssh::with_trysetpath=yes" build-time
option, I think.

> The most recent problem I found was the lack of the ``mail''
> program, and when I installed mailx using apt-get, it also
> installed postfix because of the dependencies which can cause
> problems as it conflicts with the OpenPKG version of postfix.
>
> I can disable the Ubuntu postfix by setting DAEMON to something
> that isn't executable in the /etc/default/postfix file, but that
> doesn't deal with programs like mail that want to pipe through
> the /usr/sbin/sendmail or /usr/lib/sendmail programs.  I suspect
> that a dpkg update of the postfix program may change these if
> they're symlinked to the OpenPKG postfix.

AFAIK some people have hacked together a dummy dpkg package which
provides those symlinks for Debian/Ubuntu and this way is 100% in sync
with the Debian/Ubuntu package management. Or perhaps there exists a
mechanism like FreeBSD's /etc/mail/mailer.conf somewhere in Ubuntu? This
would allow one to redirect the MTA commands without symlinking.

> [...]
> I don't know anything about building packages for Debian systems
> so can't do something similar with climbing a long learning curve.

Oh, well dpkg is... puhhh... well, better to not ask me for any comment.
I can just say that Debian packages usually work really great under
_runtime_ but are usually always a great piece of ugly spagetthi code
(aka mess) from a source package point of view.

> My main questions then are:
>
>   1.  Does anybody have an idea why the root PATH has the OpenPKG
>       directories by default?  I have used grep on all the textfiles in the
>       root file system to see if I could find out where this is being set
>       without success.

As said, look at your OpenSSH package and its build-options.

>   2.  How do people deal with replacing the MTA on the underlying system
>       without running into conflicts with its package management system?

Usually always by injecting a custom stub package AFAIK.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to