Your message dated Tue, 23 Apr 2024 17:26:18 +0000
with message-id <[email protected]>
and subject line Bug#1069619: Removed package(s) from unstable
has caused the Debian Bug report #788939,
regarding ruby-sigar: Function sigar_proc_port_get sometimes does not find 
valid PID
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
788939: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788939
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-sigar
Version: 0.7.2-1
Severity: important
Tags: upstream patch

Dear Maintainer,
There is a problem with sigar_proc_port_get function. While looking for
the process that owns a socket, it assumes that the UID of the process
is the same as the UID of the port, which is not always true. I use Chef
to configure some servers, Chef calls Ohai, which uses the function to
generate the port-process map. When a process was started as root,
opened a socket and then dropped priviliges, the function returns 0,
which causes some problems with Ohai and Chef. I tried deleting the
lines related to skipping processes with different UID - after
installing the rebuilt package everything is working fine. I attach
the patch.

Best regards,
Piotr Panczyk

-- System Information:
Debian Release: 7.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.bsd54h0 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-sigar depends on:
ii  libc6                         2.13-38+deb7u8
ii  libruby1.9.1                  1.9.3.194-8.1+deb7u5
ii  ruby                          1:1.9.3
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-8.1+deb7u5

ruby-sigar recommends no packages.

ruby-sigar suggests no packages.

-- no debconf information
--- ruby-sigar-0.7.2.orig/src/os/linux/linux_sigar.c
+++ ruby-sigar-0.7.2/src/os/linux/linux_sigar.c
@@ -2502,9 +2502,6 @@ int sigar_proc_port_get(sigar_t *sigar,
         if (stat(pid_name, &sb) < 0) {
             continue;
         }
-        if (sb.st_uid != netconn.uid) {
-            continue;
-        }
 
         /* sprintf(fd_name, "%s/fd", pid_name) */
         memcpy(&fd_name[0], pid_name, len);

--- End Message ---
--- Begin Message ---
Version: 0.7.3-3+rm

Dear submitter,

as the package ruby-sigar has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1069619

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to