VIRTINTERFACED(8)
πΈ VIRTINTERFACED(8) πΈ
okay so this is a page from the Virtualization Support manual, and we're about to get into virtinterfaced β the libvirt host network interface management daemon. buckle up bestie π
β¨ NAME β¨
virtinterfaced β the libvirt host network interface management daemon. yeah. that's the whole vibe. π
β¨ SYNOPSIS β¨
virtinterfaced [OPTION]...
β¨ DESCRIPTION β¨
so virtinterfaced is a server side daemon component of the libvirt virtualization management system. icon behavior honestly. π
it's one of a whole collection of modular daemons that replace the functionality that the old monolithic libvirtd daemon used to give you. like the group chat splitting into smaller, more focused group chats. slay.
this daemon runs on virtualization hosts and its whole job is providing management for host network interfaces. that's it, that's the assignment. π¦
the virtinterfaced daemon only listens for requests on a local Unix domain socket. remote access via TLS/TCP β plus backwards compatibility for legacy clients that are still expecting libvirtd β is provided by the virtproxyd daemon instead. so like, if you want in from outside, that's a different girl's department. π
restarting virtinterfaced does not interrupt running guests. guests keep operating, and changes in their state will generally be picked up automatically during startup. none the less (their spelling, not mine, but ok) it is recommended to avoid restarting with running guests whenever practical. lowkey just be polite about it. π
β¨ DAEMON STARTUP MODES β¨
the virtinterfaced daemon is capable of starting in two modes. two moods. two aesthetics. π
π Socket activation mode
on hosts with systemd it is started in socket activation mode, and it will rely on systemd to create and listen on the UNIX sockets and pass them as pre-opened file descriptors. in this mode most of the socket related config options in /etc/libvirt/virtinterfaced.conf will no longer have any effect. yes bestie, those settings are just... not doing anything. it's giving decorative. π
π Traditional service mode
on hosts without systemd, it will create and listen on UNIX sockets itself. self-sufficient queen. periodt. π₯
β¨ OPTIONS β¨
-h,--helpβ display command line help usage then exit. a little peek at the menu π«Ά-d,--daemonβ run as a daemon & write PID file.-f,--configFILE β use this configuration file, overriding the default value.-p,--pid-fileFILE β use this name for the PID file, overriding the default value.-t,--timeoutSECONDS β exit after timeout period (in seconds), provided there are no client connections. like leaving the party when nobody's dancing π-v,--verboseβ enable output of verbose messages. she's chatty now π¬--versionβ display version information then exit.
β¨ SIGNALS β¨
on receipt of SIGHUP, virtinterfaced will reload its configuration. that's it. that's the signal. a little refresh, a little self-care. β
β¨ FILES β¨
π When run as root
/etc/libvirt/virtinterfaced.conf- The default configuration file used by
virtinterfaced, unless overridden on the command line using the-f|--configoption.
- The default configuration file used by
/run/libvirt/virtinterfaced-sock/run/libvirt/virtinterfaced-sock-ro/run/libvirt/virtinterfaced-admin-sock- The sockets
virtinterfacedwill use.
- The sockets
- The TLS Server private key
virtinterfacedwill use.
ngl the original page lists that TLS line here with no file path attached to it β not me fixing it, just preserving the lore exactly as written, iykyk π
/run/virtinterfaced.pid- The PID file to use, unless overridden by the
-p|--pid-fileoption.
- The PID file to use, unless overridden by the
π When run as non-root
$XDG_CONFIG_HOME/libvirt/virtinterfaced.conf- The default configuration file used by
virtinterfaced, unless overridden on the command line using the-f|--configoption.
- The default configuration file used by
$XDG_RUNTIME_DIR/libvirt/virtinterfaced-sock$XDG_RUNTIME_DIR/libvirt/virtinterfaced-admin-sock- The sockets
virtinterfacedwill use.
- The sockets
$XDG_RUNTIME_DIR/libvirt/virtinterfaced.pid- The PID file to use, unless overridden by the
-p|--pid-fileoption.
- The PID file to use, unless overridden by the
if $XDG_CONFIG_HOME is not set in your environment, virtinterfaced will use $HOME/.config π
if $XDG_RUNTIME_DIR is not set in your environment, virtinterfaced will use $HOME/.cache π§
β¨ EXAMPLES β¨
to retrieve the version of virtinterfaced:
# virtinterfaced --version
virtinterfaced (libvirt) 12.8.0
to start virtinterfaced, instructing it to daemonize and create a PID file:
# virtinterfaced -d
# ls -la /run/virtinterfaced.pid
-rw-r--r-- 1 root root 6 Jul 9 02:40 /run/virtinterfaced.pid
see? the PID file is literally right there. ate. π₯
β¨ BUGS β¨
please report all bugs you discover. π this should be done via either:
- the mailing list
https://libvirt.org/contact.html
- the bug tracker
https://libvirt.org/bugs.html
alternatively, you may report bugs to your software distributor / vendor. we're not gonna gatekeep where you vent. π«Ά
β¨ AUTHORS β¨
please refer to the AUTHORS file distributed with libvirt. π
β¨ COPYRIGHT β¨
Copyright (C) 2006-2020 Red Hat, Inc., and the authors listed in the libvirt AUTHORS file.
β¨ LICENSE β¨
virtinterfaced is distributed under the terms of the GNU LGPL v2.1+. this is free software; see the source for copying conditions. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, zero. none. don't come for her. π
β¨ SEE ALSO β¨
virsh(1), libvirtd(8), https://libvirt.org/daemons.html
and that's the whole page, bestie πΈ this lil icon comes to you from the VIRTINTERFACED(8) page in the Virtualization Support manual β version vibes courtesy of the libvirt fam, dated in the classic terse manpage way. mwah, go manage some interfaces. ππβ¨
π¦ where this page comes from
- centos-stream 10: libvirt-daemon-driver-interface 12.8.0-1.el10 Β· GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OFL-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms