From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 16:34:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B77FA948 for ; Sat, 20 Jul 2013 16:34:45 +0000 (UTC) (envelope-from trashcan@odo.in-berlin.de) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [91.121.60.26]) by mx1.freebsd.org (Postfix) with ESMTP id 859C9ACB for ; Sat, 20 Jul 2013 16:34:45 +0000 (UTC) Received: from sulu.fritz.box (p3EE2F8CF.dip0.t-ipconnect.de [62.226.248.207]) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 3byF6X3368zLQX for ; Sat, 20 Jul 2013 18:34:44 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: HOWTO monitor changes in installed packages within jails? From: Michael Grimm In-Reply-To: <51EA8855.7070109@infracaninophile.co.uk> Date: Sat, 20 Jul 2013 18:34:43 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <51EA8855.7070109@infracaninophile.co.uk> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1508) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 16:34:45 -0000 On 20.07.2013, at 14:53, Matthew Seaman = 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