[DRE-maint] Bug#820073: diaspora-common: modified shipped files: /usr/share/diaspora-common/{database.yml, diaspora.conf}

Andreas Beckmann anbe at debian.org
Sun Jul 10 07:36:34 UTC 2016


On 2016-07-10 07:11, Pirate Praveen wrote:
>> 1m24.6s ERROR: FAIL: debsums reports modifications inside the chroot:
>>   /var/lib/diaspora-common/database.yml
> 
> Why is this a problem? I thought only /usr/share needs to be read only.
> Which other directory I can use then for this purpose (to modify in
> postinst)?

You must not modify shipped files *anywhere*. Use them as templates
where you modify some values according to debconf input and ideally use
ucf to manage the generated file.


Andreas



More information about the Pkg-ruby-extras-maintainers mailing list