Your message dated Mon, 23 Jan 2017 19:04:56 +0100
with message-id <[email protected]>
and subject line Re: Bug#852334: nbd-client.service is masked, how to start
nbd-client on boot?
has caused the Debian Bug report #852334,
regarding nbd-client.service is masked, how to start nbd-client on boot?
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
852334: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852334
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nbd-client
Version: 1:3.15.1-2
Severity: normal
Dear Maintainer,
in debian-lan we use nbd for diskless clients to use swap space from a
server. Somehow on the way to stretch, the setup of nbd swap changed
and now I have problems getting it to work again.
I had some success so far on starting nbd-client from the command
line. However, I failed enabling the service with:
systemctl enable nbd-client
The command reports that the service is masked, and indeed, the
service file is a link to '/dev/null':
'/lib/systemd/system/nbd-client.service -> /dev/null'
Is this intended and if yes, how can I enable the service?
Thanks and best regards,
Andi
--- End Message ---
--- Begin Message ---
On Mon, Jan 23, 2017 at 05:50:45PM +0100, Andreas B. Mundt wrote:
> systemctl enable nbd-client
>
> The command reports that the service is masked, and indeed, the
> service file is a link to '/dev/null':
> '/lib/systemd/system/nbd-client.service -> /dev/null'
>
> Is this intended
Yes. For the full story behind this, see #796633.
> and if yes, how can I enable the service?
First, ensure an entry for your wanted export exists in /etc/nbdtab
(e.g., nbd0). See "man 5 nbdtab" if you need to know how to create it.
Then, do
systemctl enable nbd@nbd0
to enable the device. Repeat for every device you wish to enable at boot
time.
--
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
people in the world who think they really understand all of its rules,
and pretty much all of them are just lying to themselves too.
-- #debian-devel, OFTC, 2016-02-12
--- End Message ---