GNOME Bugzilla – Bug 760531
stale repo/tmp/tmpobjects-$(cat /proc/sys/kernel/random/boot_id) directories
Last modified: 2016-07-19 18:01:56 UTC
Steps to reproduce: 1) ostree admin upgrade 2) kill the process 3) reboot 4) ostree admin upgrade 5) wait for upgrade to finish, reboot Expected: no tmpobjects-* directories in repo/tmp/ Actual: tmpobjects- is present. It was not cleared out because process was killed in step 2 and system rebooted before running another "ostree admin upgrade"
ostree admin cleanup also does not remove the file.
Yeah, right now they're pruned after 1 day, but we can clearly do better here - recognize tmpobjects from other boot ids and prune them in admin cleanup would make sense to me.
https://github.com/GNOME/ostree/pull/170
Closing, as this has been fixed and merged.