Bug#226235: xserver-common: Should not re-create /etc/X11/Xwrapper.config in /tmp
On Wed, 7 Jan 2004 13:06, Branden Robinson <branden@debian.org> wrote:
> > 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!
Sorry.
> > 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.
OK, make it wishlist then. But it's easy to fix...
> 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.
I'll do that soon.
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
Reply to: