Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184037 - sys-apps/kbd-1.13 - openvt doesn't work
Summary: sys-apps/kbd-1.13 - openvt doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 21:35 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2007-08-26 21:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/tmp/emerge--info (emerge--info,4.78 KB, text/plain)
2007-07-02 21:51 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
kbd-1.13-dont-use-error ver.1 (kbd-1.13-dont-use-error.patch,484 bytes, patch)
2007-08-26 21:00 UTC, Alexey Gladkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-07-02 21:35:12 UTC
I do not know motivations of other people, but, for me, "openvt" from this ebuild does not work.

We ask for an urgent hard mask. I leave admins set up higher priority.

Proposed fix works for me:
echo '=sys-apps/kbd-1.13' >> /etc/portage/package.mask
emerge -Dv1 sys-apps/kbd
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-02 21:43:05 UTC
Reopen with some errors/steps to reproduce and emerge --info.
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2007-07-02 21:51:02 UTC
Created attachment 123724 [details]
/tmp/emerge--info

This is not exactly my actual --info (had to tweak FEATURES because of bug #183797 ).

steps:

emerge -va1 =sys-apps/kbd-1.13 && /usr/bin/openvt -w

=> nothing, as explained in the URL on top of bug. Problem is specifically that nothing ever happen ! I dont know what to explain: nothing happens.
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2007-07-02 21:52:41 UTC
All info are given in the forum pointed. I dont feel like filling tis BTS with tons of strace logs that say "nothing happen".
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-07-02 21:54:16 UTC
Well, don't waste our time referring to forums.g.o. for bug descriptions; either post the relevant info here or don't file bugs.
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2007-07-02 21:59:27 UTC
Open VT does nothing: not the expected action, no error, no message. even use of -w returns at once. 

root@moon_gen_2:~# /usr/bin/openvt -c 10 -w /usr/bin/top
root@moon_gen_2:~# strace /usr/bin/openvt -c 10 -w /usr/bin/top
execve("/usr/bin/openvt", ["/usr/bin/openvt", "-c", "10", "-w", "/usr/bin/top"], [/* 76 vars */]) = 0
brk(0)                                  = 0x804b000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=120702, ...}) = 0
mmap2(NULL, 120702, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa3000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200Y\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1473059, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa2000
mmap2(NULL, 1201596, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e7c000
mmap2(0xb7f9c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x120) = 0xb7f9c000
mmap2(0xb7f9f000, 9660, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f9f000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e7b000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e7b6b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7f9c000, 8192, PROT_READ)   = 0
mprotect(0xb7fdb000, 4096, PROT_READ)   = 0
munmap(0xb7fa3000, 120702)              = 0
getuid32()                              = 0
setuid32(0)                             = 0
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
exit_group(1)                           = ?
Process 27486 detached
root@moon_gen_2:~# 

root@moon_gen_2:~# /usr/bin/openvt -c 10 -w /bin/ls
root@moon_gen_2:~# /usr/bin/openvt -c 10 -w /bin/lsmmmm
root@moon_gen_2:~# /usr/bin/openvt -w /bin/lsmmmm
root@moon_gen_2:~# /usr/bin/openvt -w
root@moon_gen_2:~# /usr/bin/openvt -
root@moon_gen_2:~# /usr/bin/openvt
root@moon_gen_2:~# 

Not any message in any console. Just returns FALSE:


Quote:
root@moon_gen_2:~# /usr/bin/openvt && echo ok || echo bad
bad
root@moon_gen_2:~# 
Comment 6 Alexey Gladkov 2007-08-26 21:00:58 UTC
Created attachment 129263 [details, diff]
kbd-1.13-dont-use-error ver.1

Problem in the kbd-1.13-dont-use-error.patch .
This is new patch that would resolve this bug.
Comment 7 SpanKY gentoo-dev 2007-08-26 21:13:53 UTC
ugh, sorry about that ... the trailing } there made me thing the code was already scoped :/