bugunpackfs - Bugs: bug #16215, Magic file path hard coded

 
 

bug #16215: Magic file path hard coded

Submitted by:  None
Submitted on:  Wed 29 Mar 2006 02:34:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 30 Mar 2006 12:03:22 AM UTC, comment #1:

I solved the bug of the hard coded magic file. Now `configure' searches in a few locations and uses a default if none is found.

In version 0.0.6 of unpackfs at least for Debian the search for the magic file of libmagic should find all possibilities:

unstable (sid): /usr/share/file/magic
testing (etch): /usr/share/file/magic
stable (sarge): /usr/share/misc/file/magic
oldstable (woody): /usr/share/misc/magic

For other distributions please submit bug reports and/or patches if the magic file resides in another file.

Jochen Hepp <jhepp>
Project Administrator
Wed 29 Mar 2006 02:34:50 PM UTC, original submission:

In version 0.0.5 of unpackfs.h there is following line that is used for libmagic to search for magic numbers:

#define UNPACKFS_MAGICFILE "/etc/magic:/usr/share/misc/file/magic"

Unfortunately at least in Debian the magic numbers reside in file /usr/share/file/magic.

Unfortunately I don't know how to use autoconf but I hope that those paths can be resolved with help of it automatically and if not found, maybe then set to some default.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Thu 30 Mar 2006 12:05:23 AM UTCjheppOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1