[Openstack-devel] Bug#732547: Does not preserve modifications to /etc/default/cinder-common

Gaudenz Steinlin gaudenz at debian.org
Wed Dec 18 15:52:25 UTC 2013


Package: cinder-common
Version: 2013.2.1-1
Severity: serious

cinder-common fails to preserve modifications to the file
/etc/default/cinder-common. There seems to be some code in the config
script function manage_cinder_enable which tries to read the value 
from the file and set the debconf value accordingly, but this does not
work. The value of CINDER_ENABLE is always set back to what was stored
in debconf before.

If you have problems reproducing this I can help with more information.
But after looking at the config script for more than 1 hour I gave up. I
hope that those who have written this piece of code can better spot the
bugs. ;-) The bug should be easy to reproduce, just install
cinder-common and answer the debconf question cinder/start_services,
change the value in /etc/default/cinder-common and then reinstall to
package (to simulate an upgrade). The result is that the local
modification is not preserved.

Gaudenz

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Openstack-devel mailing list