[Swan-dev] permission problem in test run

Andrew Cagney andrew.cagney at gmail.com
Wed Dec 19 02:36:14 UTC 2018


On Tue, 18 Dec 2018 at 21:04, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
>
> I ran the following as user "build":
>
>                 make kvm-purge &&
>                 make kvm-install &&
>                 make kvm-check KVM_TESTS=" testing/pluto/certoe-01-whack"
>
> It failed:
>         qemu-img convert \
>                 -p -O qcow2 \
>                 /home/build/pool/swanfedora28base.qcow2 \
>                 /home/build/pool/a.clone.qcow2.tmp
>         qemu-img: Could not open '/home/build/pool/swanfedora28base.qcow2': Could not open '/home/build/pool/swanfedora28base.qcow2': Permission denied

Slightly above this there should have been output from:

    : if this test fails, user probably forgot this step:
    : https://libreswan.org/wiki/Test_Suite#Setting_Users_and_Groups
    test -r $(KVM_POOLDIR)/$(KVM_BASE_DOMAIN).qcow2

?

>         make: *** [/home/build/libreswan/mk/kvm-targets.mk:695: /home/build/pool/a.clone.qcow2] Error 1
>
>         [build at redtiny libreswan]$ ls -l /home/build/pool/swanfedora28base.qcow2
>         -rw-r-----. 1 root root 8591507456 Dec 18 20:17 /home/build/pool/swanfedora28base.qcow2
>         [build at redtiny libreswan]$ umask
>         0002
>
> This file was created in this run.  Why was it be created in a way
> that won't work?
>
> I hacked the permissions and continued.  Success.  But the question above
> remains.
>
>         make kvm-install &&
>         make kvm-check KVM_TESTS=" testing/pluto/certoe-01-whack"
>
> (The actual test fails.  That's a different issue.)
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev


More information about the Swan-dev mailing list