Your message dated Fri, 01 Apr 2005 00:33:29 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#302456: skippy: Skippy incorrectly claims HOME environment
variable not set
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 31 Mar 2005 22:07:39 +0000
>From [EMAIL PROTECTED] Thu Mar 31 14:07:39 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mongo.ducker.org [207.44.144.13]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DH7pD-0005h3-00; Thu, 31 Mar 2005 14:07:39 -0800
Received: by Mongo.ducker.org (Postfix, from userid 1000)
id D1957298007; Thu, 31 Mar 2005 14:06:47 -0800 (PST)
Date: Thu, 31 Mar 2005 14:06:47 -0800
From: Joshua Rodman <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: skippy: Skippy incorrectly claims HOME environment variable not set
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mailer: reportbug 3.8
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: skippy
Version: 0.5.0-3
Severity: minor
Speculatively installed skippy from weekly news comment.
Haven't yet seen it work, but was waylaid but this output:
[EMAIL PROTECTED]:~ >skippy
WARNING: $HOME not set, not loading config.
$HOME is certainly set and in the environment, and skippy is not setuid.
Further, an ltrace shows the return value of getenv("HOME") as
"/home/jrodman", so I'm fairly certain this message is incorrect.
Also, I believe this is not accurate in terms of its statement of
intent, since the strace shows:
open("/home/jrodman/.skippyrc", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1107, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7ffe000
fstat64(4, {st_mode=S_IFREG|0644, st_size=1107, ...}) = 0
_llseek(4, 0, [0], SEEK_SET) = 0
read(4, "# This is the Default Debian ski"..., 1107) = 1107
_llseek(4, 1107, [1107], SEEK_SET) = 0
close(4) = 0
munmap(0xb7ffe000, 4096) = 0
write(2, "WARNING: $HOME not set, not load"..., 44) = 44
So this message is written after it actually loads the file.
looking at the source logic, this appears to be a bug in
11_find_skippyrc_in_etc.patch
The logic, with patch applied, is:
1) Check for HOME
If HOME set, try to load config from $HOME/.skipopyrc
2) If config is not yet successfully loaded try to load config from
/etc/X11/skippy/skippyrc
3) Otherwise, if config WAS successfully loaded report an error about
$HOME dir
So the error message about $HOME will only appear if the configuration was
actually successfully loaded out of $HOME.
Traditionally unix programs don't tend to actively complain about missing
config files, so maybe you should just remove the error. Ideally I think
it would be a verbose form of output, but not by default.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-jsr
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages skippy depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libfontconfig1 2.3.1-2 generic font configuration library
ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib
ii libimlib2 1.2.0-2.1 powerful image loading and renderi
ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-3 compression library - runtime
-- no debconf information
---------------------------------------
Received: (at 302456-done) by bugs.debian.org; 31 Mar 2005 22:34:50 +0000
>From [EMAIL PROTECTED] Thu Mar 31 14:34:50 2005
Return-path: <[EMAIL PROTECTED]>
Received: from cxhome.ath.cx (ayamaru.cxhome.ath.cx) [81.57.55.19]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DH8FW-0007K9-00; Thu, 31 Mar 2005 14:34:50 -0800
Received: from localhost (ayamaru [127.0.0.1])
by ayamaru.cxhome.ath.cx (Postfix) with ESMTP id 373D3E9924;
Fri, 1 Apr 2005 00:35:10 +0200 (CEST)
Received: from ayamaru.cxhome.ath.cx ([127.0.0.1])
by localhost (ayamaru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 24310-05; Fri, 1 Apr 2005 00:35:10 +0200 (CEST)
Received: by ayamaru.cxhome.ath.cx (Postfix, from userid 65534)
id ECA81E9926; Fri, 1 Apr 2005 00:35:09 +0200 (CEST)
Received: from gonzo.cxhome.ath.cx (gonzo.cxhome.ath.cx [10.0.0.21])
by ayamaru.cxhome.ath.cx (Postfix) with ESMTP id 4D8D0E9924;
Fri, 1 Apr 2005 00:34:51 +0200 (CEST)
From: Niv Altivanik (Debian) <[EMAIL PROTECTED]>
To: Joshua Rodman <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#302456: skippy: Skippy incorrectly claims HOME environment
variable not set
References: <[EMAIL PROTECTED]>
Date: Fri, 01 Apr 2005 00:33:29 +0200
In-Reply-To: <[EMAIL PROTECTED]> (Joshua Rodman's message of
"Thu, 31 Mar 2005 14:06:47 -0800")
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha1; protocol="application/pgp-signature"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cxhome.ath.cx
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--=-=-=
Content-Transfer-Encoding: quoted-printable
this bug is a duplicate of #302131, and is fixed in the last upload.
Regards,
=2D-=20
Niv Altivanik <[EMAIL PROTECTED]>
Debian::GNU/Linux::Addict, Wannabe Debian Developper,=20
please test my packages: http://cxhome.ath.cx/debian
--=-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQBCTHrA2n42qlCu4P8RAhFKAJ9et6nC3iMU1d+Fix7V/dldu+43tQCeJphs
2piNeKBnUZ+PNJfRFGLpwW4=
=S6mD
-----END PGP SIGNATURE-----
--=-=-=--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]