Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 19:50:04 -0600 (MDT)
From:      Warren Block <>
To:        Brandon Schneider <>
Subject:   Re: How to have jails checked for out of date applications.
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 16 Sep 2014, Brandon Schneider wrote:

> Hello everyone, a FreeBSD newbie here. I have my server set up with 8 jails 
> or so, and I have been trying to figure out how to get an email when there 
> are out of date applications installed in a jail. I currently have jailaudit 
> installed, but it seems like "pkg version -vIL\= would serve the purpose on 
> the host, but I'm not sure. I'm sure this is a common question, but I cannot 
> seem to find an answer on Google. The jails are a mix of packages and ports 
> if that makes much difference. I also use portmaster for the ports.

That will not work as-is.  It will only look at the host's package 
database.  To check the jails, see the pkg-version(8) man page about the 
PKG_DBDIR environment variable.  Set that to the jail's package database 
directory, like /usr/jails/myjail/var/db/pkg, and then pkg-version will 
check the jail's packages.

Want to link to this message? Use this URL: <>