Debian Bug report logs - #677831
x11-common: please apply this 1 line patch for correct SE Linux labelling

version graph

Package: x11-common; Maintainer for x11-common is Debian X Strike Force <debian-x@lists.debian.org>; Source for x11-common is src:xorg.

Reported by: Russell Coker <russell@coker.com.au>

Date: Sun, 17 Jun 2012 05:12:02 UTC

Severity: normal

Found in version xorg/1:7.6+13

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#677831; Package x11-common. (Sun, 17 Jun 2012 05:12:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Russell Coker <russell@coker.com.au>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Sun, 17 Jun 2012 05:12:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Russell Coker <russell@coker.com.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: x11-common: please apply this 1 line patch for correct SE Linux labelling
Date: Sun, 17 Jun 2012 15:08:45 +1000
Package: x11-common
Version: 1:7.6+13
Severity: normal


The following patch causes the /tmp/.ICE-unix and /tmp/.X11-unix directories
to have the correct SE Linux labels which is essential to logging in when using
KDE (and probably most other desktop environments).

--- x11-common.orig	2012-06-17 14:31:17.000000000 +1000
+++ x11-common	2012-06-17 15:02:08.000000000 +1000
@@ -53,6 +53,7 @@
       rm "$fn"
     fi
     mkdir -p -m 01777 "$DIR" || { rm "$DIR" || error=$((error + 1)) ; continue ; }
+    [ -x /sbin/restorecon ] && /sbin/restorecon "$DIR"
     case "$(LC_ALL=C stat -c '%u %g %a %F' "$DIR")" in
       "0 0 1777 directory")
         # everything as it is supposed to be

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  lsb-base               4.1+Debian7

x11-common recommends no packages.

x11-common suggests no packages.

-- debconf information excluded




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 09:05:31 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.