BUG #15768: Removed rpms and now require /etc/redhat-release

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

BUG #15768: Removed rpms and now require /etc/redhat-release

PG Bug reporting form
The following bug has been logged on the website:

Bug reference:      15768
Logged by:          Matt Harter
Email address:      [hidden email]
PostgreSQL version: 10.6
Operating system:   Amazon Linux
Description:        

Amazon linux does not have /etc/redhat-release and our pipelines are broken
because the repositories we were using to add to yum are no longer there
without requiring /etc/redhat-release.  We are a CI/CD system so manually
adding this is not an option.

Reply | Threaded
Open this post in threaded view
|

Re: BUG #15768: Removed rpms and now require /etc/redhat-release

Bruce Momjian
On Wed, Apr 17, 2019 at 12:20:45PM +0000, PG Bug reporting form wrote:

> The following bug has been logged on the website:
>
> Bug reference:      15768
> Logged by:          Matt Harter
> Email address:      [hidden email]
> PostgreSQL version: 10.6
> Operating system:   Amazon Linux
> Description:        
>
> Amazon linux does not have /etc/redhat-release and our pipelines are broken
> because the repositories we were using to add to yum are no longer there
> without requiring /etc/redhat-release.  We are a CI/CD system so manually
> adding this is not an option.

Uh, can you show us what you are running and the error?  I think this is
a packaging issue, but am unsure.

--
  Bruce Momjian  <[hidden email]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


Reply | Threaded
Open this post in threaded view
|

Re: BUG #15768: Removed rpms and now require /etc/redhat-release

Devrim GÜNDÜZ
In reply to this post by PG Bug reporting form

Hi,

On Wed, 2019-04-17 at 12:20 +0000, PG Bug reporting form wrote:
> Amazon linux does not have /etc/redhat-release and our pipelines are broken
> because the repositories we were using to add to yum are no longer there
> without requiring /etc/redhat-release.  We are a CI/CD system so manually
> adding this is not an option.

Amazon Linux support was removed years ago actually. I just made sure that our
repo file reflects that.

Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: BUG #15768: Removed rpms and now require /etc/redhat-release

Matt Harter
Well whether or not it is officially supported, it still works on amazon linux, and since their default repositories are behind on postgres (which of course is really an amazon limitation) we have to manually add the repository.  Since the recent change that added a required dependency (which is clearly NOT required for amazon linux), our previously working deploy pipelines are now blocked/broken.  We have temporarily mitigated the issue by using rpm and explicitly ignoring the repositories dependencies, but that seems like a band-aid fix for the real problem which is that dependency shouldn’t be there.  Why does a repository need to enforce the os it is on?  If a consumer wants to do something “wrong” or against the documented way to do things, their issues are their problem.
 

On 4/18/19, 4:07 AM, "Devrim Gündüz" <[hidden email]> wrote:

   
    Hi,
   
    On Wed, 2019-04-17 at 12:20 +0000, PG Bug reporting form wrote:
    > Amazon linux does not have /etc/redhat-release and our pipelines are broken
    > because the repositories we were using to add to yum are no longer there
    > without requiring /etc/redhat-release.  We are a CI/CD system so manually
    > adding this is not an option.
   
    Amazon Linux support was removed years ago actually. I just made sure that our
    repo file reflects that.
   
    Regards,
    --
    Devrim Gündüz
    Open Source Solution Architect, Red Hat Certified Engineer
    Twitter: @DevrimGunduz , @DevrimGunduzTR