Skip to content

nbd-server.service fails to start with default config #592

Description

@fmoessbauer

This service is auto-enabled when starting, but fails if the config is empty.
I guess this is a debian policy violation, as the service must not be enabled if it cannot start (which should be reported upstream).
For the meantime, I recommend to just disable the service and let mtda start/stop it on-demand.

As I'm not familiar with that component, can someone please check?

journalctl --boot -u nbd-server.service --no-hostname
Jun 09 07:51:40 systemd[1]: Starting nbd-server.service - Network Block Device server...
Jun 09 07:51:40 nbd-server[697]: Could not parse config file: The config file does not specify any exports
Jun 09 07:51:40 nbd-server[697]: No configured exports; quitting.
Jun 09 07:51:40 systemd[1]: nbd-server.service: Control process exited, code=exited, status=1/FAILURE
Jun 09 07:51:40 systemd[1]: nbd-server.service: Failed with result 'exit-code'.
Jun 09 07:51:40 systemd[1]: Failed to start nbd-server.service - Network Block Device server.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions