cron.daily/logrotate: cat: /var/run/landscape-client.pid: No such file or directory
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.
cat: /var/run/
kill: 2: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
error: error running postrotate script for /var/log/
run-parts: /etc/cron.
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
NonfreeKernelMo
Package: landscape-client 1.0.23-
PackageArchitec
ProcEnviron:
LC_COLLATE=C
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: landscape-client
Uname: Linux 2.6.27-7-generic i686
This was fixed in bug #271767, which has a client bzr branch of the fix. I'm linking it to this bug report too.