Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">I resolved this by telling poudriere to use another user for the build.<br>
<br>
So my poudriere.conf now contains PORTBUILD_USER=builduser.<br>
And builduser is defined with uid 65532.<br>
<br>
Regards,<br>
Ronald.<br>
<br>
&nbsp;
<p><strong>Van:</strong> Ronald Klop &lt;ronald-lists@klop.ws&gt;<br>
<strong>Datum:</strong> dinsdag, 28 oktober 2025 15:26<br>
<strong>Aan:</strong> ports@freebsd.org<br>
<strong>Onderwerp:</strong> poudriere + ZFS + NFS -&gt; chown: /usr/local/poudriere/data/.m/rpi5-freebsd143-custom/01/.npkg: Operation not permitted</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">Hi,<br>
<br>
I have the following setup of jails with poudriere running in Jenkins:<br>
<br>
pkg jail: running lighttpd exporting the poudriere UI. This jail NFS exports /usr/local/poudriere/data/logs/bulk and&nbsp;/usr/local/poudriere/data/packages.<br>
<br>
poudriere jail 1: running poudriere+ZFS and it NFS mounts&nbsp;/usr/local/poudriere/data/logs/bulk and&nbsp;/usr/local/poudriere/data/packages from the pkg jail.<br>
poudriere jail 1: running poudriere (no ZFS) and it NFS mounts&nbsp;/usr/local/poudriere/data/logs/bulk and&nbsp;/usr/local/poudriere/data/packages from the pkg jail.<br>
<br>
The mounts work, I can access the files on the command line.<br>
<br>
But on the pourdriere with ZFS at the end of the first build I get this error:
<pre style=";white-space: pre-wrap;white-space: pre-wrap;white-space: pre-wrap;white-space: pre-wrap;white-space: pre-wrap;">[00:01:32] ====&gt; Compressing man pages (compress-man)
[00:01:32] ===&gt;   Installing ldconfig configuration file
[00:01:32] ===========================================================================
[00:01:32] chown: /usr/local/poudriere/data/.m/rpi5-freebsd143-custom/01/.npkg: Operation not permitted
[00:01:32] =======================&lt;phase: package        &gt;============================
[00:01:32] ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-10-28T13:33:27+00:00' 'PKG_NOTE_ports_top_git_hash=d72ccf55aa06' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20251006' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
[00:01:32] ===&gt;  Building packages for pkg-2.3.1
[00:01:32] mkdir: /.npkg/All: Permission denied
[00:01:32] *** Error code 1
</pre>
<br>
Any idea why this happens?<br>
This directory is not NFS mounted, so why would it give an error here?<br>
<br>
Regards,<br>
Ronald.</div>
</div>
</div>
</blockquote>
<br>
&nbsp;</div>
</div>
</div>
</blockquote>
<br>
&nbsp;</div>
<!-- TextHTMLViewer --></div>
<!-- MultipartAlternativeViewer --></div>
<!-- MessageRFC822Viewer --></body></html>
------=_Part_80620_1450285257.1761818368426--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>