Public bug reported:

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.

** Affects: masakari (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891646

Title:
  Error in postinst script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/masakari/+bug/1891646/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to