conf/124248: [jail] [patch] add support for nice value for rc.d/jail + rc.conf

Miroslav Lachman 000.fbsd at quip.cz
Tue May 18 17:20:04 UTC 2010


The following reply was made to PR conf/124248; it has been noted by GNATS.

From: Miroslav Lachman <000.fbsd at quip.cz>
To: Charles Sprickman <spork at bway.net>
Cc: bug-followup at 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


More information about the freebsd-rc mailing list