Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 22356
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Ahlberg (RETIRED) <aliz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matt <matthew@matts.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 22356 depends on: Show dependency tree
Bug 22356 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-06-06 13:11 0000
It's a good security practice to have your /tmp directory set 'noexec' as many
remote exploits on web servers will try to run files there.

vnc tries to make an executable file and run it in /tmp (no, not /var/tmp)
during the installation process.

To easily reproduce this on gentoo, 

mount -o remount,noexec,rw /dev/shm 
symlink /tmp to /dev/shm (or just mount it at /tmp noexec if you haven't
already) and 
emerge vnc

------- Comment #1 From Daniel Ahlberg (RETIRED) 2003-06-28 15:23:29 0000 -------
Could you post a log with the buildprocess failing?  My setup doesnt allow for
an 
easy setup for a noexec /tmp. 

------- Comment #2 From Daniel Ahlberg (RETIRED) 2003-11-21 07:52:35 0000 -------
Copied the fix from tightvnc. Try it now.

------- Comment #3 From Matt 2003-11-21 12:28:51 0000 -------
Excellent, it works great now.  Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug