When a separate partition is mounted here during install, the /tmp directory in the install tarball can't overwrite the mounted one, and thus /tmp keeps the permissions of the created directory (0644), instead of the correct permissions (1777). This can cause problems to a lot of programs, including gdm, kdm, X, but also apache and other server-software which create temp files and run unprivileged. Simple solution: chmod 1777 /tmp
Can someone confirm this? I'll then add a note to the install doc.
There was a thread on the mailing list: check out the archives, it solved someone's problems there. It all depends on wether or not you have the /tmp partition mounted when you extract the stagex tarball
Can you provide the link to the mailing list thread? Alternatively, can you please post the email with the solution here?
http://search.gmane.org/search.php?query=freshly+installed+root+gdm&group=gmane.linux.gentoo.user&sort=date&email=&page=2 gives you the thread simple solution to this problem: chmod 1777 /tmp or don't mount /tmp until after you extracted the install stage
I can't see how this would fit in the installation guide. Instead, I propose to include the following in the FAQ under the Installation chapter: --- I have /tmp in a separate partition. What precautions should I take? When /tmp is mounted in a separate partition during install, the /tmp directory in the install tarball can't overwrite the mounted one. Thus /tmp keeps the permissions of the created directory (0644) instead of being set with the correct permissions (1777). This can cause problems to a lot of programs including gdm, kdm, X and other server-software, such as apache, which create temp files and run unprivileged. The simple solution is to manually set the correct permissions as follows: # chmod 1777 /tmp --- Thanks to Sjors Robroek for the blurb that I'm proposing to add to the FAQ. If there are no objections/corrections, I'll make the changes and commit within a few days.
Instead of the FAQ, how about we get in touch with the LiveCD folks and fix the actual problem?
As per zhen's suggestion... reassigning to the LiveCD crew. Perhaps they can address this issue.
I this the same as Bug 24551?
*** This bug has been marked as a duplicate of 24551 ***