Logcheck exits with error due to wrong file permissions for /var/lib/logcheck

Bug #256899 reported by Christian Wolf on 2008-08-11
Affects Status Importance Assigned to Milestone
logcheck (Ubuntu)

Bug Description

Binary package hint: logcheck

The Logcheck Ubuntu package does not work out of the box in Ubuntu 8.04.1.

After installation of Logcheck, and Postfix as my mailer on one of my server, I got this email warning:

    Logcheck: machine2 2008-08-10 20:02 exiting due to errors

    Warning: If you are seeing this message, your log files may not have been

    Could not run logtail or save output

    Check temporary directory: /tmp/logcheck.e11692

    Also verify that the logcheck user can read all files referenced in

    declare -x HOME=”/var/lib/logcheck”
    declare -x LOGNAME=”logcheck”
    declare -x MAILTO=”root”
    declare -x OLDPWD
    declare -x PATH=”/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin”
    declare -x PWD=”/var/lib/logcheck”
    declare -x SHELL=”/bin/sh”
    declare -x SHLVL=”1″

To fix the problem, I had to change the owner and group of /var/lib/logcheck to user and group logcheck:

sudo chown -R logcheck:logcheck /var/lib/logcheck

It seems to be a re-occurring issue:


Loïc Minier (lool) wrote :

The logcheck postinst is supposed to do exactly this; did you have any error while installing logcheck?

Do you have any fancy setup for user/groups on this system?

Loïc Minier (lool) on 2011-10-03
Changed in logcheck (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for logcheck (Ubuntu) because there has been no activity for 60 days.]

Changed in logcheck (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers