Your message dated Tue, 19 Mar 2019 09:29:26 +0100
with message-id
<CANnVG6=ZkDHy_=yee56jyntrhhe40vacj2n3qhset8gk2jg...@mail.gmail.com>
and subject line Re: Bug#923942: postinst script error: mv: cannot move
'/tmp/ca-certificates.crt.tmp.hi8W7j' to a subdirectory of itself,
'ca-certificates.crt'
has caused the Debian Bug report #923942,
regarding postinst script error: mv: cannot move
'/tmp/ca-certificates.crt.tmp.hi8W7j' to a subdirectory of itself,
'ca-certificates.crt'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
923942: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923942
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ca-certificates
Version: 20190110
Severity: normal
The i3 continuous integration testing on travis-ci.org currently fails:
Setting up ca-certificates (20190110) ...
Updating certificates in /etc/ssl/certs...
mv: cannot move '/tmp/ca-certificates.crt.tmp.hi8W7j' to a subdirectory of
itself, 'ca-certificates.crt'
dpkg: error processing package ca-certificates (--configure):
installed ca-certificates package post-installation script subprocess returned
error exit status 1
See https://travis-ci.org/i3/i3/jobs/503115864 for the full log.
Have not dug any deeper, but perhaps this rings a bell, or is obvious from the
error message. Let me know if you need more details.
Thanks,
--- End Message ---
--- Begin Message ---
So I debugged this some more, and found out that the problem is that moving
*any files* from /tmp to /etc does not work, but only within the Docker
container running on travis-ci, and only when configured with “group:
deprecated-2017Q3”. The fix is to remove that config option:
https://github.com/i3/i3/pull/3650.
I will write this off to kernel weirdness, but, independently of this
issue, it might make sense to change update-ca-certificates to no longer
need /tmp and instead create the temporary files within /etc, which would
get us closer to an atomic replacement.
On Thu, Mar 14, 2019 at 12:46 PM Michael Stapelberg <[email protected]>
wrote:
> Please see https://travis-ci.org/stapelberg/i3/jobs/506217228 for a lot
> more detailed log (sh -x and strace on the mv command). The issue seems to
> be in update-ca-certificates, but it’s not readily apparent to me what
> exactly it’s doing wrong—any idea?
>
> Thanks,
>
> On Thu, Mar 7, 2019 at 5:13 PM Michael Shuler <[email protected]>
> wrote:
>
>> On 3/7/19 8:13 AM, Michael Stapelberg wrote:
>> > Package: ca-certificates
>> > Version: 20190110
>> > Severity: normal
>> >
>> > The i3 continuous integration testing on travis-ci.org currently fails:
>> >
>> > Setting up ca-certificates (20190110) ...
>> > Updating certificates in /etc/ssl/certs...
>> > mv: cannot move '/tmp/ca-certificates.crt.tmp.hi8W7j' to a subdirectory
>> of itself, 'ca-certificates.crt'
>> > dpkg: error processing package ca-certificates (--configure):
>> > installed ca-certificates package post-installation script subprocess
>> returned error exit status 1
>> >
>> > See https://travis-ci.org/i3/i3/jobs/503115864 for the full log.
>> >
>> > Have not dug any deeper, but perhaps this rings a bell, or is obvious
>> from the
>> > error message. Let me know if you need more details.
>>
>> Thank you. I have not seen this error before, but will dig around!
>>
>> --
>> Kind regards,
>> Michael
>>
>>
>
> --
> Best regards,
> Michael
>
--
Best regards,
Michael
--- End Message ---