charmhelpers/contrib/openstack/files/policy_rc_d_script.py appears to lose executable bit upon installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
This was observed on a charm where we're newly testing deferred restarts. We found that the /var/lib/
I see that charmhelpers/
I see this behavior whether I install via pip (either via wheels or via the tarball), or via "python setup.py install" on the unzipped tarball.
The side effect of this behavior is: charmhelpers/
Indeed, it appears that charm-layer-ovn has implemented a workaround for this very issue, although the author seems to have believed this was an issue with reactive charms rather than something more general:
if 'enable-
# Reactive charms execute perm missing.
I think either something needs to be tweaked so that setup.py installs the file with the appropriate permissions, or the charmhelpers code itself needs to set the executable flag.