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

Bug#265920: marked as done (kdm 3.3 is deleting /var/run/xdmctl (causes problem under selinux))



Your message dated Mon, 16 Aug 2004 21:38:14 +0200
with message-id <20040816193813.GA24520@chistera.yi.org>
and subject line Bug#265920: kdm 3.3 is deleting /var/run/xdmctl (causes problem under selinux)
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; 15 Aug 2004 18:26:13 +0000
>From lkcl@lkcl.net Sun Aug 15 11:26:13 2004
Return-path: <lkcl@lkcl.net>
Received: from open.hands.com [195.224.53.39] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BwPht-0003II-00; Sun, 15 Aug 2004 11:26:13 -0700
Received: from localhost (localhost [127.0.0.1])
	by open.hands.com (Postfix) with ESMTP id 8370CBF73
	for <submit@bugs.debian.org>; Sun, 15 Aug 2004 19:25:42 +0100 (BST)
Received: from open.hands.com ([127.0.0.1])
	by localhost (open [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 17960-05-3 for <submit@bugs.debian.org>;
	Sun, 15 Aug 2004 19:25:40 +0100 (BST)
Received: from lkcl.net (host81-152-10-162.range81-152.btcentralplus.com [81.152.10.162])
	by open.hands.com (Postfix) with ESMTP id 27548BF70
	for <submit@bugs.debian.org>; Sun, 15 Aug 2004 19:25:40 +0100 (BST)
Received: from lkcl by lkcl.net with local (Exim 4.24)
	id 1BwPrf-0002ZQ-RX; Sun, 15 Aug 2004 19:36:19 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kdm 3.3 is deleting /var/run/xdmctl (causes problem under selinux)
X-Mailer: reportbug 2.39
Date: Sun, 15 Aug 2004 19:36:19 +0100
Message-Id: <E1BwPrf-0002ZQ-RX@lkcl.net>
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at hands.com
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25
X-Spam-Level: 

Package: kdm
Severity: normal


the directory is being deleted and recreated.

whilst this makes it nice and easy for dealing with sockets in it,
it makes for an impossible situation for selinux.

the issue is that kdm will have to be given both unlink and write access
to /var/run, in order for /var/run/xdmctl to be deleted and recreated.

neither of these things are desirable.

this behaviour was not present in kdm 3.2.X.



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux highfield 2.6.7-selinux1 #4 Fri Aug 6 10:18:54 BST 2004 i686
Locale: LANG=C, LC_CTYPE=C


---------------------------------------
Received: (at 265920-done) by bugs.debian.org; 16 Aug 2004 19:38:18 +0000
>From asp16@alu.ua.es Mon Aug 16 12:38:18 2004
Return-path: <asp16@alu.ua.es>
Received: from 84-120-64-227.onocable.ono.com (chistera.yi.org) [84.120.64.227] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BwnJC-0006fL-00; Mon, 16 Aug 2004 12:38:18 -0700
Received: from userid 1000 by chistera.yi.org with local (Exim 4.34) 
	  id 1BwnJ8-0006Nq-0R; Mon, 16 Aug 2004 21:38:14 +0200
Date: Mon, 16 Aug 2004 21:38:14 +0200
From: Adeodato =?iso-8859-1?Q?Sim=F3?= <asp16@alu.ua.es>
To: Luke Kenneth Casson Leighton <lkcl@lkcl.net>,
	265920-done@bugs.debian.org
Subject: Re: Bug#265920: kdm 3.3 is deleting /var/run/xdmctl (causes problem under selinux)
Message-ID: <20040816193813.GA24520@chistera.yi.org>
References: <E1BwPrf-0002ZQ-RX@lkcl.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <E1BwPrf-0002ZQ-RX@lkcl.net>
X-No-CC: Please respect my Mail-Followup-To header
User-Agent: Mutt/1.5.6+20040810i
Delivered-To: 265920-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

* Luke Kenneth Casson Leighton [Sun, 15 Aug 2004 19:36:19 +0100]:

> the directory is being deleted and recreated.

> whilst this makes it nice and easy for dealing with sockets in it,
> it makes for an impossible situation for selinux.

> the issue is that kdm will have to be given both unlink and write access
> to /var/run, in order for /var/run/xdmctl to be deleted and recreated.

> neither of these things are desirable.

> this behaviour was not present in kdm 3.2.X.

  you have two options:

    # touch /var/run/xdmctl/.keep

  kdm will refrain from unlinking the directory, then (checked).

  set, in /etc/kde3/kdm/kdmrc, FifoDir to some directory which you don't
  mind being created and unlinked on each kdm start-stop cycle. e.g.
  FifoDir=/tmp/xdmctl.

  I'm closing this bug, since I can't see why at least one of these
  options won't work for you.

  thanks, and please write back if this doesn't solve your problem,

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Hanlon's Razor: Never attribute to malice that which is adequately
explained by stupidity.



Reply to: