Feature #8724

Reinstall WhisperBack and its dependencies in Tails/Jessie

Added by alant 2015-01-18 23:01:04 . Updated 2015-05-16 10:13:55 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2015-01-18
Due date:
% Done:

100%

Feature Branch:
feature/7756-reintroduce-whisperback
Type of work:
Code
Blueprint:

Starter:
Affected tool:
WhisperBack
Deliverable for:

Description


Subtasks


History

#1 Updated by intrigeri 2015-01-18 23:10:35

  • Subject changed from Reinstall whisperback and its dependencies in Tails/Jessie to Reinstall WhisperBack and its dependencies in Tails/Jessie
  • Status changed from New to Confirmed
  • Target version set to Tails_2.0
  • Affected tool set to WhisperBack

#2 Updated by intrigeri 2015-01-18 23:11:00

  • Assignee set to alant

#3 Updated by alant 2015-01-19 11:20:16

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100

#4 Updated by alant 2015-01-19 13:37:52

  • Status changed from Resolved to In Progress
  • % Done changed from 100 to 30
  • Feature Branch set to feature/7756-reintroduce-whisperback

This is done in feature/7756-reintroduce-whisperback but it seems to break tails-greeter.

#5 Updated by alant 2015-01-19 16:04:25

  • Assignee deleted (alant)

Instead of the login screen I get a nice “Oh no! Something has gone wrong.” and our greeter doesn’t seem to launch at all but I see no error in the logs. I’m giving up for now.

#6 Updated by intrigeri 2015-01-19 16:25:20

> Instead of the login screen I get a nice “Oh no! Something has gone wrong.” and our greeter doesn’t seem to launch at all but I see no error in the logs. I’m giving up for now.

It would be good to have a little bit more info, so that the next person who works on this doesn’t spend time trying things that have already been tried.

  • You’ve built from feature/jessie, after having merged feature/7756-reintroduce-whisperback in it locally, right?
  • Can you please diff the resulting .packages file with the one from a recent, known working Tails/Jessie build?

Once these questions have been answered, feel free to reassign to me, I’ll have a look.

#7 Updated by intrigeri 2015-01-19 16:49:47

  • Assignee set to alant
  • QA Check set to Info Needed

#8 Updated by alant 2015-01-19 18:06:47

  • Assignee deleted (alant)
  • QA Check deleted (Info Needed)

> * You’ve built from feature/jessie, after having merged feature/7756-reintroduce-whisperback in it locally, right?

No I’ve build from feature/7756-reintroduce-whisperback. Build went fine.

> * Can you please diff the resulting .packages file with the one from a recent, known working Tails/Jessie build?
>
For some reason I got the wrong tails-greeter, which is likely to be the issue:

--- tails-i386-feature_jessie-1.3-20150119.iso.packages 2015-01-19 14:41:39.673261041 +0100
+++ tails-i386-feature_7756-reintroduce-whisperback-1.3-20150119.iso.packages   2015-01-19 13:37:48.580032779 +0100
@@ -1612,6 +1612,7 @@
 python3-cairo  1.10.0+dfsg-4+b1
 python3-gi 3.14.0-1
 python3-gi-cairo   3.14.0-1
+python3-gnupg  0.3.6-1
 python3-louis  2.5.3-3
 python3-minimal    3.4.2-2
 python3-pyatspi    2.14.0+dfsg-1
@@ -1661,7 +1662,7 @@
 systemd-sysv   215-8
 sysv-rc    2.88dsf-58
 sysvinit-utils 2.88dsf-58
-tails-greeter  0.8.7+jessie1
+tails-greeter  0.8.7
 tails-iuk  1.18-1
 tails-perl5lib 0.8.5-1
 tails-persistence-setup    1.0.18-1
@@ -1712,6 +1713,7 @@
 virtualbox-guest-x11   4.3.18-dfsg-1
 wget   1.16-1
 whiptail   0.52.17-1+b1
+whisperback    1.7.0
 whois  5.2.3
 window-picker-applet   0.6.99
 wireless-regdb 2014.11.18-1

