From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Christoph Berg <cb(at)df7cb(dot)de> |
Cc: | mpitt <mpitt(at)debian(dot)org>, pgsql-pkg-debian(at)postgresql(dot)org |
Subject: | Re: Installation on Ubuntu 13.04 |
Date: | 2013-05-07 05:39:11 |
Message-ID: | CABUevExeSWz2MBhv0Ap=ND8eqk2tp8ZCmJJPa6s8ZqbdKT2HVQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-debian |
On May 7, 2013 7:32 AM, "Christoph Berg" <cb(at)df7cb(dot)de> wrote:
>
> Re: Martin Pitt 2013-05-06 <20130507044020(dot)GD2875(at)piware(dot)de>
> > > Martin: What do you think about generating the logrotate config at
> > > install (configuration) time so we can drop the fixed logrotate
> > > depends/breaks? Using "ucf" for generated files in /etc/ is pretty
> > > easy to do, the open question would be how to detect that logrotate
> > > was just upgraded and that we need to re-generate the file. Maybe with
> > > a trigger on /usr/sbin/logrotate? Or is that too much magic? (Are we
> > > aware of other packages that have this problem?)
> >
> > It's too much magic for my taste. With conffiles there's so much that
> > can go wrong, and one often runs into situations where they cannot be
> > updated automatically.
>
> I'm less worried about that part, ucf is really good at that. It would
> be using a similar sed/awk rule like we have now, and the result of
> that is the new template that is presented to the admin. (It even
> supports 3-way merges.)
>
> > But in the end I don't think that this is such a big problem; the
> > non-LTS releases are really not a good thing to deploy PostgreSQL on,
> > especially now that from 13.04 on they are only supported for 9
> > months. So perhaps the right answer for now is just "don't do that
> > then"?
>
> People still like to do development on their laptops...
>
Yeah, that's an important consideration. And it's important to be able to
run the same version as you're on in production, which might very well not
be whatever happens to be in the latest desktop distribution - in most
cases it's probably something older, given the refresh rate of desktop
Ubuntu.
So if it's possible to get a proper fix for it without huge amounts of work
that would be good. And I assume it's not wasted effort, since the next lts
will build on the same thing and eventually require the same fix?
/Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Berg | 2013-05-07 06:02:40 | Re: Installation on Ubuntu 13.04 |
Previous Message | Christoph Berg | 2013-05-07 05:31:44 | Re: Installation on Ubuntu 13.04 |