it does setup /var/lib/rkt, there's a %{_bindir}/rkt-setup-data-dir.sh that runs on %post to create the dir structure in /var/lib/rkt. Just that I excluded it from %files so that it didn't get removed if someone uninstalled rkt. Kinda like /var/lib/docker. Do we want this removed on uninstall?
It would only get removed if there was no data in it, so yes it should be in the payload.
ah yup, you're right. Reverted it. commit 1e03a118cd40db059ea281b082a1aa96394b69d4 Author: Lokesh Mandvekar <lsm5> Date: Wed Mar 2 20:28:20 2016 Resolves: rhbz#1313975 - %files owns /var/lib/rkt Signed-off-by: Lokesh Mandvekar <lsm5> diff --git a/rkt.spec b/rkt.spec index 10939a9..49d233b 100644 --- a/rkt.spec +++ b/rkt.spec @@ -303,6 +303,7 @@ exit 0 %{_libexecdir}/%{name}/stage1-host.aci %{_unitdir}/%{name}* %{_datadir}/bash-completion/completions/%{name} +%{_sharedstatedir}/%{name} %changelog * Wed Mar 02 2016 Lokesh Mandvekar <lsm5> - 1.1.0-2.git5a19dc6