config-get fails with "open FORCE-VERSION: permission denied"

Bug #1226088 reported by Yolanda Robla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Invalid
Undecided
Unassigned

Bug Description

A trivial config-get in a db-relation-changed hooks fails with following error:

open FORCE-VERSION: permission denied

Full logfile can be seen at: http://paste.ubuntu.com/6115131/

config-get with other vars seems to work, for example: config-get git_path

But config-get defaultname triggers that error, that seems to be unrelated.

Attached config.yaml file

Revision history for this message
Yolanda Robla (yolanda.robla) wrote :
description: updated
Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

Issue was related with changing user inside charm. I changed user with os.setuid, then all the juju calls were invalid, because of permissions.

Changed in juju-core:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.