-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This is an issue and not a support question which should be asked at https://forum.greenbone.net/?
- This is an issue and not a support question
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When running greenbone-feed-sync on Raspberry Pi OS (Bullseye or Bookworm) as user gvm, the sync fails with a lockfile permission error – even though all ownerships and permissions on /var/lib/openvas are correct.
The error appears reproducibly on multiple fresh systems.
Example output:
❌ Error: Permission error while trying to open the lock file /var/lib/openvas/feed-update.lock
Expected Behavior
The tool should acquire and release the lockfile without error if the user has the correct ownership and permissions, and then proceed to sync all feeds without interruption.
Steps To Reproduce
- Install Raspberry Pi OS (Bullseye or Bookworm) on a Raspberry Pi 4
- Create user
gvm:sudo adduser --disabled-password --gecos "" gvm sudo usermod -aG redis gvm - Ensure directories and ownerships:
sudo chown -R gvm:gvm /var/lib/openvas
- Install greenbone-feed-sync using pip:
sudo -iu gvm pip install --user greenbone-feed-sync==25.1.0 --break-system-packages
- Run feed sync:
greenbone-feed-sync -vvv- Result: Sync starts, but then fails with:
❌ Error: Permission error while trying to open the lock file /var/lib/openvas/feed-update.lock
### Operating System
Raspberry Pi OS Bookworm (64-bit) - Kernel: Linux 6.1.x
### Version
Tested versions:
✅ greenbone-feed-sync 23.10.0 → works
❌ 24.1.1 → fails
❌ 25.1.0 → fails
Installed via pip (also tested pipx)
### Anything else?
We are using Raspberry Pi devices as scanner nodes in a distributed setup and need reliable automation. This issue blocks automated deployments.
We created a detailed installation and debugging documentation that confirms:
- All file permissions were correct (`gvm:gvm`)
- No SELinux or AppArmor active
- strace confirms file is opened, but error still occurs
- Downgrade to 23.10.0 resolves the issue
We’d be happy to provide logs, strace outputs, and our install script upon request.
Thanks for your great work!Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working