I’ll build again from feature/jessie and see the result.

#9 Updated by alant 2015-01-19 18:50:49

> I’ll build again from feature/jessie and see the result.

Actually I have no idea how to build from jessie with a custom package from the APT repository without merging remotely the suites. So I won’t really test the package I uploaded but a local copy.

#10 Updated by intrigeri 2015-01-19 19:21:49

> No I’ve build from feature/7756-reintroduce-whisperback.

Ah, OK. So you’ve built with the packages from devel, not from feature-jessie.

#11 Updated by intrigeri 2015-01-19 19:22:11

> Actually I have no idea how to build from jessie with a custom package from the APT repository without merging remotely the suites.

Use config/chroot_local-packages.

#12 Updated by alant 2015-01-19 21:42:01

intrigeri wrote:
> > Actually I have no idea how to build from jessie with a custom package from the APT repository without merging remotely the suites.
>
> Use config/chroot_local-packages.

I get:

W: Failed to fetch file:/root/local-packages/./Release  Unable to find expected entry 'Sources' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
E: config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem failed (exit non-zero). You should check for errors.
P: Begin unmounting filesystems...
$ ls -1 config/chroot_local-packages/
README
whisperback_1.6.24+python3_all.deb
whisperback_1.6.24+python3.dsc
whisperback_1.6.24+python3_i386.changes
whisperback_1.6.24+python3.tar.xz

I had the very same error when I inly put the .deb there.

#13 Updated by intrigeri 2015-01-21 11:04:53

> I get:

>

> W: Failed to fetch file:/root/local-packages/./Release Unable to find expected entry
> 'Sources' in Release file (Wrong sources.list entry or malformed file)

> E: Some index files failed to download. They have been ignored, or old ones used instead.
> E: config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem failed (exit non-zero). You should check for errors.
> P: Begin unmounting filesystems...
> 

May you please retry with the following patch applied?

--- a/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem
+++ b/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem
@@ -41,6 +41,8 @@ cp "$CHROOT_SYSLINUX_BIN" "$LINUX_BINARY_UTILS_DIR/"
 cp "$CHROOT_SYSLINUX_MBR" "$BINARY_MBR_DIR/mbr.bin"

 cat chroot/etc/apt/sources.list chroot/etc/apt/sources.list.d/*.list \
+   | grep --extended-regexp --line-regexp --invert-match \
+        'deb\s+file:/root/local-packages\s+\./' \
    | sed --regexp-extended -e 's,^deb(\s+),deb-src\1,' \
    > "$CHROOT_TEMP_APT_SOURCES"
 Chroot chroot /usr/local/lib/apt-toggle-tor-http off

#14 Updated by intrigeri 2015-01-21 11:06:29

  • Assignee set to alant

#15 Updated by alant 2015-01-21 14:51:12

  • Assignee changed from alant to intrigeri
  • % Done changed from 30 to 40
  • QA Check set to Ready for QA

> May you please retry with the following patch applied?

This fixed the build issue. This is now ready for QA.

#16 Updated by intrigeri 2015-01-21 15:25:45

> This fixed the build issue.

Thanks, I’ve taken care of filing the bug you’ve discovered: Bug #8756.

#17 Updated by intrigeri 2015-03-08 20:05:23

  • Assignee changed from intrigeri to alant
  • % Done changed from 40 to 60
  • QA Check changed from Ready for QA to Dev Needed

See parent ticket.

#18 Updated by intrigeri 2015-05-16 09:29:45

  • Assignee changed from alant to intrigeri
  • QA Check changed from Dev Needed to Ready for QA

#19 Updated by intrigeri 2015-05-16 10:09:49

  • Status changed from In Progress to Resolved
  • % Done changed from 60 to 100

Applied in changeset commit:a716e575e99b7ecd4d39489d9465808a322d3454.

#20 Updated by intrigeri 2015-05-16 10:13:55

  • Assignee deleted (intrigeri)
  • QA Check changed from Ready for QA to Pass