<div dir="ltr">Ok, problem solved :D!<div><br></div><div>I added a "local.mog" file to my build directory (besides build.sh), with the following content:</div><div><br></div><div>    <transform dir  path=etc/init.d -> set group sys></div><div><br></div><div>I realized I could do that by browsing the omnios-build repo, for the bash package:</div><div><br></div><div><a href="https://github.com/omniti-labs/omnios-build/blob/abbfd1697849f6f8a84be3f94317b317798236a1/build/bash/local.mog">https://github.com/omniti-labs/omnios-build/blob/abbfd1697849f6f8a84be3f94317b317798236a1/build/bash/local.mog</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-03 10:33 GMT+01:00 Pii Vincenzo Maria (piiv) <span dir="ltr"><<a href="mailto:piiv@zhaw.ch" target="_blank">piiv@zhaw.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">



<div>
<div dir="ltr">I am on my way to package some source code for OmniOS.
<div><br>
</div>
<div>For one package I have this problem, as seen from the res file:</div>
<div><br>
</div>
<div>    dir  path=etc/init.d owner=root group=bin mode=0755</div>
<div><br>
</div>
<div>This is changing the owner of the /etc/init.d dir to bin (should be sys) and so conflicts with other packages.</div>
<div><br>
</div>
<div>If I try to install this, I get</div>
<div><br>
</div>
<div>    pkg install: The requested change to the system attempts to install multiple actions
<div>    for dir 'etc/init.d' with conflicting attributes:</div>
<div><br>
</div>
<div>    1 package delivers 'dir group=bin mode=0755 owner=root path=etc/init.d':</div>
<div>    [...]</div>
<div>    5 packages deliver 'dir group=sys mode=0755 owner=root path=etc/init.d':</div>
    [...]</div>
<div><br>
</div>
<div>Now, I can't find where in the source code this change is happening (e.g., chgrp'ing or chown'ing the folder), but I don't even know if this "bin" group comes from some default setting of the packaging template (so not directly from one of the install
 scripts in the code).</div>
<div><br>
</div>
<div>My questions are:</div>
<div><br>
</div>
<div>1) Is there a way to manually edit the res file (<pkg_name>.p5m.int.3.res) and just rebuild the package? The edit would consist in changing "group=bin" to "group=sys" (I am 100% sure this won't be a problem for this package).</div>
<div><br>
</div>
<div>2) If "group=bin" comes from some default, can I override this setting?</div>
<div><br>
</div>
<div>Many thanks!<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div>Vincenzo Pii<br>
</div>
Researcher, InIT Cloud Computing Lab<br>
Zurich University of Applied Sciences (ZHAW)<br>
<a href="http://blog.zhaw.ch/icclab" style="color:rgb(17,85,204)" target="_blank">blog.zhaw.ch/icclab</a><br>
</div>
</div>
</div>
</div>
</div>

</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Vincenzo Pii<br></div>Researcher, InIT Cloud Computing Lab<br>Zurich University of Applied Sciences (ZHAW)<br><a href="http://blog.zhaw.ch/icclab" style="color:rgb(17,85,204)" target="_blank">blog.zhaw.ch/icclab</a><br></div></div>
</div>