Your message dated Wed, 18 Mar 2020 02:50:51 +0000
with message-id <[email protected]>
and subject line Bug#954062: Removed package(s) from unstable
has caused the Debian Bug report #370787,
regarding FindXServer fails for usernames > 8 chars because of #367428
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 [email protected]
immediately.)


-- 
370787: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=370787
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hibernate
Version: 1.91-2
Severity: normal

For reference, see http://bugs.debian.org/367428 "sysvinit: last cut the
username if its longer than eight characters"

Because of the above bug, FindXServer in /usr/sbin/hibernate fails on
usernames longer than eight characters (mine, espeoneefi, is 10). At
line 196, instead of xuser being set to espeoneefi, as intended, it is
set to espeonee, making all the rest of that for loop fail.

Further bugginess in FindXServer causes this failure not to be
rectified. Lines 216 and 217 suffer from the same mawk in `` bug that
manifested itself with LockXScreenSaver. (Maybe there should be a full
audit of the source tree to make sure there aren't more of these lurking
around?) Replacing the `` in these lines with $() seems to make things
better. (The same replacement could be done in line 218 if desired,
though it seems that this invocation of mawk is perfectly happy inside
``.)

(Note though, that by "make things better," I mean that XUSER gets set
to root and XAUTHORITY to /var/lib/gdm/:0.Xauth, since I log into my
GNOME session from GDM. I'm not sure whether this setting to root
instead of regular user espeoneefi breaks any assumptions elsewhere. I
simply know that it fixes the problem which led me to find this
bug--that the xstatus display using osd_cat was failing to work when I
invoked hibernate through ACPI events.)

One other interesting note... In the original (with the buggy mawk in
``), we reach line 227 with $xuser being empty. However, the test there
turns out to be buggy; [ -n  ] (which is what that test expands to with
an empty $xuser) actually has a return code of 0, not what is intended
at all. Instead, $xuser should be put in "" (i.e., [ -n "$xuser" ]) so
that the test will work as intended. (This might be another subtle shell
scripting bug that might be worth looking back over the source tree
for...)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages hibernate depends on:
ii  console-tools              1:0.2.3dbs-62 Linux console and font utilities

Versions of packages hibernate recommends:
ii  hdparm                        6.6-1      tune hard disk parameters for high
pn  vlock                         <none>     (no description available)

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.0+15+g88d54a8-1+rm

Dear submitter,

as the package hibernate has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/954062

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to