vzeventd(8)

πŸ“¦ version 4.9.4, in ubuntu jammy

✨ vzeventd β€” the OpenVZ events daemon ✨

okay so bestie, welcome to vzeventd(8) from the Containers section πŸ’… this is the little daemon that just gets things done whenever the OpenVZ kernel has something to say. she's giving backstage crew energy β€” you never see her, but the whole show falls apart without her πŸŽ€


🌸 SYNOPSIS 🌸

vzeventd [-v] [-d]

vzeventd -h

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically, this daemon is the designated listener πŸ‘‚ she takes care of events sent over by the OpenVZ kernel (via a netlink socket, iykyk) and then does the required actions for those events by running specific scripts. Every single event she receives comes with two things: an event name and a container ID. that's it, that's the whole message 🫢

For every known event, the event script

/usr/lib/vzctl/vzctl/scripts/vzevent-event_name

gets executed, and the container ID is passed into that script as the VEID environment variable. Periodt. πŸ’–

  • Event scripts that don't exist? ignored. not her problem πŸ™ˆ
  • Unknown events? also ignored β€” but logged, because she's not gonna let that slide silently πŸ‘‘

The following events are recognized:

  • start
  • stop
  • mount
  • umount
  • reboot

and the following event scripts are provided, bestie:

  • vzevent-stop β€” takes care of removing ARP and routing records for the given CT from CT0. cleaning up the receipts, literally ✨
  • vzevent-reboot β€” takes care of rebooting a given CT. the main character move πŸ”₯

πŸ’… OPTIONS πŸ’…

  • -v β€” increase verbosity. and yes, you can use it multiple times β€” stack it like jewelry, go off πŸ’–
  • -d β€” debug mode. she does not daemonize, she runs in the foreground so you can watch her work. very voyeuristic of you πŸ“
  • -h β€” display help and exit. the classic "just tell me what you do" button 🌸

⭐ EXIT STATUS ⭐

Returns 0 upon success. that's it. she succeeded. slay πŸ’…βœ¨


πŸ“œ LICENSE πŸ“œ

Copyright (C) 2010-2015, Parallels, Inc. Licensed under GNU GPL. legal queen πŸ‘‘


πŸŽ€ AUTHOR πŸŽ€

This manual page was initially written by Thorsten Schifferdecker <tsd@debian.systs.org> for the Debian GNU/Linux system (but may be used by others). we stan a humble legend 🫢


okay that's the whole page, no cap πŸ’œ this was OpenVZ's vzeventd(8) page, dated 7 Apr 2015 β€” shoutout to the OpenVZ crew, and ily for reading all the way to the bottom bestie, you ate that fr fr πŸŒˆπŸ’–βœ¨

πŸ“¦ where this page comes from