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

Bug#226235: xserver-common: Should not re-create /etc/X11/Xwrapper.config in /tmp



On Mon, Jan 05, 2004 at 08:19:55PM +1100, Russell Coker wrote:
> 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.

Ugh, you should know to wrap your lines at <= 80 columns!

> 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.

Is SE Linux an officially supported configuration yet?  I'm trying to
understand why this shouldn't be wishlist bug.

Either way, there is a lot of higher-priority stuff on my plate right
now, and as easy as this sounds, it would be quite helpful if you could
supply a patch.

For extra bonus points, fix xserver-xfree86, which does a similar thing.

-- 
G. Branden Robinson                |     One man's "magic" is another man's
Debian GNU/Linux                   |     engineering.  "Supernatural" is a
branden@debian.org                 |     null word.
http://people.debian.org/~branden/ |     -- Robert Heinlein

Attachment: signature.asc
Description: Digital signature


Reply to: