Your message dated Sat, 27 Apr 2024 20:29:45 +0100
with message-id 
<CAJ3BuoQcMcVw4bvKp_XnfRsSMPZTXP24-W6C5=3CH=oah+y...@mail.gmail.com>
and subject line Fwd: Bug#532719: [Logcheck-devel] Bug#532719: additional sample
has caused the Debian Bug report #532719,
regarding logcheck-database: filter pam_env complaining about missing 
/etc/default/locale
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
532719: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532719
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: logcheck-database
Version: 1.2.69
Severity: normal

on systems without configured global locale, i get lines like this in
the logcheck filtered logs:

Jun 10 21:12:13 ... sshd[9729]: pam_env(sshd:setcred): Unable to open env file: 
/etc/default/locale: No such file or directory

this looks like a warning that is perfectly ok but does not do any harm
and occurs because when no global locale is set, /etc/default/locale is
not even created.  (nb: if /etc/default/locale once exists on a system
and dpkg-reconfigure is used to set no locale at all, the file will
contain a commented out line, so when trying to reproduce this you
should first purge and reinstall the locales)

if filtering this is against logcheck's habits (eg because the message
should not occur in the first place), please reassign to the complaining
program (libpam-modules, i guess, for complaining about a file missing
that can legally be absent) or locales (for not creating a file other
packages rely on)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
---------- Forwarded message ---------
From: Richard Lewis <richard.lewis.deb...@googlemail.com>
Date: Sat, 27 Apr 2024 at 19:00
Subject: Bug#532719: [Logcheck-devel] Bug#532719: additional sample
To: <532...@bugs.debian.org>


On Tue, 16 Jun 2009 11:27:57 -0700 Russ Allbery <r...@debian.org> wrote:
> chrysn <chr...@fsfe.org> writes:

> touch /etc/default/locale will also make these go away with no behavior
> changes.  In my experience, it happens on systems upgraded from older
> versions of Debian but not with new installs.  I think this is more a
> bug or misconfiguration than something that logcheck really should be
> filtering out.

For the reason given above in 2009 im closing this bug asking to
filter a message about a missing locale:
debian installs a locale by defuault and not having one is unusual: if
the file disappeared most people
would want to know about it, so logcheck should be reporting it.

people who want to have a system without a locale set (assuming that
is even still possible - and why not just set it to C?)
can of course add a local rule to filter the message, but i see no
case for hiding this message by default.

Therefore, closing this bug.

If there's some case im missing, it can be reopened of couse

--- End Message ---

Reply via email to