Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • lava lava
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 90
    • Issues 90
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • lava
  • lavalava
  • Issues
  • #585

Closed
Open
Created Jan 23, 2023 by Corentin Labbe@montjoieContributor

NBD image become ro by default on debian workers

NBD jobs works fine on my gentoo worker. But on debian it is impossible to mount them on DUT rw. This is due to debian having /etc/nbd-server/config which lead to nbd-server running as nbd. And so the nbd-server cannot write the local image owned by root.

There are multiple solution:

  1. Let worker admin change this file to "user = root"
  2. LAVA could chown image to nbd
  3. LAVA could chown image to a specific value via an option

2 and 3 are the better choice. I will came with a PR for 2 at least. But comment are welcome.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking