<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">&lt;<a href="mailto:sergio@serjux.com" target="_blank">sergio@serjux.com</a>&gt;</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>
&gt; Ok, I wasn&#39;t sure if installing in a chroot was a sufficient test case<br>
&gt; so I tried installing akmods in a F22 virtual machine and can confirm<br>
&gt; that although the services are explicitly enabled in %post that they<br>
&gt; are not enabled after install. Somehow systemd (or something else) is<br>
&gt; refusing to allow the enable commands to work in %post and is using<br>
&gt; 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>
&lt;mock-chroot&gt;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 &quot;chroot detected, aborting.&quot;</div><div><br></div><div>Thanks,</div><div>Richard </div></div></div></div>