-----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/
  /\\ <[EMAIL PROTECTED]>       <[EMAIL PROTECTED]>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEO6lrr3NMWliFcXcRAp+fAKCC853FTOON3+slpgO8Rd5GDrbrWQCaAklt
5WkB0JVivtWFpXiAD3AAIq8=
=oACK
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to