Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140951 - Endless loop when creating .img file
Summary: Endless loop when creating .img file
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: GNAP (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Network Appliance Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 11:33 UTC by marcc
Modified: 2013-11-20 23:08 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 marcc 2006-07-18 11:33:56 UTC
When executing GNAP to create a .img file, GNAP enters an endless loop caused by the invcation of the gtest function from the cleanup function when it receives an error when trying to unmount the loopback device (which wasn't mounted).

Solution could be the substitution of lines number 108 and 115 by

if [ $? ] ; then echo "Failed to unmount ${LOOP}" ; fi

and

if [ $? ] ; then echo "Failed to remove ${DIRTOREMOVE}" ; fi

respectively.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-20 23:08:57 UTC
The GNAP project has been discontinued, its removal was acknowledged by steev.

If you need to, you can contact the Gentoo Embedded project; more information about the Gentoo Embedded project can be found on the following link:

http://www.gentoo.org/proj/en/base/embedded/

This removal happens as part of project cleanup by the Gentoo Council's members.