Bug#226235: xserver-common: Should not re-create /etc/X11/Xwrapper.config in /tmp
Package: xserver-common
Version: 4.2.1-15
Severity: normal
Currently the postinst creates a temporary file in /tmp for the new Xwrapper.config. There is no benefit in doing this,
it might as well use $XWRAPPER_CONFIG.dpkg-new all along with no loss of functionality.
For SE Linux a file created in /tmp gets a different context, and if it is moved to /etc and /etc and /tmp are in the
same file system then it retains a type that prevents most domains from accessing it.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux lyta 2.6.0-usbnet #1 Mon Jan 5 18:21:59 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages xserver-common depends on:
ii debconf 1.4.2 Debian configuration management sy
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii xfree86-common 4.2.1-15 X Window System (XFree86) infrastr
-- debconf information excluded
Reply to: