Re: [Tails-dev] How to build tails for testing purposes?

このメッセージを削除

このメッセージに返信
著者: Hans
日付:  
To: The Tails public development discussion list
題目: Re: [Tails-dev] How to build tails for testing purposes?
Sorry, it is me again. There is so much to learn. I am now able· to get clear with these
vagrant, rake and virsh stuff. That is a great step and I am happy, I can help myself now.

But I believe, I now stumbled over a new issue with broken package. For me it looks like
some settings are wrong in the pre-image file. As far as I understood, the crash is in the
step, where the basic image is build, or say, filled with the packages.

This is the output, just at the basic installation step:

----- snip --------------
I: Configuring gnupg...
I: Configuring tasksel-data...
I: Configuring tasksel...
I: Configuring libc-bin...
I: Configuring systemd...
I: Base system installed successfully.
P: Begin caching bootstrap stage...
P: Begin unmounting filesystems...
P: Setting up cleanup function
P: Begin caching chroot stage...
P: Begin mounting /dev/pts...
P: Begin mounting /proc...
P: Begin mounting /sys...
P: Configuring file /etc/debian_chroot
P: Configuring file /sbin/start-stop-daemon
P: Configuring file /usr/sbin/policy-rc.d
P: Configuring file /usr/sbin/initctl
P: Configuring file /etc/hosts
P: Configuring file /etc/resolv.conf
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
P: Configuring file /etc/apt/apt.conf
P: Configuring file /etc/apt/sources.list
gpg: WARNING: unsafe permissions on homedir '/root/.gnupg'
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: agent_genkey failed: Inappropriate ioctl for device
gpg: key generation failed: Inappropriate ioctl for device
cp: cannot create regular file 'cache/': Not a directory
P: Begin unmounting filesystems...

real    4m14.338s 
user    1m14.028s 
sys     0m19.934s 
+ kill -9 10276 
+ cleanup 
+ [ -n /tmp/tails-build.Tj3YvUfU ] 
+ cd / 
+ remove_build_dirs 
+ + tac 
old_build_dirs 
+ mount 
+ perl -ni -E say $mountpoint if (($mountpoint) = ($_ =~ m{^(?:tmpfs|devpts-live|proc-
live|sysfs-live) on (/tmp/tai
ls-build(?:-tmpfs)?\.[/[:alnum:]]+)})) 
-i used with no filenames on the command line, reading from STDIN. 
+ sudo rm -rf /tmp/tails-build.Tj3YvUfU 
No build artifacts were found!


----- snap ----------

Ok, the directory here called /root is not the /root of my system, so it must be in the
imagefile, that is mounted /dev/loop (I suppose so, am I wrong?).

What I do not understand, is that ioctl, but everything is looking for me as a problem with
rights. However, I am building as root, so I should have all the rights, I need.

I am sure, I have missed something.

For the explanation, I am building on an extra ssd, which is mounted
to /space, but this worked on building kali-linux. So this should work here, too. Especially
at this step of building.

Any idea, what I am doing wrong? Or is this just a bug???

Thanks for being so patient.

Best

Hans