[Pkg-libvirt-discuss] Trying to use libvirt_guest module
john doe
johndoe65534 at mail.com
Thu Apr 2 15:37:28 BST 2020
On 4/2/2020 2:09 PM, Guido Günther wrote:
> Hi,
> On Sun, Mar 29, 2020 at 05:36:13PM +0200, john doe wrote:
>> Hi,
>>
>> I'm trying to use the nss module following the recommendation at (1) and
>> (2).
>>
>> $ grep hosts: /etc/ns*
>> hosts: libvirt_guest
>> $virsh list --all
>> Id Name State
>> -----------------------
>> 26 try06 running
>> $ getent hosts try06; echo $?
>> 2
>>
>>
>> If my understanding is correct, nss should do what I want but it is not
>> for some reasons?
>>
>> Any help is appriciated.
>>
>> This on Debian Buster (10).
>>
>> The URL (2) is my thread on this where I picked up the idea of using
>> nss.
>
> The libnss-libvirt package in Buset only ships the `libvirt` not the
> `libvirt_guest` nss module. The one in testing/sid also ships
> libvirt_guest.
Thank you for your answer.
Even on Bullseye, I'm not able to get this module to work:
getent hosts try06
Fails with error 2.
/etc/nsswitch.conf
host: libvirt_guest
What am I missing?
--
John Doe
More information about the Pkg-libvirt-discuss
mailing list