[sisyphus] `update-menus -n` is not working

Sergey Kuznetsov =?iso-8859-1?q?yozhik_=CE=C1_atom=2Eru?=
Пн Дек 2 15:53:33 MSK 2002


On Mon, 2 Dec 2002 15:39:38 +0300
"Sergey V. Turchin" <zerg на altlinux.org> wrote:

> Попробуйте переименовать /etc/menu-methods/menu.config
> И пришлите strace, если не будет работать

[root на localhost root]# mv /etc/menu-methods/menu.config
/etc/menu-methods/old.menu.config

[root на localhost root]# update-menus
Aborted

[yozhik на localhost yozhik]$ update-menus
Aborted

[yozhik на localhost yozhik]$ strace -f -o log update-menus -n

[yozhik на localhost yozhik]$ cat log
12519 execve("/usr/bin/update-menus", ["update-menus", "-n"], [/*
44 vars */]) = 0 12519 uname({sys="Linux", node="localhost",
...}) = 0 12519 brk(0)                            = 0x807b94c
12519 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such
file or directory) 12519 open("/etc/ld.so.cache", O_RDONLY) = 3
12519 fstat64(3, {st_mode=S_IFREG|0644, st_size=82393, ...}) = 0
12519 mmap2(NULL, 82393, PROT_READ, MAP_PRIVATE, 3, 0) =
0x2aabd000 12519 close(3)                          = 0
12519 open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3
12519 read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\247\3"...,
1024) = 1024 12519 fstat64(3, {st_mode=S_IFREG|0755,
st_size=4164224, ...}) = 0 12519 mmap2(NULL, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aad2000 12519 mmap2(NULL, 727008, PROT_READ|PROT_EXEC,
MAP_PRIVATE, 3, 0) = 0x2aad3000 12519 mprotect(0x2ab6b000,
104416, PROT_NONE) = 0 12519 mmap2(0x2ab6b000, 86016,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x98) =
0x2ab6b000 12519 mmap2(0x2ab80000, 18400, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab80000 12519
close(3)                          = 0 12519
open("/lib/libm.so.6", O_RDONLY)  = 3 12519 read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p6\0\000"...,
1024) = 1024 12519 fstat64(3, {st_mode=S_IFREG|0755,
st_size=206663, ...}) = 0 12519 mmap2(NULL, 139872,
PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ab85000 12519
mprotect(0x2aba7000, 608, PROT_NONE) = 0 12519 mmap2(0x2aba7000,
4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x21) =
0x2aba7000 12519 close(3)                          = 0
12519 open("/lib/libgcc_s.so.1", O_RDONLY) = 3
12519 read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\21"...,
1024) = 1024 12519 fstat64(3, {st_mode=S_IFREG|0755,
st_size=200254, ...}) = 0 12519 mmap2(NULL, 31916,
PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aba8000 12519
mprotect(0x2abae000, 7340, PROT_NONE) = 0 12519 mmap2(0x2abae000,
8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6) =
0x2abae000 12519 close(3)                          = 0
12519 open("/lib/libc.so.6", O_RDONLY)  = 3
12519 read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\205"...,
1024) = 1024 12519 fstat64(3, {st_mode=S_IFREG|0755,
st_size=1395243, ...}) = 0 12519 mmap2(NULL, 1160224,
PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2abb0000 12519
mprotect(0x2acc2000, 37920, PROT_NONE) = 0 12519
mmap2(0x2acc2000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x112) = 0x2acc2000 12519
mmap2(0x2acc8000, 13344, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2acc8000 12519
close(3)                          = 0 12519 munmap(0x2aabd000,
82393)         = 0 12519 brk(0)                            =
0x807b94c 12519 brk(0x807b974)                    = 0x807b974
12519 brk(0x807c000)                    = 0x807c000
12519 open("/usr/share/locale/locale.alias", O_RDONLY) = -1
ENOENT (No such file or directory) 12519 brk(0x807d000)          
         = 0x807d000 12519
open("/usr/lib/locale/ru_RU.CP1251/LC_MESSAGES", O_RDONLY) = 3
12519 fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
12519 close(3)                          = 0 12519
open("/usr/lib/locale/ru_RU.CP1251/LC_MESSAGES/SYS_LC_MESSAGES",
O_RDONLY) = 3 12519 fstat64(3, {st_mode=S_IFREG|0644, st_size=57,
...}) = 0 12519 mmap2(NULL, 57, PROT_READ, MAP_PRIVATE, 3, 0) =
0x2aabd000 12519 close(3)                          = 0
12519 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
12519 fstat64(3, {st_mode=S_IFREG|0644, st_size=20410, ...}) = 0
12519 mmap2(NULL, 20410, PROT_READ, MAP_SHARED, 3, 0) =
0x2aabe000 12519 close(3)                          = 0
12519 open("/etc/menu-methods/menu.config", O_RDONLY) = -1 ENOENT
(No such file or directory) 12519 rt_sigprocmask(SIG_UNBLOCK,
[ABRT], NULL, 8) = 0 12519 getpid()                          =
12519 12519 kill(12519, SIGABRT)              = 0
12519 --- SIGABRT (Aborted) ---
12519 +++ killed by SIGABRT +++

С уважением,
Сергей



Подробная информация о списке рассылки Sisyphus