Re: malformated LSB header in postgres: missing LSB end marker, aborting

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Matthias Apitz <guru(at)unixarea(dot)de>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: malformated LSB header in postgres: missing LSB end marker, aborting
Date: 2026-04-01 15:14:10
Message-ID: e6110c83-44f0-48ee-bebf-64329f8c6193@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/1/26 12:32 AM, Matthias Apitz wrote:
> El día miércoles, marzo 25, 2026 a las 07:35:21a. m. -0700, Adrian Klaver escribió:
>
>> From the contrib script:
>>
>> "# Proper init scripts on Linux systems normally require setting lock
>> # and pid files under /var/run as well as reacting to network
>> # settings, so you should treat this with care.
>> "
>
> I've read this comment in the script before filing my question. And my
> question is: Why postgresql.org does not deliver this PGDG Debian/Ubuntu
> version of the script for Linux(!) as default:

Because there are more flavors of Linux then the Debian family?

The basic issue is that the project itself takes responsibility for
delivering the source. Integration of the source with OS'es is left to
others.

What you see here:

https://www.postgresql.org/download/

is delivered by separate packaging teams.

At this point end users directly building from source is, from what I
understand, a very small subset of the Postgres user base. The
expectation is that you will be installing from some sort of packaging
system or using a pre-installed service.

>
>>
>> From the start script that the PGDG Debian/Ubuntu packages use:
>>
>> ### BEGIN INIT INFO
>> # Provides: postgresql
>> # Required-Start: $local_fs $remote_fs $network $time
>> # Required-Stop: $local_fs $remote_fs $network $time
>> # Should-Start: $syslog
>> # Should-Stop: $syslog
>> # Default-Start: 2 3 4 5
>> # Default-Stop: 0 1 6
>> # Short-Description: PostgreSQL RDBMS server
>> ### END INIT INFO
>>
>> [Continued]
>
> Thanks
>
> matthias
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2026-04-03 17:26:19 Re: Documentation weirdness
Previous Message Greg Hennessy 2026-04-01 15:05:20 Re: How to query with more workers on a large table with many partitions