Dedcon fails to launch playbacks on Debian testing

Technical support for all issues relating to Defcon Linux

Moderator: Defcon moderators

User avatar
VSj
level2
level2
Posts: 171
Joined: Wed Jul 24, 2013 3:38 pm
Location: Finland

Dedcon fails to launch playbacks on Debian testing

Postby VSj » Wed Feb 10, 2016 9:04 pm

I can't seem to get Dedcon to launch a dcrec playback on Debian stretch/sid.

Code: Select all

user@host:~$ /path/to/dedcon -l /path/to/recording.dcrec
Loading recording file /path/to/recording.dcrec.
terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]'
  what():  basic_ios::clear: iostream error
Aborted


Without the -l switch the same binary in the same environment runs, reads config files and writes logs just fine.
User avatar
aug
level1
level1
Posts: 27
Joined: Mon Nov 24, 2014 8:30 pm
Location: Funland
Contact:

Re: Dedcon fails to launch playbacks on Debian testing

Postby aug » Fri Feb 12, 2016 10:52 am

Here's one possible solution: use schroot to install a stable debian inside Stretch.

https://wiki.ubuntu.com/DebootstrapChroot

The above instructions are for Ubuntu, but just convert the Ubuntu-stuff for Debian.

Or here's what I did:

Code: Select all

root@debian:~# apt-get install schroot debootstrap
root@debian:~# mkdir /var/chroot
root@debian:~# nano /etc/schroot/schroot.conf

--
[squeeze]
description=Debian squeeze (stable) 32-bit
directory=/var/chroot/squeeze
users=yourusername
groups=sbuild
aliases=stable
personality=linux32
root-groups=root
--

root@debian:~# debootstrap --variant=buildd --arch i386 squeeze /var/chroot/squeeze http://ftp.debian.org/debian/

chroot to squeeze:

Code: Select all

root@debian:~# chroot /var/chroot/squeeze


Now you can install Dedcon under the new chroot, and it works! Magic!
User avatar
VSj
level2
level2
Posts: 171
Joined: Wed Jul 24, 2013 3:38 pm
Location: Finland

Re: Dedcon fails to launch playbacks on Debian testing

Postby VSj » Fri Feb 12, 2016 7:26 pm

aug wrote:it works!


It sure does.

Thank you!

I believe this will do.

Return to “Linux Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests