First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 102985
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Network Appliance Bugs <gnap@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sune Kloppenborg Jeppesen <jaervosz@gentoo.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 102985 depends on: Show dependency tree
Show dependency graph
Bug 102985 blocks: 103320
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2005-08-18 10:00 0000
gnap-agetty is installed without execute permission.

------- Comment #1 From Thierry Carrez (RETIRED) 2005-08-22 01:14:54 0000 -------
Yes, the ebuild doesn't set the +x bits in the root_overlay directory. So any
complete GNAP build will miss the +x bits on gnap-agetty and rw-sync.sh...

Workaround: 
chmod a+x /usr/lib/gnap/specs/root_overlay/usr/bin/*
after installation and before rebuild.

------- Comment #2 From Thierry Carrez (RETIRED) 2005-08-28 02:21:43 0000 -------
Two solutions possible to this problem :

1- Fix the gnap-dev ebuild so that it installs the /usr/lib/gnap/specs directory
contents with the right permissions (replacing the "doins -r specs" by a "cp -Rp
specs /usr/lib/gnap/")

2- Ship the specs directory as a .tar.bz2 tarball in /usr/lib/gnap and improve
gnap_make so that it can use .tar.bz2'd specs directories as inputs (with the
one in /usr/lib/gnap the default value).

Solution 1 is the less destructive one. Just fixes the problem.

Solution 2 needs a change in documentation (you don't copy specs before
modifying them, you unpack them) and is less readable (you can't "have a look"
at the specs file without unpacking), but offers extra functionality: the
possibility to use tar.bz2'd specs directories and the possibility to have
SUID-bit executables in root_overlay without compromising the build host. I
never felt comfortable shipping executable files in /usr/lib/gnap anyway...

------- Comment #3 From José Alberto Suárez López 2005-08-28 12:27:28 0000 -------
i prefer the second option.

more secure and in the future we can implement nice features with this :)

PS:sorry im really busy these days, we are moving the office

------- Comment #4 From Thierry Carrez (RETIRED) 2005-08-29 05:26:27 0000 -------
Fix in CVS. Docs will need an update to talk about specs .tar.bz2 files (and to
remove the need for a full path with -e option).

------- Comment #5 From Thierry Carrez (RETIRED) 2005-08-31 05:05:55 0000 -------
Fixed in 1.8.1 release and ebuilds.

First Last Prev Next    No search results available      Search page      Enter new bug