Bug 3753
Summary: | /tmp/.ICE-unix weirdness caused GNOME to run w/ umask 000 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | mcornick |
Component: | XFree86 | Assignee: | Preston Brown <pbrown> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.0 | CC: | charles, s.ballestrero |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-08-31 18:54:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mcornick
1999-06-27 01:24:11 UTC
I've just confirmed that after: 1) removing /tmp/.ICE-unix 2) starting GNOME, letting it recreate /tmp/.ICE-unix 3) exiting GNOME 4) starting GNOME again the problem reoccurs. The errors in .xsession-errors are: _IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 17 _IceTransMakeAllCOTSServerListeners: failed to create listener for local fixed in XFree86-3.3.3.1-53, in the next Raw Hide release... This should be released as an errata update. it will be released with the 3.3.5 errata update when 3.3.5 becomes available. *** Bug 4714 has been marked as a duplicate of this bug. *** Since XFree86-3.3.3.1-tmpdir.patch was added to XFree86-3.3.3.1-52.src.rpm, these directories should exist, be owned by root.root, and have 1777 perms at all time: /tmp/.X11-unix /tmp/.XIM-unix /tmp/.font-unix /tmp/.ICE-unix /tmp/.Test-unix Otherwise, for instance, one user won't be able to properly use gnome if there is already a /tmp/.ICE-unix not owned by root. There will be one if anyone but root last used gnome and there is not a permanent root-owned /tmp/.ICE-unix. They should probably be created by XFree86-libs-3.3.3.1-52.i386.rpm and XFree86-devel-3.3.3.1-52.i386.rpm since those include the pertinent libraries. However, they should be created with care in case someone is using X at the time they are installed. The /etc/cron.daily/tmpwatch may also be affected, as well as tmpwatch itself since it should not destroy these directories if owned by root even if they are old... /tmp/.font-unix is somewhat special because of the way /etc/rc.d/init.d/xfs is written. It could be excluded from this, or not (for uniformity). To reproduce the problem, just install 6.0 + all current patches and, as a regular user, try to use gdm to start a gnome session twice in a row. (Don't apply the fix to see the unwanted behavior!!) Then look at the ~user/.xsession-errors file. There may be a more elegant solution by reviewing how XFree86-3.3.3.1-tmpdir.patch works. |