Public bug reported:

Binary package hint: landscape-client

My /var/log/landscape/sysinfo.log has twelve tracebacks like this:

2010-02-05 11:10:01,929 ERROR    Processes plugin raised an exception.
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/landscape/sysinfo/sysinfo.py", line 
98, in run
    result = plugin.run()
  File "/usr/lib/python2.6/dist-packages/landscape/sysinfo/processes.py", line 
18, in run
    for process_info in info.get_all_process_info():
  File "/usr/lib/python2.6/dist-packages/landscape/lib/process.py", line 45, in 
get_all_process_info
    process_info = self.get_process_info(process_id)
  File "/usr/lib/python2.6/dist-packages/landscape/lib/process.py", line 116, 
in get_process_info
    parts = file.read().split()
IOError: [Errno 3] No such process

I assume there's a race condition in landscape.lib.process: the process
can exit between "get a list of valid PIDs" and "query information about
the PID".

ProblemType: Bug
Architecture: amd64
Date: Fri Feb  5 11:39:07 2010
DistroRelease: Ubuntu 9.04
Package: landscape-common 1.4.0-0ubuntu0.9.04.0
ProcEnviron:
 LC_CTYPE=lt_LT.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: landscape-client
Uname: Linux 2.6.28-17-server x86_64

** Affects: landscape-client (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
IOError: No such process in info.get_all_process_info()
https://bugs.launchpad.net/bugs/517453
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to