From owner-freebsd-rc@FreeBSD.ORG Tue May 18 17:20:04 2010 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BADD1065675 for ; Tue, 18 May 2010 17:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8AAC38FC1C for ; Tue, 18 May 2010 17:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4IHK4WK000952 for ; Tue, 18 May 2010 17:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4IHK4me000951; Tue, 18 May 2010 17:20:04 GMT (envelope-from gnats) Date: Tue, 18 May 2010 17:20:04 GMT Message-Id: <201005181720.o4IHK4me000951@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Miroslav Lachman <000.fbsd@quip.cz> Cc: Subject: Re: conf/124248: [jail] [patch] add support for nice value for rc.d/jail + rc.conf X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Miroslav Lachman <000.fbsd@quip.cz> List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 17:20:04 -0000 The following reply was made to PR conf/124248; it has been noted by GNATS. From: Miroslav Lachman <000.fbsd@quip.cz> To: Charles Sprickman Cc: bug-followup@FreeBSD.org Subject: Re: conf/124248: [jail] [patch] add support for nice value for rc.d/jail + rc.conf Date: Tue, 18 May 2010 19:12:10 +0200 Charles Sprickman wrote: > Just a quick note... With a bit of rearranging, this patch still > applies to 8.0-RELEASE. > > It seems to function, but inside the jail, syslog is reporting some > errors when "niceness" is enabled in the jail: > > May 18 06:29:42 hdp1 syslogd: kernel boot file is /boot/kernel/kernel > May 18 06:30:00 hdp1 cron[55855]: setpriority 'root' (daemon): > Permission denied > May 18 06:30:03 hdp1 sshd[55875]: setpriority 'spork' (default): > Permission denied > May 18 06:30:31 hdp1 su: setpriority 'root' (root): Permission denied > May 18 06:30:31 hdp1 su: spork to root on /dev/pts/4 > May 18 06:30:39 hdp1 su: setpriority 'hadoop' (default): Permission denied > May 18 06:30:41 hdp1 sshd[55977]: setpriority 'hadoop' (default): > Permission denied > May 18 06:30:43 hdp1 sshd[56044]: setpriority 'hadoop' (default): > Permission denied > May 18 06:30:47 hdp1 sshd[56164]: setpriority 'hadoop' (default): > Permission denied > May 18 06:33:00 hdp1 cron[56294]: setpriority 'operator' (daemon): > Permission denied Hmm, it's strange. I don't had this problem on 7.0. I am not using it on production servers, but I may check it on test server with 7.2 if it has the same problem. Miroslav Lachman