<div dir="ltr"><div><div><div>Hi everyone,<br><br></div>As I bind mounted my disk drive on /tmp, the tmp directory changed file permissions to nobody. Lesson learned. <br></div><br><br></div>Regards, <br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-30 22:37 GMT-05:00 Luis Michael Ibarra <span dir="ltr"><<a href="mailto:michael.ibarra@gmail.com" target="_blank">michael.ibarra@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi everyone,<br><br></div>I got the following error when I tried to install a package(via apt) which requires to install/update its certificates on a lxd container which it has a host directory bind mounted.<br><br><span style="font-family:monospace,monospace">$lxc config device add $container data disk source=/path/to/external_usb_disk path=/tmp/</span><br><br><br></div><div>------------------------------------------------------<br></div><div><span style="font-family:monospace,monospace">$apt-get install git<br></span></div><div><span style="font-family:monospace,monospace"><br>......<br>Setting up ca-certificates (20160104ubuntu0.12.04.1) ... <br>Updating certificates in /etc/ssl/certs... chmod: changing permissions of `/tmp/ca-certificates.crt.tmp.3PZnlU': Operation not permitted<br>dpkg: error processing ca-certificates (--configure):<br> subprocess installed post-installation script returned error exit status 1<br>dpkg: dependency problems prevent configuration of libcurl3-gnutls:<br> libcurl3-gnutls depends on ca-certificates; however:<br> Package ca-certificates is not configured yet.<br>dpkg: error processing libcurl3-gnutls (--configure):<br> dependency problems - leaving unconfigured<br>Setting up libgdbm3 (1.8.3-10) ...<br>No apport report written because the error message indicates its a followup error from a previous failure.<br> Setting up libsasl2-modules (2.1.25.dfsg1-3ub<br>untu0.1) ...<br>Setting up rsync (3.0.9-1ubuntu1.1) ...<br> Removing any system startup links for /etc/init.d/rsync ...<br>Setting up libclass-isa-perl (0.36-3) ...<br>Setting up git-man (1:1.7.9.5-1ubuntu0.3) ...<br>dpkg: dependency problems prevent configuration of git:<br> git depends on libcurl3-gnutls (>= 7.16.2-1); however:<br> Package libcurl3-gnutls is not configured yet.<br>dpkg: error processing git (--configure):<br> dependency problems - leaving unconfigured<br>Setting up patch (2.6.1-3ubuntu0.1) ...<br>No apport report written because the error message indicates its a followup error from a previous failure.<br> Setting up libswitch-perl (2.16-2) ...<br>Setting up perl-modules (5.14.2-6ubuntu2.5) ...<br>Setting up perl (5.14.2-6ubuntu2.5) ...<br>update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode.<br>Setting up liberror-perl (0.17-1) ...<br>Processing triggers for libc-bin ...<br>ldconfig deferred processing now taking place<br>Errors were encountered while processing:<br> ca-certificates<br> libcurl3-gnutls<br> git<br>E: Sub-process /usr/bin/dpkg returned an error code (1)</span><br>--------------------------------------------------------------------------------------------------<br><br></div><div>I can successfully install git when the device is not mounted; however, I do need to have it mounted because is a large drive which I need for my operations. <br><br></div><div>Any suggestions why this is happening.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Luis Michael Ibarra</div></div></div>
</div></font></span></div><div><div><div><div><div><div></div></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Luis Michael Ibarra</div></div></div>
</div>