Date: Fri, 30 May 2003 13:52:53 +0400 From: "Denis N. Peplin" <info@volginfo.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/52807: rc.subr incompatible with FreeBSD chroot Message-ID: <200305301352.53262.info@volginfo.ru> Resent-Message-ID: <200305301000.h4UA0XVw019968@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52807 >Category: misc >Synopsis: rc.subr incompatible with FreeBSD chroot >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 30 03:00:32 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Denis N. Peplin <info@volginfo.ru> >Release: FreeBSD 5.0-RELEASE i386 >Organization: >Environment: System: FreeBSD exp 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Tue Jan 28 15:14:21 GMT 2003 root@:/usr/obj/usr/src/sys/GENERIC i386 >Description: NetBSD man chroot(8): SYNOPSIS chroot [-u user] [-g group] [-G group,group,...] newroot [command] FreeBSD man chroot(8): SYNOPSIS chroot newroot [command] FreeBSD man rc.subr(8): ${name}_user User to run command as, using chroot(8). if ${name}_chroot is set, otherwise uses su(1). Only supported after /usr is mounted. ${name}_group Group to run the chrooted command as. ${name}_groups Comma separated list of supplementary groups to run the chrooted command with. So, -u, -g, -G options is not supported in FreeBSD, but used in rc.subr. I'm checked it in current versions of manuals and problem still exist. >How-To-Repeat: grep groups /etc/rc.subr man chroot man rc.subr >Fix: maybe, we should add NetBSD features to chroot? >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305301352.53262.info>