Your message dated Sun, 6 Feb 2005 18:34:27 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Removed
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; 10 Nov 2002 10:20:02 +0000
>From [EMAIL PROTECTED] Sun Nov 10 04:20:01 2002
Return-path: <[EMAIL PROTECTED]>
Received: from mgate2.uni-hannover.de [130.75.2.5] (zzismail)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18ApCD-0000oS-00; Sun, 10 Nov 2002 04:20:01 -0600
Received: from wega.itp.uni-hannover.de by mgate2.uni-hannover.de 
          with LocalSMTP (PP) with ESMTP; Sun, 10 Nov 2002 11:19:46 +0100
Received: from mirzam.itp.uni-hannover.de (mirzam.itp.uni-hannover.de 
[130.75.25.94]) 
          by wega.itp.uni-hannover.de (AIX4.3/UCB 8.8.8/8.8.8) with ESMTP 
          id LAA19018 for <[EMAIL PROTECTED]>;
          Sun, 10 Nov 2002 11:19:46 +0100
Received: (from [EMAIL PROTECTED]) 
          by mirzam.itp.uni-hannover.de (8.11.6/8.9.3) id gAAAJk503933 
          for [EMAIL PROTECTED]; Sun, 10 Nov 2002 11:19:46 +0100
Date: Sun, 10 Nov 2002 11:19:46 +0100
From: Helge Kreutzmann <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: xstroke: Logging does not work -- needs setuid ?
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-Public-Key-URL: http://www.itp.uni-hannover.de/~kreutzm/data/kreutzm.gpg
X-homepage: http://www.itp.uni-hannover.de/~kreutzm
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-7.8 required=5.0
        tests=PATCH_UNIFIED_DIFF,SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,
              USER_AGENT,USER_AGENT_MUTT
        version=2.41
X-Spam-Level: 

Package: xstroke
Version: 0.5.12-ma5-2
Severity: normal
Tags: patch

When xstroke is launched as normal user, the programm complains:

[EMAIL PROTECTED]:~$ xstroke
log_init: Warning: Failed to mkdir /var/log/xstroke: Permission denied
log_init: Warning: logging to /var/log/xstroke/strokes.log will be disabled
log_init: Warning: Failed to mkdir /var/log/xstroke: Permission denied
log_init: Warning: logging to /var/log/xstroke/errors.log will be disabled

I added the following patch get this directory
--- rules.orig  Sun Nov 10 10:15:06 2002
+++ rules       Sun Nov 10 09:53:54 2002
@@ -60,6 +60,7 @@
        mkdir -p $(CURDIR)/debian/xstroke/usr/X11R6/man/man1
        gzip -c9v xstroke.man > 
$(CURDIR)/debian/xstroke/usr/X11R6/man/man1/xstroke.1.gz
        cp doc/xstroke-help $(CURDIR)/debian/xstroke/usr/bin/
+       mkdir -p $(CURDIR)/debian/xstroke/var/log/xstroke


 # Build architecture-independent files here.


However, now xstroke complains at startup
[EMAIL PROTECTED]:~$ xstroke
log_init: Warning: failed to open /var/log/xstroke/strokes.log: Permission 
denied
log_init: Warning: logging to /var/log/xstroke/strokes.log will be disabled
log_init: Warning: failed to open /var/log/xstroke/errors.log: Permission 
deniedlog_init: Warning: logging to /var/log/xstroke/errors.log will be disabled

which is true of course, since normal user cannot write into /var/log.
My suspicion is that xstroke need setuid ? 

Quickly setting 
chmod +s /usr/bin/X11/xstroke

actually starts logging. This of course -- if really necessary -- has
to be done in the build scripts. Also dh_installlogrotate is probably
needed then.


-- System Information
Debian Release: 3.0
Architecture: alpha
Kernel: Linux sixtyfor 2.4.17 #1 Mon Feb 25 21:41:29 CET 2002 alpha
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages xstroke depends on:
ii  libc6.1                    2.2.5-11.2    GNU C Library: Shared libraries an
ii  xlibs                      4.2.0-0pre1v2 X Window System client libraries
-- 
Helge Kreutzmann, Dipl.-Phys.               [EMAIL PROTECTED]
  gpg signed mail preferred    gpg-key: finger [EMAIL PROTECTED]
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/

---------------------------------------
Received: (at 168505-done) by bugs.debian.org; 6 Feb 2005 18:34:35 +0000
>From [EMAIL PROTECTED] Sun Feb 06 10:34:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from bangpath.uucico.de [195.71.9.197] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CxrEv-0004RV-00; Sun, 06 Feb 2005 10:34:33 -0800
Received: by bangpath.uucico.de (Postfix, from userid 10)
        id D8D9626BCE; Sun,  6 Feb 2005 19:34:32 +0100 (CET)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
        id CAB4F4EE6A; Sun,  6 Feb 2005 18:34:27 +0000 (GMT)
Date: Sun, 6 Feb 2005 18:34:27 +0000
From: Martin Michlmayr <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Removed
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This package has been removed from Debian because they were not
maintained and have never been part of a stable release.

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to