From owner-freebsd-chat@FreeBSD.ORG Wed Mar 16 13:57:39 2011 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1C3B1065678 for ; Wed, 16 Mar 2011 13:57:39 +0000 (UTC) (envelope-from jamie@geniegate.com) Received: from geniegate.com (geniegate.com [65.18.174.84]) by mx1.freebsd.org (Postfix) with ESMTP id 843F08FC13 for ; Wed, 16 Mar 2011 13:57:39 +0000 (UTC) Received: from geniegate.com (geniegate.com [65.18.174.84]) by geniegate.com (8.14.2/8.14.2) with ESMTP id p2GDbDbd095998 for ; Wed, 16 Mar 2011 13:37:13 GMT (envelope-from jamie@geniegate.com) Received: from localhost (localhost [[UNIX: localhost]]) by geniegate.com (8.14.2/8.14.2/Submit) id p2GDbDNa095997 for freebsd-chat@freebsd.org; Wed, 16 Mar 2011 13:37:13 GMT (envelope-from jamie@geniegate.com) X-Authentication-Warning: geniegate.com: joe set sender to jamie@geniegate.com using -f Date: Wed, 16 Mar 2011 08:31:54 -0500 From: Jamie To: freebsd-chat@freebsd.org Message-ID: <20110316133154.GE2565@apollo.podro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Odd cron errors X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 13:57:39 -0000 I'm running cron in a jail, and I see these errors filling up crons logfile It *appears* to be coming from atrun, wanting to set up priority from /etc/login.conf if (setusercontext(NULL, pentry, uid, LOGIN_SETALL & ~(LOGIN_SETPRIORITY | LOGIN_SETPATH | LOGIN_SETENV)) != 0) exit(EXIT_FAILURE); /* setusercontext() logged the error */ I actually very much do NOT want atrun to be tinkering with the priority (as I'd like to have it run in the idle task eventually) Is there a way, short of recompiling, that I can convince atrun not to do this? Jamie 18:10:00 web cron[]: setpriority 'root' (daemon): Permission denied 18:11:00 web /usr/sbin/cron[]: (operator) CMD (/usr/libexec/save-entropy) 18:11:00 web cron[]: setpriority 'operator' (daemon): Permission denied 18:15:00 web /usr/sbin/cron[]: (root) CMD (/usr/libexec/atrun) 18:15:00 web cron[]: setpriority 'root' (daemon): Permission denied -- http://www.geniegate.com Custom web programming Perl * Java * UNIX User Management Solutions