Bug#620091: [guymager] Insufficient dependencies

Petr Gajdůšek gajdusek.petr at centrum.cz
Wed Mar 30 14:34:25 UTC 2011

Dne 30.3.2011 10:45, Michael Prokop napsal(a):
> * Petr Gajdůšek [Wed Mar 30, 2011 at 01:25:55AM +0200]:
>> guymager cannot be started without hal or libparted0-dev installed.
>> See /var/log/guimager.log attached.
>> There might be another bug, because I have libparted0debian1 installed,
>> but guymager seems to need libparted.so that is provided only by
>> libparted0-dev.
> Are you using the default /etc/guymager/guymager.cfg?


> Does it work for you if you're using:
> DeviceScanMethod      = libparted

My guymager does not understand this: Invalid keyword DeviceScanMethod

> and drop a present "ScanUsingDbusHal"?

If I set ScanUsingDbusHal = 0, it crashes the same way but it tries to 
use libparted as first and than DBus/HAL as second. Both methods fail 
again (but in reverse order).

Please see the log I attached to my first post. IMHO it is all about the 
fact that guymager is unable to use DBus/HAL (because hal is not installed):

	* HAL not registered
	* DBus/HAL not accessible, asking user if he wants to switch
	to libparted...

then falls back to libparted but cannot use it either:

	* User switches to libparted
	* Thread Scan started
	* libparted.so cannot be found (libparted.so: cannot open shared
	  object file: No such file or directory).
	* Error - Exiting GUYMAGER with code 1

The HAL scan backend works if I install the "hal" package.
The libparted scan backend works only if I instal the libparted0-dev, 
which is strange because I have already libparted0debian1 installed.
Guymager seems to need exactly libparted.so which is only in libparted0-dev:

$ dpkg -S libparted.so
libparted0debian1: /lib/libparted.so.0.0.1
libparted0debian1: /lib/libparted.so.0

$ apt-file search libparted.so
libparted0-dev: /usr/lib/libparted.so
libparted0debian1: /lib/libparted.so.0
libparted0debian1: /lib/libparted.so.0.0.1

Maybe here is the problem:
~/guymager-0.4.2$ grep -rnw LIBPARTED .
./threadscan.cpp:32:#define   LIBPARTED  "libparted.so"
./threadscan.cpp:107:   pOwn->pLibPartedHandle = dlopen (LIBPARTED, 
./threadscan.cpp:110:      LOG_INFO ("%s cannot be found (%s).", 
LIBPARTED, dlerror());

IMHO, guymager should depend on hal or libparted0-dev (but preferably on 
libparted virtual package that is provided by libparted0debian1 - but 
than threadscan.cpp must be fixed too).

Cheers, Petr

PS: Probably there will be problem with hal depedency in the future as 
it is deprecated now.

> Are you running it as root or as non-root user?

The same crash in both cases.

Cheers, Petr.

S pozdravem,
Petr Gajdůšek

More information about the forensics-devel mailing list