[Bug 1891646] [NEW] Error in postinst script
Net Products
1891646 at bugs.launchpad.net
Fri Aug 14 12:53:45 UTC 2020
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
OpenStack, which is subscribed to masakari in Ubuntu.
https://bugs.launchpad.net/bugs/1891646
Title:
Error in postinst script
Status in masakari package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/masakari/+bug/1891646/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list