Activity log for bug #2017798

Date Who What changed Old value New value Message
2023-04-26 15:59:08 Tianqi Xiao bug added bug
2023-04-26 15:59:15 Tianqi Xiao charm-logrotated: status New Triaged
2023-04-26 16:01:55 Tianqi Xiao tags bseng-1138
2023-04-26 16:02:57 Tianqi Xiao description `update-cron-daily-schedule` config modifies entries in sudo user crontab (which will be saved to `/var/spool/cron/crontabs/root`) instead of system crontab file (`/etc/crontab`), leaving the latter intact. This has two consequences: 1. both cron configs will be used to run cronjobs, so the scripts will be ran twice 2. `hookenv.log` cannot be correctly executed when running with sudo user cronjob so its messages will not show up in juju debug-log. We should instead only manipulate `/etc/crontab` file, either by manually changing the file entries, or using dedicated library to achieve so. `update-cron-daily-schedule` config modifies entries in sudo user crontab (which will be saved to `/var/spool/cron/crontabs/root`) instead of system crontab file (`/etc/crontab`), leaving the latter unchanged. This has two consequences: 1. both cron configs will be used to run cronjobs, so the scripts will be ran twice 2. `hookenv.log` cannot be correctly executed when running with sudo user cronjob so its messages will not show up in juju debug-log. We should instead only manipulate `/etc/crontab` file, either by manually changing the file entries, or using dedicated library to achieve so.
2023-04-27 10:09:19 Eric Chen charm-logrotated: importance Undecided Medium
2023-05-09 05:47:15 Ashley James merge proposal linked https://code.launchpad.net/~dashmage/charm-logrotated/+git/charm-logrotated/+merge/442506
2023-05-09 05:47:29 Ashley James charm-logrotated: assignee Ashley James (dashmage)
2023-05-19 10:03:10 Ashley James merge proposal linked https://code.launchpad.net/~dashmage/charm-logrotated/+git/charm-logrotated/+merge/443242
2023-05-19 10:06:08 Ashley James charm-logrotated: status Triaged Fix Committed
2023-05-19 10:47:13 Eric Chen charm-logrotated: importance Medium High
2023-07-04 10:12:08 Chi Wai CHAN charm-logrotated: milestone 23.07
2023-07-28 04:19:35 Chi Wai CHAN charm-logrotated: status Fix Committed Fix Released