[Openstack-devel] Bug#677400: This is not a bug, it is a feature!

ghe. rivero ghe.rivero at gmail.com
Mon Jun 18 16:43:34 UTC 2012


Hi everyone,
   i finally managed to find the problem (not uploaded a fix, but it's
pretty trivial).  As Zigo noted, scripts shouldn't change conffiles,
but in our case, as we are using dbconfig, if we use other options
than the defaults ones, it's ok to do it. In our case, using the
default options (or non-interactive as piuparts does) the problem is
that in nova-common.postinst script (line ~81)
     SQL_CONNECTION="sqlite:////$dbc_basepath/$dbc_dbname"
 we add an extra / (slash) after sqlite,  making the conf file
different than the package default provided. The solution is as eassy
as remove one the /. I'll wait for comments to provide a fix for it.

Ghe Rivero



On Mon, Jun 18, 2012 at 6:36 PM, Thomas Goirand <zigo at debian.org> wrote:
> On 06/18/2012 11:01 PM, Loic Dachary wrote:
>> On 06/18/2012 04:20 PM, Thomas Goirand wrote:
>>> On 06/18/2012 06:08 PM, Ola Lundqvist wrote:
>>>> I refuse to re-open this bug unless you have a very good reason for it.
>>>> It is a feature of the package, not a bug.
>>> Please sit down comfortably, and re-read the policy manual.
>> We're all working toward the same goal and it's very easy and non-controversial to explain why you think something is a mistake. Just use technical terms and references proving your case and avoid sarcasm, condescending tone etc.
>>
>> Thank you in advance for tuning it down a little ;-)
>
> Sorry if this looked like I was having a bad tone.
>
> In technical terms: a maintainer script should never edit a file marked
> as conffile. If you want to do it, then the configuration file shouldn't
> be marked as conffile.
>
> Cheers,
>
> Thomas
>
> _______________________________________________
> Openstack-devel mailing list
> Openstack-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/openstack-devel



-- 
Pinky: "Gee, Brain, what do you want to do tonight?"
The Brain: "The same thing we do every night, Pinky—try to take over the world!"

 .''`.  Pienso, Luego Incordio
: :' :
`. `'
  `-    www.debian.org    www.openstack.com

GPG Key: 26F020F7
GPG fingerprint: 4986 39DA D152 050B 4699  9A71 66DB 5A36 26F0 20F7



More information about the Openstack-devel mailing list