Error in postinst script

Bug #1891646 reported by Net Products on 2020-08-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
masakari (Ubuntu)
Undecided
Unassigned

Bug Description

The script copied to/at /var/lib/dpkg/info/masakari-common.postinst contains an error in ubuntu 19.04. It no longer applies to the latest version as the lines have been removed. chmod is called where chown should be called.

It only applies iff the file /var/lib/masakari/masakari.sqlite exists.

I believe this diff would fix the problem.

20c20
< chown masakari:masakari /var/lib/masakari/masakari.sqlite
---
> chmod masakari:masakari /var/lib/masakari/masakari.sqlite

For me, This prevented the upgrade process from eoan to Fossa from completing without manual intervention. It may also apply to older (LTS) versions of ubuntu with this package that are still supported.

Net Products (netproducts2) wrote :

This problem should also apply to version 19.10.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers