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
Reopen with some errors/steps to reproduce and emerge --info.
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.
All info are given in the forum pointed. I dont feel like filling tis BTS with tons of strace logs that say "nothing happen".
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.
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:~#
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.
ugh, sorry about that ... the trailing } there made me thing the code was already scoped :/