New kernel and netstat 'problem'
lo, anyone can confirm that netstat -p isn't working correctly on the new kernel? at least on 7.3. with 2.4.18 it doesn't work correctly: before: tcp 0 0 217.69.160.53:25 0.0.0.0:* LISTEN 27721/master after: tcp 0 0 217.69.160.53:25 0.0.0.0:* LISTEN 5877/ as you can see, the name of the process isn't displayed (but the pid, which is correct...) Regards, Sven
On Don, 27 Mär 2003, Sven 'Darkman' Michels wrote:
anyone can confirm that netstat -p isn't working correctly on the new kernel? at least on 7.3. with 2.4.18 it doesn't work correctly:
I can confirm the problem on suse 8.1. I've posted a bugreport (#25903). -- Dirk
On Thursday 27 March 2003 04:19 pm, Dirk Mueller wrote:
On Don, 27 Mär 2003, Sven 'Darkman' Michels wrote:
anyone can confirm that netstat -p isn't working correctly on the new kernel? at least on 7.3. with 2.4.18 it doesn't work correctly:
I can confirm the problem on suse 8.1. I've posted a bugreport (#25903).
I cannot confirm the same problem on k_psmp kernel ! The LISTEN and ESTABLISHED connections are ok.
Dirk Mueller wrote:
On Don, 27 Mär 2003, Sven 'Darkman' Michels wrote:
anyone can confirm that netstat -p isn't working correctly on the new kernel? at least on 7.3. with 2.4.18 it doesn't work correctly:
I can confirm the problem on suse 8.1. I've posted a bugreport (#25903).
hmkay, less work for me (and i don't have to search for the fscking login ;) thanks!
Am Donnerstag, 27. März 2003 15:19 schrieb Dirk Mueller:
On Don, 27 Mär 2003, Sven 'Darkman' Michels wrote:
anyone can confirm that netstat -p isn't working correctly on the new kernel? at least on 7.3. with 2.4.18 it doesn't work correctly:
I can confirm the problem on suse 8.1. I've posted a bugreport (#25903).
-- Dirk
I can confirm this for a stock 2.4.21-pre5 patched with 2.4.20-ow0 (openwall.com) and Alan Cox' ptrace patch (cset-1.1076.txt), as for a stock 2.4.20 patched ow0 + cset-1.1076. Btw. if you can confirm ps refuses to display /full/path/to/program for all child processes, then I suppose it's a side effect Alan's patch, which merely kicks 'kernel_tread' for call to 'arch_kernel_thread'. Leppo.
Hi Leppo
anyone can confirm that netstat -p isn't working correctly on the new kernel? at least on 7.3. with 2.4.18 it doesn't work correctly:
I can confirm the problem on suse 8.1. I've posted a bugreport (#25903).
7.3 k_default 2.4.16 before update : netstat ok rpm -Uhv -> segfault of netstat with -p, every new process isn't listed... reboot , 7.3 k_default 2.4.18: netstat ok georg@hackt:~> rpm -qif /boot/vmlinuz Name : k_deflt Relocations: (not relocateable) Version : 2.4.18 Vendor: SuSE AG, Nuernberg, Germany Release : 262 Build Date: Mon 24 Mär 2003 16:16:37 CET Install date: Don 27 Mär 2003 20:04:57 CET Build Host: Zert146.suse.de Group : System/Kernel Source RPM: k_deflt-2.4.18-262.src.rpm Size : 32585156 License: GNU General Public License (GPL) - all georg@hackt:~> uname -a Linux hackt 2.4.18-4GB #1 Mon Mar 24 14:37:51 GMT 2003 i586 unknown georg@hackt:~> Regards, Georg
On Don, 27 Mär 2003, Leppo wrote:
Btw. if you can confirm ps refuses to display /full/path/to/program for all child processes, then I suppose it's a side effect Alan's patch, which merely kicks 'kernel_tread' for call to 'arch_kernel_thread'.
yes, I can confirm this. /proc/<pid>/cmdline is simply empty for those programs, thats why netstat -p (or ps -ef for that matter) does no longer work. Pretty ugly bug :-( -- Dirk
participants (5)
-
Dirk Mueller
-
Leppo
-
spam
-
SuSE ASPEC GroundZero
-
Sven 'Darkman' Michels