I've got this since I've installed debian on my new installed machine:
open("/var/lib/dpkg/lock", O_RDWR|O_CREAT|O_TRUNC, 0660) = 0
fcntl64(0, F_GETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0,
pid=12881}) = 0
close(0) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({2, 0}, {2, 0}) = 0
open("/var/lib/dpkg/lock", O_RDWR|O_CREAT|O_TRUNC, 0660) = 0
fcntl64(0, F_GETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0,
pid=12881}) = 0
close(0) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({2, 0},
And then, if I remove /var/lib/dpkg/lock
....
write(8, "!L 4\n", 5) = 5
write(8, "!F /usr/share/menu/grdesktop\n", 29) = 29
write(8, "command=\"/usr/bin/grdesktop\" nee"..., 98) = 98
write(8, "!L 7\n", 5) = 5
write(8, "!F /usr/share/menu/gnome-system-"..., 40) = 40
write(8, "command=\"/usr/bin/gnome-system-m"..., 134) = 134
write(8, "!L 3\n", 5) = 5
write(8, "!F /usr/share/menu/gnome-termina"..., 39) = 39
write(8, "command=\"/usr/bin/gnome-terminal"..., 171) = 171
write(8, "!L 7\n", 5) = 5
close(8) = 0
wait4(13571, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13571
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
stat64("/etc/menu-methods/translate_menus", {st_mode=S_IFREG|0644,
st_size=1248, ...}) = 0
stat64("/etc/menu-methods/gnome-vfolder-user", {st_mode=S_IFREG|0644,
st_size=1143, ...}) = 0
getdents64(6, /* 0 entries */, 131072) = 0
close(6) = 0
unlink("/var/run/update-menus.pid") = 0
stat64("/tmp/update-menus.12888", {st_mode=S_IFREG|0644, st_size=0,
...}) = 0
unlink("/tmp/update-menus.12888") = 0
exit_group(0) = ?
Process 12888 detached
And the process is still there:
12888 pts/0 Z+ 0:00 [update-menus] <defunct>
If we run the same command, but kill the child process update-menus
running, it will become zombie.
libc6 2.3.6.ds1-8
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]