Mailinglist Archive: opensuse-factory (579 mails)

< Previous Next >
Re: [opensuse-factory] deleting rpms with yast
  • From: Pascal Bleser <pascal.bleser@xxxxxxxxx>
  • Date: Tue, 11 Apr 2006 15:04:43 +0200
  • Message-id: <443BA96B.8090508@xxxxxxxxx>
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.

- --
-o) Pascal Bleser
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
Version: GnuPG v1.4.2 (GNU/Linux)


< Previous Next >