-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christoph Thiel wrote:
On Tue, 11 Apr 2006, Juan Erbes wrote: [...]
The other detail, smart hangs if I do'nt kill the zmd daemon. This is a known "feature", as zmd tries to read the rpmdb as soon as it changes, which is indeed happening, when you install/update packages. Unfortunately there is no other fix than disabling zmd at the moment.
Although it rather seems that zmd is locking the RPM database
permanently, right ?
If it's using inotify (or some other similar mechanism, kinda getting
lost with this API in the kernel as it's changing with almost every
release) on the Berkeley hash files of the RPM database to get notified
instantly of changes, why does it have to lock the database ?
If would be sufficient to
- - lock
- - read
- - unlock
- - get back to inotify
Or am I missing something ?
If that was the case, smart wouldn't hang - or rather, smart would hang
until the RPM database is unlocked, then lock it, do its stuff, and
unlock the database.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\