Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] running sorcery in chroot

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: neuron <vlmarek AT volny.cz>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] running sorcery in chroot
  • Date: Mon, 8 Nov 2004 09:35:53 +0100

Hello,

I'm trying to run sorcery in chroot, but I'm not able to run sorcery. It
gives me: "cannot open tty-output" error. I found that the failing
command is:

dialog --backtitle 'Sorcery Spell Management Utility' ...

but when I run this command alone in the chroot it works well.

The failing part in dialog is probably here:

if ((fd1 = open_terminal(&device, O_WRONLY)) >= 0
&& (dialog_state.screen_output = fdopen(fd1, "w")) != 0) {
if (newterm(NULL, dialog_state.screen_output, stdin) == 0) {
dlg_exiterr("cannot initialize curses");
}
free(device);
} else {
dlg_exiterr("cannot open tty-output");
}

but I haven't found yet why. Any ideas, please ? :)

--
Neuron

Attachment: pgp7klvg6Cw2e.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page