From unknown Thu Jun 19 16:07:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8663 <8663@debbugs.gnu.org> To: bug#8663 <8663@debbugs.gnu.org> Subject: Status: chroot problems Reply-To: bug#8663 <8663@debbugs.gnu.org> Date: Thu, 19 Jun 2025 23:07:45 +0000 retitle 8663 chroot problems reassign 8663 coreutils submitter 8663 Benedicto Garin severity 8663 normal tag 8663 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 12:18:23 2011 Received: (at submit) by debbugs.gnu.org; 12 May 2011 16:18:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKYah-0006Ox-PX for submit@debbugs.gnu.org; Thu, 12 May 2011 12:18:23 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKVlg-0002Dt-F0 for submit@debbugs.gnu.org; Thu, 12 May 2011 09:17:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKVlZ-0004bS-OZ for submit@debbugs.gnu.org; Thu, 12 May 2011 09:17:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD,URI_HEX autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:60414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKVlZ-0004bO-N4 for submit@debbugs.gnu.org; Thu, 12 May 2011 09:17:21 -0400 Received: from eggs.gnu.org ([140.186.70.92]:53501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKVlV-0006p4-L2 for bug-coreutils@gnu.org; Thu, 12 May 2011 09:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKVlS-0004ZX-3Z for bug-coreutils@gnu.org; Thu, 12 May 2011 09:17:17 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:39763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKVlR-0004ZT-Ub for bug-coreutils@gnu.org; Thu, 12 May 2011 09:17:14 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p4CDH9Be023022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 12 May 2011 13:17:11 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p4CDH8os008882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 May 2011 13:17:09 GMT Received: from abhmt004.oracle.com (abhmt004.oracle.com [141.146.116.13]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p4CDH3fb022121 for ; Thu, 12 May 2011 08:17:03 -0500 Received: from [127.0.0.1] (/10.159.48.38) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 12 May 2011 06:17:02 -0700 Message-ID: <4DCBDDC4.7090305@oracle.com> Date: Thu, 12 May 2011 09:16:52 -0400 From: Benedicto Garin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: chroot problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4DCBDDD7.0064:SCFMA922111,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 12 May 2011 12:18:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Hi, I'm trying to run the command below and I get some errors. I ran this command about a month ago with no issue. Please advise. Thanks in advance, bg (May 12 9:03) [/home/bgarin]$/usr/sbin/chroot /chroot/rhel_AS40_x86_64 /bin/bash /usr/sbin/chroot /chroot/rhel_AS40_x86_64 /bin/bash do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused The subsequent useview also fails similarly: bash-3.00$ ade useview bgarin_g1 do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused Binding view to label server adc2100090.us.oracle.com do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 14:36:19 2011 Received: (at 8663) by debbugs.gnu.org; 12 May 2011 18:36:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKakE-00019s-FU for submit@debbugs.gnu.org; Thu, 12 May 2011 14:36:18 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKakC-00019g-KI for 8663@debbugs.gnu.org; Thu, 12 May 2011 14:36:17 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 4B38321310; Thu, 12 May 2011 12:36:10 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 295B02DC5B; Thu, 12 May 2011 12:36:10 -0600 (MDT) Date: Thu, 12 May 2011 12:36:10 -0600 From: Bob Proulx To: Benedicto Garin Subject: Re: bug#8663: chroot problems Message-ID: <20110512183610.GA29839@hysteria.proulx.com> References: <4DCBDDC4.7090305@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DCBDDC4.7090305@oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 8663 Cc: 8663@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) Benedicto Garin wrote: > I'm trying to run the command below and I get some errors. I ran > this command about a month ago with no issue. Please advise. > ... > (May 12 9:03) [/home/bgarin]$/usr/sbin/chroot /chroot/rhel_AS40_x86_64 /bin/bash > /usr/sbin/chroot /chroot/rhel_AS40_x86_64 /bin/bash > do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused This is an indication that NIS/YP in your chroot system is not happy. It is reporting that it is unable to contact the NIS/YP account server. You apparently have the chroot set up where account data is in NIS/YP (formerly known as yellow pages). Likely the nis/yp server isn't available now. > The subsequent useview also fails similarly: Probably the same problem. I personally would probably start off by going into the chroot as root expecting that to work and then probing the nis/yp system to see what problems exist there. I would expect root to be able to log into it since the root account is almost always local. The command ypwhich is often useful to determine which nis/yp server the local client has bound to. If it is bound then investigate that server. If it isn't bound then that is the problem. If you are not root then you can still look at the files. Since the chroot files are available to you from the outside the next thing I would do is to look into the chroot area and try to debug the problem just by inspection. But if you are not root then you won't be able to fix anything that you find so that is just for your own curiosity. For a start look at /etc/nsswitch.conf and observe the settings for the passwd table. Since this is unlikely to be a bug related to coreutils I am going to keep the accounting updated and close the bug. Please don't take the fact that the bug is closed to mean that we don't want any more discussion. The opposite is true. If possible please report back to us on what you find. Please feel free to keep posting followups. It will continue to be tracked in the bug log. This will help others who read through it later. At any time the bug can be opened again if needed. Bob From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 14:37:03 2011 Received: (at control) by debbugs.gnu.org; 12 May 2011 18:37:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKakw-0001B3-SR for submit@debbugs.gnu.org; Thu, 12 May 2011 14:37:03 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKakv-0001Ab-DK for control@debbugs.gnu.org; Thu, 12 May 2011 14:37:01 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id E061221310 for ; Thu, 12 May 2011 12:36:55 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id CB56E2DC5B; Thu, 12 May 2011 12:36:55 -0600 (MDT) Date: Thu, 12 May 2011 12:36:55 -0600 From: Bob Proulx To: control@debbugs.gnu.org Subject: close and tag Message-ID: <20110512183655.GA32020@hysteria.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) tag 8663 + notabug close 8663 thanks From unknown Thu Jun 19 16:07:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Jun 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator