Skip to content

Use simple type and -nofork in nbd@ systemd service - #200

Open
candrews wants to merge 1 commit into
NetworkBlockDevice:masterfrom
candrews:patch-2
Open

Use simple type and -nofork in nbd@ systemd service#200
candrews wants to merge 1 commit into
NetworkBlockDevice:masterfrom
candrews:patch-2

Conversation

@candrews

@candrews candrews commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

As of eac55e0, when persist mode is active, nbd-client doesn't exit.

By changing the systemd service to simple type and passing nofork to nbd-client , behavior is consistent between persist and non-persist, allowing the service to work as expected for both configurations.

As of eac55e0, when persist mode is active, `nbd-client` doesn't exit.

By changing the systemd service to simple type and passing `nofork` to `nbd-client` , behavior is consistent between persist and non-persist, allowing the service to work as expected for both configurations.
@candrews

candrews commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

@yeo should nbd@.service.sh.in or nbd@.service.tmpl be updated?

And can we delete the one that's not used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant