Package: atop
Version: 1.23-1
Severity: normal

The program atop has a problem at startup that has been for years.
Immediately after issuing the atop command it prints two message lines,
then waits ten seconds and finally starts working normally. Example:
$ atop open account-file: Permission denied
warning: no process exit detection!

If I have a a look at the directory /tmp/atop.d I can see that it isn't
readable for unprivileged users:
drwx------ 2 root root 4096 20 jan 13.20 /tmp/atop.d/

I've seen it on all debian machines I've used, several different
machines, several versions of Debian and also Ubuntu 9.04. One
workaround I use is this:
$ grep tmp/atop /etc/rc.local 
[ -d /tmp/atop.d ] && chmod a+rx /tmp/atop.d
[ -e /tmp/atop.d/atop.acct ] && chmod a+r /tmp/atop.d/atop.acct

It makes atop work as it should after boot. The problem comes back when
anacron has restarted the atop daemon.

Anyway -- atop is great. I use it a lot.

/Leif Hornsved


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages atop depends on:
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libncurses5            5.7+20090803-1+b1 shared libraries for terminal hand
ii  logrotate              3.7.8-4           Log rotation utility
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

atop recommends no packages.

atop suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to