cron.daily/logrotate: cat: /var/run/landscape-client.pid: No such file or directory

Bug #288772 reported by Matt Zimmerman
2
Affects Status Importance Assigned to Milestone
landscape-client (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: landscape-client

I received the following email from the logrotate daily cron job:

/etc/cron.daily/logrotate:
cat: /var/run/landscape-client.pid: No such file or directory
kill: 2: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
error: error running postrotate script for /var/log/landscape/sysinfo.log
run-parts: /etc/cron.daily/logrotate exited with return code 1

landscape is not currently running:

mizar:[~] ps aux |grep landscape
mdz 30063 0.0 0.0 2336 788 pts/4 S+ 16:29 0:00 grep landscape

Presumably the logrotate script should check whether landscape is running before attempting to signal it.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: landscape-client 1.0.23-0ubuntu0.8.10.1
PackageArchitecture: all
ProcEnviron:
 LC_COLLATE=C
 PATH=/home/username/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/sbin:/usr/sbin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: landscape-client
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
Revision history for this message
Matt Zimmerman (mdz) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This was fixed in bug #271767, which has a client bzr branch of the fix. I'm linking it to this bug report too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.