Subject: Re: [vserver] Strange guest message: "Device and target are missing"
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Tue, 15 Mar 2011 20:18:20 +0100 (CET)

Jarry wrote:
> Hi, I have following problem:
>
> I want to give vserver-guest (running gentoo) ability to create
> certain device-file. So I did (in host):
>
> # mkdir -p /etc/vservers/vs6-guest/apps/vdevmap/null

You might want to check the great flower page, and
vdevmap --help. vdevmap's arguments map basically 1:1 with the
configuration directory.

> Then I started vs6-guest, without a problem. But when I try
> to stop vs6-guest, I get these messages:
>
> # vserver vs6-guest stop
>   * Stopping local ...                                  [ ok ]
>   * Saving random seed ...                              [ ok ]
>   * Stopping fcron ...                                  [ ok ]
>   * Stopping syslog-ng ...                              [ ok ]
>   * Terminating remaining processes ...                 [ ok ]
>   * Killing remaining processes ...                     [ ok ]
>   * Saving dependency cache ...                         [ ok ]
> Device and target are missing; try '--help' for more information
> #
>
> What does the last message mean? Even when I creat files:
>
> # touch /etc/vservers/vs6-guest/apps/vdevmap/null/create
> # touch /etc/vservers/vs6-guest/apps/vdevmap/null/open
>
> I still get the same message. It seems it is enough to create
> just /etc/vservers/vs6-guest/apps/vdevmap/null directory and
> I get this strange message druing vserver-guest shutdown.
> What could be the reason for this?
>
> Jarry

-- 
Daniel Hokka Zakrisson