re-installing an App does not update Cynara privileges

Description

Updating an App either via an "rpm -i --force" or "afm-util add" does not update the Cynara privileges if those have changed in the package.

Environment

master; Intel

Activity

jose bollo 
September 17, 2018 at 7:56 AM

First there is a work-around: uninstall the widget and then install it instead of just installing it.

It is an upsttream bug of cynara.

The explanation is that when you just install the widget, cynara receives only one transaction that erase previous values and then add it. My understanding of the bug is that the permissions that were checked are not properly removed and then not properly created on single transaction.

I will try to provide for Tuesday 17th Septembre a solution for that issue, expecting it will enter in FF release.

jose bollo 
August 28, 2018 at 6:15 PM

still observed on FF.RC4

Walt Miner 
July 2, 2018 at 12:02 AM

Close for FF RC1

jose bollo 
April 5, 2018 at 3:15 PM

I checked that the issue can't be reproduced on latest images of master, images created after https://lf-automotivelinux.atlassian.net/browse/SPEC-511#icft=SPEC-511 that integrates the new security layer. The upgrading of cynara fixed the issue that was probably coming from a bug in caching.

jose bollo 
March 20, 2018 at 6:02 PM

I made few tests on master and I haven't seen the problem again.

It is probably fixed with latest cynara version.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Affects versions

Priority

Created January 2, 2018 at 1:23 PM
Updated April 9, 2019 at 11:07 AM
Resolved September 21, 2018 at 9:23 AM