[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] nano -> Error opening terminal: unknown.
From: |
Christian Schulz |
Subject: |
Re: [Jailkit-users] nano -> Error opening terminal: unknown. |
Date: |
Wed, 19 Feb 2014 18:17:18 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Hello,
I have done some research looking into the process via strace and here
is the output of
the important part:
[pid 927] access("/usr/share/terminfo/u/unknown", R_OK) = 0
[pid 927] open("/usr/share/terminfo/u/unknown", O_RDONLY) = 3
[pid 927] fstat(3, {st_mode=S_IFREG|0644, st_size=320, ...}) = 0
[pid 927] mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc63ae7a000
[pid 927] read(3, "\32\1\36\0\7\0\1\0\202\0\10\0unknown|unknown
term"..., 4096) = 320
[pid 927] read(3, "", 4096) = 0
[pid 927] close(3) = 0
[pid 927] munmap(0x7fc63ae7a000, 4096) = 0
[pid 927] ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig
icanon echo ...}) = 0
[pid 927] ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig
icanon echo ...}) = 0
[pid 927] ioctl(1, TIOCGWINSZ, {ws_row=24, ws_col=80, ws_xpixel=0,
ws_ypixel=0}) = 0
[pid 927] write(2, "Error opening terminal: unknown."..., 33) = 33
[pid 927] exit_group(1) = ?
You can see it finds the file and opens it. But something is happening
and it breaks.
Best Regards,
Christian Schulz
Am 19.02.2014 18:03, schrieb Christian Schulz:
Hello,
I have created a jail with jk_init -v -j ... basicshell and after it I
added the editors
with jk_init -v -j ... editors.
When trying to use nano I get the error "Error opening terminal:
unknown.".
vi is working.
What is wrong?
Do I need to init a jail directly with all sections I need or is it
possible to add other
functions as needed?
Best Regards,
Christian Schulz
_______________________________________________
Jailkit-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/jailkit-users