Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 21:47:08 -0500
From:      Brandon Schneider <brandon.schneider@icloud.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to have jails checked for out of date applications.
Message-ID:  <5418F62C.4090707@icloud.com>
In-Reply-To: <alpine.BSF.2.11.1409161944550.62193@wonkity.com>
References:  <5418BD41.4020602@icloud.com> <alpine.BSF.2.11.1409161944550.62193@wonkity.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Thanks, I actually found out that pkg -j JAILID or JAILNAME then version 
-vIL]= works as well!

On 9/16/2014 8:50 PM, Warren Block wrote:
> 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.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?5418F62C.4090707>