Bug#620091: [guymager] Insufficient dependencies
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
> 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
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 10009006: ERROR_THREADSCAN_LIBPARTED_NOTWORKING
* 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
$ apt-file search libparted.so
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).",
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).
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.
More information about the forensics-devel