On Tue, Jul 14, 2015 at 11:32 PM, Sérgio Basto <sergio(a)serjux.com> wrote:
On Ter, 2015-07-14 at 21:41 -0500, Richard Shaw wrote:
> Ok, I wasn't sure if installing in a chroot was a sufficient test case
> so I tried installing akmods in a F22 virtual machine and can confirm
> that although the services are explicitly enabled in %post that they
> are not enabled after install. Somehow systemd (or something else) is
> refusing to allow the enable commands to work in %post and is using
> the preset file instead.
Not in my test case :
mock -r fedora-22-i386-rpmfusion_free --install akmods
mock -r fedora-22-i386-rpmfusion_free --shell
<mock-chroot>sh-4.3# systemctl is-enabled akmods
How did you get that to work? When I tried running systemctl it said
something to the effect of "chroot detected, aborting."