Charm should only write out files on change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Livepatch Charm |
Invalid
|
Medium
|
Unassigned |
Bug Description
Hi,
See logging that the following files are constantly being written out:
| 2019-03-17 21:37:40 INFO juju-log Reactive main running for hook update-status
| 2019-03-17 21:37:40 INFO juju-log Initializing Snap Layer
| 2019-03-17 21:37:40 INFO juju-log Invoking reactive handler: reactive/
| 2019-03-17 21:37:40 INFO juju-log Writing file /etc/cron.
| 2019-03-17 21:37:40 INFO juju-log Writing file /usr/lib/
|
| 2019-03-17 21:43:23 INFO juju-log Reactive main running for hook update-status
| 2019-03-17 21:43:23 INFO juju-log Initializing Snap Layer
| 2019-03-17 21:43:23 INFO juju-log Invoking reactive handler: reactive/
| 2019-03-17 21:43:23 INFO juju-log Writing file /etc/cron.
| 2019-03-17 21:43:23 INFO juju-log Writing file /usr/lib/
|
| 2019-03-17 21:48:58 INFO juju-log Reactive main running for hook update-status
| 2019-03-17 21:48:58 INFO juju-log Initializing Snap Layer
| 2019-03-17 21:48:58 INFO juju-log Invoking reactive handler: reactive/
| 2019-03-17 21:48:58 INFO juju-log Writing file /etc/cron.
| 2019-03-17 21:48:58 INFO juju-log Writing file /usr/lib/
Causing unnecessary cron reloads:
| ar 17 21:38:01 hutton cron[2431]: (*system*
| Mar 17 21:44:01 hutton cron[2431]: (*system*
| Mar 17 21:49:01 hutton cron[2431]: (*system*
summary: |
- Charm should only write out files on chane + Charm should only write out files on change |
Changed in canonical-livepatch-charm: | |
importance: | Undecided → Wishlist |
FYI, this is with the latest charm.
.codetree_ charmstore: livepatch- 31;channel= stable
cs:canonical-
https:/ /jujucharms. com/canonical- livepatch/:
Latest version (#31)