From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 23:59:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EAABDFFD for ; Tue, 16 Sep 2014 23:59:37 +0000 (UTC) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0116.outbound.protection.outlook.com [207.46.100.116]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE2A7FB0 for ; Tue, 16 Sep 2014 23:59:36 +0000 (UTC) Received: from [IPv6:2601:2:4780:2fd:29ad:4147:aab1:2005] (2601:2:4780:2fd:29ad:4147:aab1:2005) by CY1PR0301MB0844.namprd03.prod.outlook.com (25.160.163.150) with Microsoft SMTP Server (TLS) id 15.0.1029.13; Tue, 16 Sep 2014 23:59:29 +0000 Message-ID: <5418CEDB.1000001@my.hennepintech.edu> Date: Tue, 16 Sep 2014 18:59:23 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Subject: Re: How to have jails checked for out of date applications. References: <5418BD41.4020602@icloud.com> In-Reply-To: <5418BD41.4020602@icloud.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [2601:2:4780:2fd:29ad:4147:aab1:2005] X-ClientProxiedBy: BN3PR0301CA0062.namprd03.prod.outlook.com (25.160.152.158) To CY1PR0301MB0844.namprd03.prod.outlook.com (25.160.163.150) X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 03361FCC43 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(53754006)(24454002)(189002)(199003)(110136001)(97736003)(20776003)(59896002)(50986999)(107886001)(42186005)(85306004)(76176999)(65816999)(85852003)(87976001)(92726001)(47776003)(83072002)(105586002)(54356999)(88552001)(33656002)(31966008)(86362001)(2351001)(102836001)(87266999)(77982003)(64126003)(107046002)(106356001)(95666004)(74662003)(83322001)(23676002)(90102001)(65806001)(79102003)(21056001)(92566001)(77096002)(81542003)(46102003)(75432002)(64706001)(83506001)(80316001)(89122001)(4396001)(76482002)(50466002)(74502003)(101416001)(81342003)(99396002)(80022003)(89472002)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB0844; H:[IPv6:2601:2:4780:2fd:29ad:4147:aab1:2005]; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:0; LANG:en; X-OriginatorOrg: my.hennepintech.edu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 23:59:38 -0000 On 2014.09.16 17:44, 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. Jails are their own userlands, so you would check them as you would the host, but from within their environment. If you set up Poudriere, you can have your own repo that you update as you see fit, compile with the options you want, and simply have the jails install everything from it, automatically updating in a cron job. This is especially useful if you have many jails (or many other real machines) and not terribly difficult or complicated if they can all use the same packages (i.e., you don't need different versions of the same package for different jails).