Skip to content

Conversation

@dschwartz783
Copy link

Added to keep service running in background, so that nvme can be disconnected at shutdown.

Currently, at least on Ubuntu, a variety of services hang due to the nvme device files being tied to active connections, which no longer work once the network has been brought down. This fixes that. Connections will be terminated before passing network-online.target.

Added to keep service running in background, so that nvme can be disconnected at shutdown
@tbzatek
Copy link
Contributor

tbzatek commented Jan 19, 2026

Well this needs to exclude connections that provide the system itself, e.g. access to rootfs, /boot, /usr (if separate), /var etc. Including any connection done within initramfs. And not only that, for NBFT connections additional device paths may have been connected during the system runtime and the original device paths may get disconnected.

If the application strings / context would exclude such connections from disconnect-all, we'd need to consistently mark all such connections. Similar to excluding network interfaces being torn down if they provide access to rootfs connections.

@tbzatek
Copy link
Contributor

tbzatek commented Jan 19, 2026

See also #2913

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.

2 participants