Public bug reported:
OS: Ubuntu Natty (Ubuntu 11.04) 32+64 Bit
Affected versions: 1:2.9.16-7.1ubuntu2 1:2.9.23-3ubuntu1 perhaps some others.
When rebooting or shutdown a system with nbd-client active, then the clients
doesn't close the connection properly to the server -> postrun can not be used.
Server-log shows entries like this: "Read failed: Inappropriate ioctl for
device", "Child exited with 1".
By manual disconnect the share (nbd-client -d share) there is no problem.
The problem is, that in /etc/rc0.d and /etc/rc6.d are faulty links:
"S34nbd-client -> ../init.d/nbd-client".
The correct links should look like this: "K59nbd-client ->
../init.d/nbd-client".
The solution is very easy:
"update-rc.d -f nbd-client remove"
"update-rc.d nbd-client start 41 S . stop 59 0 6 ."
The package-maintainer should correct it.
** Affects: nbd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/822304
Title:
nbd-client doesn't stop on reboot or halt
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nbd/+bug/822304/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs