Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116395 - KDE fails to start up because of wrong /tmp/.ICE-unix permissions with WIPE_TMP=yes
Summary: KDE fails to start up because of wrong /tmp/.ICE-unix permissions with WIPE_T...
Status: RESOLVED DUPLICATE of bug 99679
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-22 09:30 UTC by Malte S. Stretz
Modified: 2005-12-22 11:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2005-12-22 09:30:07 UTC
This is related to bug 76596, bug 107576 and bug 56592, see also [1], [2], and [3].  Please don't start passing the ball to other instances like "KDE has to fix it" or "that's an X.org issue, ask them" -- currently KDE/X/ICE on Gentoo is broken so its got to be fixed here first.

Now that I've got your attention, here's the problem:  After I got annoyed by the accumulating trash in /tmp, I enabled WIPE_TMP in /etc/conf.d/bootmisc.  The next time I rebooted my machine, KDE failed to start.  I finally found out that this was because the directory /tmp/.ICE-unix had the wrong permissions.

It seems like that directory is created (probably by the KDE startup script) with user 0755 permissions when it doesn't exist.  At some later point, the ICE backend or whatever (as a user I don't really care) fails to start because the directory is not owned by root:root and doesn't have the permission 1777.  KDE will fail to start relatively silently.

One solution for this problem could be to filter the directory .ICE-unix from the tmp wiping code.  This is probably already done for the other directorys mentioned in [1].

IMO that's the wrong solution though (see bug 107576 for an example why), the better way would be if the xdm init script created all the needed directories with the correct permissions.

[1] http://wiki.x.org/X11R6.8.0/doc/RELNOTES5.html#39
[2] http://bugs.kde.org/show_bug.cgi?id=90978
[3] http://lists.freebsd.org/pipermail/freebsd-rc/2005-January/000155.html
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-22 11:16:21 UTC

*** This bug has been marked as a duplicate of 99679 ***