'Linux 5' support in Postfix Stable Release 3.4.1 ?

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

'Linux 5' support in Postfix Stable Release 3.4.1 ?

PGNet Dev
 > Postfix stable release 3.4.1 is available.

upgrading, as per usual here, from a working 3.4.0 build to 3.4.1, now fails

  cd postfix-3.4.1
  make tidy
        make -f Makefile.in MAKELEVEL= Makefiles
        (echo "# Do not edit -- this file documents how Postfix was built for
your machine."; /bin/sh makedefs) >makedefs.tmp
        ATTENTION:
        ATTENTION: Unknown system type: Linux 5.0.0-lp150.5.g6bc6477-default
        ATTENTION:
        make: *** [Makefile.in:31: Makefiles] Error 1
        make: *** [Makefile:22: Makefiles] Error 2

this _is_ after recent update to Linux kernel 5.0.0.

looks like `makedefs` still refers only to

  grep Linux.*\) makedefs
     Linux.1*)   SYSTYPE=LINUX1
     Linux.2*)   SYSTYPE=LINUX2
     Linux.[34].*) SYSTYPE=LINUX$RELEASE_MAJOR

and may (?) need a Linux5 ...
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

PGNet Dev
> and may (?) need a Linux5 ...

fwiw, a simple cleanup,

 perl -pi -e 's|(Linux\.\[)34(\])|${1}345${2}|g' makedefs
 perl -pi -e 's|(defined\(LINUX4\))|${1} \|\| defined(LINUX5)|g' src/util/sys_defs.h

at least gets to a successful build

dunno if there's other issues w/ linux5. yet.
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Wietse Venema
In reply to this post by PGNet Dev
Which distro ships with Linux 5.x kernels? I want to install that
distribution in a VM for tests. I am not interested in a FrankenLinux
where I have to assemble different parts from different providers.
Last time I asked I did not get a good answer.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Marek Kozlowski-2
:-)

ArchLinux?
It's a rolling release one. Install any version then run `pacman -Suy'
for upgrade to the most recent packages in repos. Quick and simple (but
it is a systemd Linux :-( )

Best regards,
Marek


On 3/8/19 1:26 PM, Wietse Venema wrote:
> Which distro ships with Linux 5.x kernels? I want to install that
> distribution in a VM for tests. I am not interested in a FrankenLinux
> where I have to assemble different parts from different providers.
> Last time I asked I did not get a good answer.
>
> Wietse


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Christian Rößner
In reply to this post by Wietse Venema

Am 08.03.2019 um 13:26 schrieb Wietse Venema <[hidden email]>:

Which distro ships with Linux 5.x kernels? I want to install that
distribution in a VM for tests. I am not interested in a FrankenLinux
where I have to assemble different parts from different providers.
Last time I asked I did not get a good answer.

CentOS 7 with elrepo(1 repository and kernel-ml

This is a very common setup CentOS+elrepo


Christian 
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Marek Kozlowski-2
In reply to this post by Marek Kozlowski-2
:-)

Or instead of downloading and installing download a qemu image of ArchLinux:

http://pages.mini.pw.edu.pl/~kozlowskim/archv.qcow2

It' s an up-to-date qemu image prepared for my students.

Best regards,
Marek

On 3/8/19 1:32 PM, Marek Kozlowski wrote:

> :-)
>
> ArchLinux?
> It's a rolling release one. Install any version then run `pacman -Suy'
> for upgrade to the most recent packages in repos. Quick and simple (but
> it is a systemd Linux :-( )
>
> Best regards,
> Marek
>
>
> On 3/8/19 1:26 PM, Wietse Venema wrote:
>> Which distro ships with Linux 5.x kernels? I want to install that
>> distribution in a VM for tests. I am not interested in a FrankenLinux
>> where I have to assemble different parts from different providers.
>> Last time I asked I did not get a good answer.
>>
>>     Wietse
>
--
Dr Eng. Marek Kozłowski
Senior Lecturer
Unix and Network Administrator
Warsaw University of Technology
Faculty of Mathematics and Information Sciences
ul. Koszykowa 75,
00-662 Warszawa
POLAND
tel.: +48 601 827 225


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Sonic
In reply to this post by Wietse Venema
On Fri, Mar 8, 2019 at 7:27 AM Wietse Venema <[hidden email]> wrote:
> Which distro ships with Linux 5.x kernels?

$ uname -r
5.0.0-gentoo
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Patrick Ben Koetter-2
In reply to this post by Wietse Venema
* Wietse Venema <[hidden email]>:
> Which distro ships with Linux 5.x kernels? I want to install that
> distribution in a VM for tests. I am not interested in a FrankenLinux
> where I have to assemble different parts from different providers.
> Last time I asked I did not get a good answer.

Linux x1.sys4.de 5.0.0-arch1-1-ARCH #1 SMP PREEMPT Mon Mar 4 14:11:43 UTC 2019 x86_64 GNU/Linux


--
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein
 
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Phil Stracchino
In reply to this post by Wietse Venema
On 3/8/19 7:26 AM, Wietse Venema wrote:
> Which distro ships with Linux 5.x kernels? I want to install that
> distribution in a VM for tests. I am not interested in a FrankenLinux
> where I have to assemble different parts from different providers.
> Last time I asked I did not get a good answer.


Gentoo has kernel 5.0.0 available as of a couple of days ago, and very
minimal installs are possible.  Systemd is not required, the default
init system is openrc UNLESS you select a Gnome desktop profile.


--
  Phil Stracchino
  Babylon Communications
  [hidden email]
  [hidden email]
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Ralph Seichter-2
In reply to this post by Wietse Venema
* Wietse Venema:

> Which distro ships with Linux 5.x kernels?

I use Gentoo Linux with a 5.0.0 kernel and the mail-mta/postfix-3.4.0
ebuild on several servers. If you want to try it, you'd need to use the
~amd64 (un-stable) keyword for sys-kernel/gentoo-sources and the
aforementioned mail-mta/postfix.

-Ralph

P.S.: Once again my submission was rejected because I used the adjective
un-stable without the dash. Apparently the regex used is functionally
equivalent to /[u][n][s]/, which is a pain in the bum.
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Wietse Venema
I jhave a concrete question: does anyone have an URL for an installable
image (ISO, memory stick, etc.) that installs an OS with kernel5
and enough user-land tools to build Postfix? My expectation is to
fire up an empty VM, install the OS on the empty disk, and start
building Postfix 15 minutes later.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Joan Moreau-2

ArchLinux is the answer (to everything ;) )

https://www.archlinux.org/download/

 


On 2019-03-09 16:37, Wietse Venema wrote:

I jhave a concrete question: does anyone have an URL for an installable
image (ISO, memory stick, etc.) that installs an OS with kernel5
and enough user-land tools to build Postfix? My expectation is to
fire up an empty VM, install the OS on the empty disk, and start
building Postfix 15 minutes later.

    Wietse

Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

PGNet Dev
In reply to this post by Wietse Venema
On 3/9/19 6:37 AM, Wietse Venema wrote:
> I jhave a concrete question: does anyone have an URL for an installable
> image (ISO, memory stick, etc.) that installs an OS with kernel5
> and enough user-land tools to build Postfix? My expectation is to
> fire up an empty VM, install the OS on the empty disk, and start
> building Postfix 15 minutes later.

I'm not aware of any release-distro that ships with all dev deps, or a '1-click' solution.

If your 'expectation' is hard, feel free to ignore; if it can bend, the following is straightforward:


DL the latest Opensuse Tumbleweed (TW) installation-media .iso here,

        https://software.opensuse.org/distributions/tumbleweed

or, directly (atm, most recent snapshot ...)

        https://provo-mirror.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Snapshot20190307-Media.iso

'Boot' to installer & graphically-install OpenSUSE TW to VM of choice (VirtualBox6 works nicely)
(docs: https://doc.opensuse.org/documentation/leap/startup/single-html/book.opensuse.startup/index.html)

Once booted, @ shell

 (1) zypper ar http://download.opensuse.org/repositories/Kernel:/stable/standard Kernel_stable
 (2) zypper in kernel-default kernel-default-devel kernel-source-devel
 (3) zypper in -d postfix

(these steps _can_ be effectively done from within the installer UI; your choice)

If you need a 'zypper' cheat-sheet, https://en.opensuse.org/images/1/17/Zypper-cheat-sheet-1.pdf

note: TW will imminently upgrade to kernel v5, as soon as it passes openQA (https://build.opensuse.org/request/show/681405).  At that point, step (1) will no longer be necessary

Reboot VM.

That should do it (assuming the postfix package spec's requirements are complete).
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Wietse Venema
PGNet Dev:

> On 3/9/19 6:37 AM, Wietse Venema wrote:
> > I jhave a concrete question: does anyone have an URL for an installable
> > image (ISO, memory stick, etc.) that installs an OS with kernel5
> > and enough user-land tools to build Postfix? My expectation is to
> > fire up an empty VM, install the OS on the empty disk, and start
> > building Postfix 15 minutes later.
>
> I'm not aware of any release-distro that ships with all dev deps, or a '1-click' solution.
>
> If your 'expectation' is hard, feel free to ignore; if it can bend, the following is straightforward:

Thanks. I'll give that a try when I am on a good network.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: 'Linux 5' support in Postfix Stable Release 3.4.1 ?

Peter Ajamian
In reply to this post by Wietse Venema
On 09/03/19 01:26, Wietse Venema wrote:
> Which distro ships with Linux 5.x kernels? I want to install that
> distribution in a VM for tests. I am not interested in a FrankenLinux
> where I have to assemble different parts from different providers.
> Last time I asked I did not get a good answer.

I did mention Fedora Rawhide:
https://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Server/x86_64/iso/

...and pick either the Server or the netinst iso according to your
preference.

Then you just have to run:
   dnf install @buildsys-build m4

...and that will give you the build environment.  You will probably also
have to install some -devel packages and possibly others, standard stuff
for most linux distros.


Peter