Date: Sat, 20 Jul 2013 18:34:43 +0200 From: Michael Grimm <trashcan@odo.in-berlin.de> To: freebsd-questions@freebsd.org Subject: Re: HOWTO monitor changes in installed packages within jails? Message-ID: <FC023A05-0D76-4603-A2F4-CE8897BC4676@odo.in-berlin.de> In-Reply-To: <51EA8855.7070109@infracaninophile.co.uk> References: <DB2E1C6E-E44B-4ED9-BD3D-5ED9BEBF1357@odo.in-berlin.de> <51EA8855.7070109@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 20.07.2013, at 14:53, Matthew Seaman = <m.seaman@infracaninophile.co.uk> wrote: > On 20/07/2013 12:09, Michael Grimm wrote: >> I did migrate to pkgng some month ago, and ever since I am curious >> how to monitor changes in installed packages within jails. I am >> looking for a functionality/port that works like 490.status- >> pkg-changes for my host. >>=20 >> Question: is there any functionality within the periodic system or a >> port that I might have missed to find? >=20 > You can't just run 490.status-pkg-changes directly in your jail? Yes, I can ;-)=20 But! I do have a lot of service jails running at my host, thus I would = like to omit modifying every jail's /etc/periodic.conf adding: | daily_status_pkg_changes_enable=3D"YES" # Show package changes | pkg_info=3D"pkg info" # Use this program > Try this patch: Thanks for that approach, namely adding "pkg -j jailname info" for every = jail running. Due to my amount of jails I might need to add some looping = over "jls -N" output instead of adding a lot of = $daily_status_pkg_changes_flags. I was hoping that I could omit programming that functionality myself, = but I might need to do so. Thanks for your input and with kind regards, Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FC023A05-0D76-4603-A2F4-CE8897BC4676>