<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 14, 2015 at 11:32 PM, Sérgio Basto <span dir="ltr"><<a href="mailto:sergio@serjux.com" target="_blank">sergio@serjux.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello ,<br>
<span class=""><br>
On Ter, 2015-07-14 at 21:41 -0500, Richard Shaw wrote:<br>
> Ok, I wasn't sure if installing in a chroot was a sufficient test case<br>
> so I tried installing akmods in a F22 virtual machine and can confirm<br>
> that although the services are explicitly enabled in %post that they<br>
> are not enabled after install. Somehow systemd (or something else) is<br>
> refusing to allow the enable commands to work in %post and is using<br>
> the preset file instead.<br>
<br>
</span>Not in my test case :<br>
<br>
mock -r fedora-22-i386-rpmfusion_free --install akmods<br>
mock -r fedora-22-i386-rpmfusion_free --shell<br>
<br>
<mock-chroot>sh-4.3# systemctl is-enabled akmods<br>
enabled</blockquote><div><br></div><div>How did you get that to work? When I tried running systemctl it said something to the effect of "chroot detected, aborting."</div><div><br></div><div>Thanks,</div><div>Richard </div></div></div></div>