Bug#588249: libproc-processtable-perl: length of fname field in ProcessTable is insufficient

Salvatore Bonaccorso salvatore.bonaccorso at gmail.com
Wed Jul 7 13:58:17 UTC 2010


# reassign to the 'mon' package
reassign 588249 mon
thanks

Hi Dario too (Maintainer of mon).

On Wed, Jul 07, 2010 at 09:24:50AM +0100, Chris Butler wrote:
> On Wed, Jul 07, 2010 at 09:52:31AM +0200, Salvatore Bonaccorso wrote:
> > So as it is not really caused by fname in Proc::ProcessTable I think
> > this is more like a wishlist, as it is by 'limitation' in the linux
> > kernel.
> > 
> > Comments?
> 
> I agree with your assessment.. the behaviour certainly seems consistent with
> "ps":
> 
> $ ps ax -o fname
> [...]
> udevd
> hald-add
> wpa_supp
> [...]
> 
> It sounds like there's a bug in 'mon' in that case, it probably shouldn't be
> using "fname", or at least be expecting it to be truncated.
> 
> The value returned by Proc::ProcessTable also includes "exec", the full path
> to the executable (available for root and the owner of the process). It may
> be better if mon used that, if possible. This would also avoid a process
> with the same filename (but different path) from matching erroneously.

Chris thanks for commenting on it. Ok, then I just reassign this
bugreport to the 'mon' package.

Bests
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100707/25eec6ba/attachment.pgp>


More information about the pkg-perl-maintainers mailing list