On Sat, Aug 22, 2009 at 12:47:30AM +0200, Leif Hornsved wrote: > 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!
I can confirm this behavior. > 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/ In current atop, it is /var/run/atop > 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. The mode settings for directory and accounting file are unfortunately hardcoded in the source code. I have forwarded the issue upstream. Greetings Marc -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org