[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#129933: marked as done (twm: uses only getenv(HOME), not getpwent())



Your message dated Sun, 6 Mar 2011 01:42:01 +0100
with message-id <20110306004201.GA29546@debian.org>
and subject line Re: Bug#129933: twm only checks $HOME; it doesn't call getpwent
has caused the Debian Bug report #129933,
regarding twm: uses only getenv(HOME), not getpwent()
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 owner@bugs.debian.org
immediately.)


-- 
129933: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=129933
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: twm
Version: 4.1.0-5
Severity: minor

(this is an upstream bug)

If twm is called without $HOME set, it can't find the users home directory, so
can't look there for config files.

[23:06:56,385,Twm-Log] can't find user's HOME, looking for config file in current directory.

I've straced and ltraced twm, and it calls getenv("HOME"), but not getpwent.
Gimp, in this same situation, does properly find the user's home directory.

This particular user is not logged in.  Su was used to change to the user, and
start the process.



--- End Message ---
--- Begin Message ---
Hi,

Uwe Kleine-König <u.kleine-koenig@pengutronix.de> (22/02/2011):
> $HOME is the better source to find out about a user's home dir.
> See
> http://www.kernel.org/doc/man-pages/online/pages/man3/getpwnam.3.html#NOTES

yeah, looks like not a bug to me. Closing this bug report
accordingly. Thank to both of you.

KiBi.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: