Package_daemon entry in syslog -- x86_64, Nightly

Ahoy,

So, it’s Haiku x86_64 Nightly

Could someone answer me …

… why package_daemon reports nonsensical things in syslog ?

First - in last year - it complained that there’s no activated_packages file under my /boot/home/config/packages directory.

So first I copied the file, but I thought it better to create a link, then I don’t have to sync them.

Since then the following messages appeared in syslog :

2026-06-15 01:13:51 KERN: package_daemon: [30616333:    92] Package "libgpg_error-1.55-1-x86_64.hpkg" from activation file not in packages directory.

   user  ~    14:06    ls -ld /boot/system/packages
drwxr-xr-x 1 user root 100352 jún.   12 01:20 /boot/system/packages
   user  ~    14:11    ls -ld /boot/home/config/packages
drwxr-xr-x 1 user root 2048 márc.   9  2024 /boot/home/config/packages
   user  ~    14:12    ls -ld /boot/system/packages/adm
admesh-0.98.5-2-x86_64.hpkg  administrative/              
   user  ~    14:12    ls -ld /boot/system/packages/administrative/
drwxr-xr-x 1 user root 46080 jún.   12 01:20 /boot/system/packages/administrative/
   user  ~    14:12    ls -ld /boot/home/config/packages/administrative/
drwxr-xr-x 1 user root 2048 márc.  17 03:00 /boot/home/config/packages/administrative/
   user  ~    14:13    ls -l /boot/system/packages/administrative/activated-packages 
-rw-r--r-- 1 user root 44947 jún.   12 01:20 /boot/system/packages/administrative/activated-packages
   user  ~    14:13    ls -l /boot/home/config/packages/administrative/activated-packages 
lrwxrwxrwx 1 user root 55 márc.  17 03:00 /boot/home/config/packages/administrative/activated-packages -> /boot/system/packages/administrative/activated-packages
   user  ~    14:14    


   user  ~    14:16    grep libgpg /boot/system/packages/administrative/activated-packages
libgpg_error-1.55-1-x86_64.hpkg
   user  ~    14:16    ls -l /boot/system/packages/libgpg_error-1.55-1-x86_64.hpkg
-rw-r--r-- 1 user root 127858 aug.   20  2025 /boot/system/packages/libgpg_error-1.55-1-x86_64.hpkg
   user  ~    14:18    

As you can see :

- → the file exists there,
→ the file names in the file and directory are identical and matches.

What can cause this false syslog entry ?
Am I wrong here - somehow ?

That’s reporting (and not nonsensical, just info), not complaining.

You copied and then linked which file? Given your questions here, I guess you didn’t know what the package_daemon expects, much less what the file there should contain. I also don’t I’d say a user is not expected to know that, but if that’s the case, your action is calling for more problems, not for solutions.

Not that there was anything to fix in the first place. As far as I know, lack of an activated_packages file just means all the packages found in the directory are activated.

I think I see what you did. So you basically are telling the daemon that the list of packages to activate from your home package volume is the same as the one from your system package volume. Is libgpg_error-1.55-1-x86_64.hpkg really the only package for which you get that error? I would expect a long list, as well as stuff you have in /boot/home/config/packages not working.

I’m not an expert, let’s wait for an authority on the subject, but unless you have that package in your home packages dir it doesn’t look false to me.

Ok, so I partly understood.

This way the first “error” message was just a record as package_daemon does not find an activated_packages file in the syslog : ment only there’s no such file. It is primarily logical as I had no custom or any separatedly placed HPKG package files there.

That way it was rather just an info in syslog file, but an error report.

If I remove the link, then I just get back this info entry in the syslog - happening at boot when package_daemon launched.

Thank you for your reply -