[haiku-bugs] Re: [Haiku] #10819: [package_daemon] goes into infinite loop calling PackageFileManager::GetPackageFile()

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sun, 11 May 2014 10:28:37 -0000

#10819: [package_daemon] goes into infinite loop calling
PackageFileManager::GetPackageFile()
--------------------------------------+----------------------------
   Reporter:  ttcoder                 |      Owner:  bonefish
       Type:  bug                     |     Status:  closed
   Priority:  normal                  |  Milestone:  R1
  Component:  Servers/package_daemon  |    Version:  R1/Development
 Resolution:  fixed                   |   Keywords:
 Blocked By:                          |   Blocking:
Has a Patch:  0                       |   Platform:  All
--------------------------------------+----------------------------

Comment (by bonefish):

 Replying to [comment:5 ttcoder]:
 > Side-notes: in order to get that hrev I used `pkgman update` on the
 "core" depot as outlined in #10278 and it worked like a charm (awesome
 work, Ingo, Oliver et al!). Then I rebooted and found myself in 47215
 indeed.. But package_daemon was no longer "live": moving packages in and
 out of home/config/packages no longer resulted in the corresponding
 application appearing and disappearing.. Maybe it was confused between the
 "use now" and the "use after reboot" state introduced recently?

 Come to think of it, there's isn't any connection between the system and
 home packagefs volumes with respect to when either switches to the non-
 live mode. I've created #10827 to track that issue.

 In fact it also means that ATM home should always be live, since you
 generally won't install/uninstall a system package there. If you happen to
 run into the issue again, please file a new ticket. Since every change
 will be tracked by an old state directory it should be fairly simple to
 see what you installed uninstalled.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10819#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: