[Bug 1833771] Re: postinst file fails if /var/lib/placement/placement.sqlite exists
James Page
1833771 at bugs.launchpad.net
Thu Jan 27 10:17:07 UTC 2022
*** This bug is a duplicate of bug 1848484 ***
https://bugs.launchpad.net/bugs/1848484
** This bug has been marked a duplicate of bug 1848484
placement-common dpkg error (typo: chmod != chown)
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to placement in Ubuntu.
https://bugs.launchpad.net/bugs/1833771
Title:
postinst file fails if /var/lib/placement/placement.sqlite exists
Status in placement package in Ubuntu:
New
Bug description:
postinst file contains these instructions:
<snip>
if [ -e /var/lib/placement/placement.sqlite ];
then
chmod placement:placement /var/lib/placement/placement.sqlite
chmod 640 /var/lib/placement/placement.sqlite
fi
<snip>
The first 'chmod' has invalid syntax.
I suspect it should read:
chown -R placement:placement /var/lib/placement/placement.sqlite
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: placement-common 1.0.0-0ubuntu1~cloud0 [origin: Canonical]
ProcVersionSignature: Ubuntu 4.15.0-50.54-generic 4.15.18
Uname: Linux 4.15.0-50-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CrashDB:
{
"impl": "launchpad",
"project": "cloud-archive",
"bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
}
Date: Fri Jun 21 15:16:02 2019
InstallationDate: Installed on 2019-04-24 (58 days ago)
InstallationMedia: Ubuntu-Server 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
PackageArchitecture: all
ProcEnviron:
LANG=en_CA.UTF-8
SHELL=/bin/bash
TERM=xterm
LANGUAGE=en_CA:en
PATH=(custom, no user)
SourcePackage: placement
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.placement.placement.conf: [deleted]
modified.conffile..etc.placement.policy.yaml: [deleted]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/placement/+bug/1833771/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list