public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: chroot bug
@ 2001-08-09  6:20 Noel L Yap
  2001-08-09  7:48 ` Christopher Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: Noel L Yap @ 2001-08-09  6:20 UTC (permalink / raw)
  To: yap_noel; +Cc: cygwin

chroot works for the most part.  I get sporadic memory errors (xmalloc not able
to allocate or segfault) when trying out commands (eg ls) after the chroot,
though.  I'll see if I can track them down.

I'm not able to do everything I want but I think it's more a mount issue than a
chroot issue.  I'll see if there's anything that can be done without breaking
anything.

Noel


|--------+----------------------->
|        |                       |
|        |          yap_noel@jpmo|
|        |          rgan.com     |
|        |                       |
|        |          08/08/01     |
|        |          05:12 PM     |
|        |                       |
|--------+----------------------->
  >----------------------------------------------------------------------------|
  |                                                                            |
  |       To:     cygwin@cygwin.com                                            |
  |       cc:     (bcc: Noel L Yap)                                            |
  |       Subject:     Re: chroot bug                                          |
  >----------------------------------------------------------------------------|






I've tried the latest snapshot and "chroot /" works.  I'll let you know if I see
other problems with chroot.

Thanks much,
Noel


|--------+----------------------->
|        |                       |
|        |          cgf@redhat.co|
|        |          m            |
|        |                       |
|        |          08/06/01     |
|        |          09:22 PM     |
|        |          Please       |
|        |          respond to   |
|        |          cygwin       |
|        |                       |
|--------+----------------------->
  >----------------------------------------------------------------------------|
  |                                                                            |
  |       To:     cygwin@cygwin.com                                            |
  |       cc:     (bcc: Noel L Yap)                                            |
  |       Subject:     Re: chroot bug                                          |
  >----------------------------------------------------------------------------|






On Mon, Aug 06, 2001 at 06:51:25PM -0400, Noel L Yap wrote:
>>> >>My original email stated that "chroot /" doesn't work.  I get:
>>> >>nyap:jpmpsdev@NYAP:/%/d/WebSphere/admin/bin> chroot /
>>> >>chroot: cannot execute /bin/bash: No such file or directory
>>> >
>>> >
>>> >So you're saying you get this result from a recent snapshot as well?
>>>
>>>Yes, I get this from the latest snapshot (I'm assuming that running the
latest
>>>setup.exe will get me the latest snapshot?).
>>
>>
>>No, snapshots are different than the net release.  See
>> http://www.cygwin.com/snapshots/  These are the current development
>>builds representing the road to the next release.  If its broken here,
>>it will be broken in the next release without additional attention.
>
>I installed the latest snapshot of cygwin1.dll over my current cygwin1.dll.
>"chroot /" still produces an error saying that "/bin/bash" isn't found.  Did I
>test this right?  Should I have rebooted?  Where can I get the tarballed source
>for chroot?  What else can I do to track this down?

If there are problems they would be in cygwin, not in the chroot program.  This
is evidenced by the fact that you claim that things work better in 1.3.1 over
1.3.2.  I doubt that chroot changed during that period.

Check out the cygwin web site for information on how to get the cygwin sources.

Or, wait for the next snapshot.  I believe that I've fixed the problem.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: chroot bug
@ 2001-08-08 14:12 Noel L Yap
  0 siblings, 0 replies; 14+ messages in thread
From: Noel L Yap @ 2001-08-08 14:12 UTC (permalink / raw)
  To: cygwin

I've tried the latest snapshot and "chroot /" works.  I'll let you know if I see
other problems with chroot.

Thanks much,
Noel


|--------+----------------------->
|        |                       |
|        |          cgf@redhat.co|
|        |          m            |
|        |                       |
|        |          08/06/01     |
|        |          09:22 PM     |
|        |          Please       |
|        |          respond to   |
|        |          cygwin       |
|        |                       |
|--------+----------------------->
  >----------------------------------------------------------------------------|
  |                                                                            |
  |       To:     cygwin@cygwin.com                                            |
  |       cc:     (bcc: Noel L Yap)                                            |
  |       Subject:     Re: chroot bug                                          |
  >----------------------------------------------------------------------------|






On Mon, Aug 06, 2001 at 06:51:25PM -0400, Noel L Yap wrote:
>>> >>My original email stated that "chroot /" doesn't work.  I get:
>>> >>nyap:jpmpsdev@NYAP:/%/d/WebSphere/admin/bin> chroot /
>>> >>chroot: cannot execute /bin/bash: No such file or directory
>>> >
>>> >
>>> >So you're saying you get this result from a recent snapshot as well?
>>>
>>>Yes, I get this from the latest snapshot (I'm assuming that running the
latest
>>>setup.exe will get me the latest snapshot?).
>>
>>
>>No, snapshots are different than the net release.  See
>> http://www.cygwin.com/snapshots/  These are the current development
>>builds representing the road to the next release.  If its broken here,
>>it will be broken in the next release without additional attention.
>
>I installed the latest snapshot of cygwin1.dll over my current cygwin1.dll.
>"chroot /" still produces an error saying that "/bin/bash" isn't found.  Did I
>test this right?  Should I have rebooted?  Where can I get the tarballed source
>for chroot?  What else can I do to track this down?

If there are problems they would be in cygwin, not in the chroot program.  This
is evidenced by the fact that you claim that things work better in 1.3.1 over
1.3.2.  I doubt that chroot changed during that period.

Check out the cygwin web site for information on how to get the cygwin sources.

Or, wait for the next snapshot.  I believe that I've fixed the problem.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: chroot bug
@ 2001-08-06 15:51 Noel L Yap
  2001-08-06 18:22 ` Christopher Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: Noel L Yap @ 2001-08-06 15:51 UTC (permalink / raw)
  To: lhall; +Cc: cygwin

>> >>My original email stated that "chroot /" doesn't work.  I get:
>> >>nyap:jpmpsdev@NYAP:/%/d/WebSphere/admin/bin> chroot /
>> >>chroot: cannot execute /bin/bash: No such file or directory
>> >
>> >
>> >So you're saying you get this result from a recent snapshot as well?
>>
>>Yes, I get this from the latest snapshot (I'm assuming that running the latest
>>setup.exe will get me the latest snapshot?).
>
>
>No, snapshots are different than the net release.  See
> http://www.cygwin.com/snapshots/  These are the current development
>builds representing the road to the next release.  If its broken here,
>it will be broken in the next release without additional attention.

I installed the latest snapshot of cygwin1.dll over my current cygwin1.dll.
"chroot /" still produces an error saying that "/bin/bash" isn't found.  Did I
test this right?  Should I have rebooted?  Where can I get the tarballed source
for chroot?  What else can I do to track this down?

Thanks,
Noel




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: chroot bug
@ 2001-08-06 15:14 Noel L Yap
  2001-08-06 15:25 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 14+ messages in thread
From: Noel L Yap @ 2001-08-06 15:14 UTC (permalink / raw)
  To: lhall; +Cc: cygwin

>At 05:25 PM 8/6/2001, Noel L Yap wrote:
>> >What, precisely is "buggy" in the current snapshots?  If you are going to
>> >make a statement like this, you should qualify it with some kind of details.
>>
>>My original email stated that "chroot /" doesn't work.  I get:
>>nyap:jpmpsdev@NYAP:/%/d/WebSphere/admin/bin> chroot /
>>chroot: cannot execute /bin/bash: No such file or directory
>
>
>So you're saying you get this result from a recent snapshot as well?

Yes, I get this from the latest snapshot (I'm assuming that running the latest
setup.exe will get me the latest snapshot?).

Thanks,
Noel




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: chroot bug
@ 2001-08-06 14:25 Noel L Yap
  2001-08-06 14:48 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 14+ messages in thread
From: Noel L Yap @ 2001-08-06 14:25 UTC (permalink / raw)
  To: cygwin

>So you are using a snapshot from before 1.3.2? I hope this is a typo.

chroot doesn't work with 1.3.2 AFAICT.  It works fine with 1.3.1.

>What, precisely is "buggy" in the current snapshots?  If you are going to
>make a statement like this, you should qualify it with some kind of details.

My original email stated that "chroot /" doesn't work.  I get:
nyap:jpmpsdev@NYAP:/%/d/WebSphere/admin/bin> chroot /
chroot: cannot execute /bin/bash: No such file or directory

What sort of details are you looking for?

Thanks,
Noel




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: chroot bug
@ 2001-08-06  8:33 Noel L Yap
  2001-08-06  9:10 ` Larry Hall (RFK Partners, Inc)
  2001-08-06 13:28 ` Christopher Faylor
  0 siblings, 2 replies; 14+ messages in thread
From: Noel L Yap @ 2001-08-06  8:33 UTC (permalink / raw)
  To: lhall; +Cc: cygwin

I have a working snapshot dated 2001 April 25 (or around there).  The current
snapshot is buggy.  It doesn't look like chroot.c has changed between the two so
it's either a header file change or a dll change that introduced the bug.

Thanks,
Noel

Not that I know of.  Have you tried a snapshot to see if the issue is
resolved or different there?

Larry


At 10:33 AM 8/6/2001, Noel L Yap wrote:
>Is anyone working on the chroot bug (eg "chroot /" doesn't work).
>
>Thanks,
>Noel
>
>
>
>This communication is for informational purposes only.  It is not intended as
>an offer or solicitation for the purchase or sale of any financial instrument
>or as an official confirmation of any transaction. All market prices, data
>and other information are not warranted as to completeness or accuracy and
>are subject to change without notice. Any comments or statements made herein
>do not necessarily reflect those of J.P. Morgan Chase & Co., its
>subsidiaries and affiliates.
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 14+ messages in thread
* chroot bug
@ 2001-08-06  7:33 Noel L Yap
  2001-08-06  8:02 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 14+ messages in thread
From: Noel L Yap @ 2001-08-06  7:33 UTC (permalink / raw)
  To: cygwin

Is anyone working on the chroot bug (eg "chroot /" doesn't work).

Thanks,
Noel



This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-08-09  7:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-09  6:20 chroot bug Noel L Yap
2001-08-09  7:48 ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2001-08-08 14:12 Noel L Yap
2001-08-06 15:51 Noel L Yap
2001-08-06 18:22 ` Christopher Faylor
2001-08-06 15:14 Noel L Yap
2001-08-06 15:25 ` Larry Hall (RFK Partners, Inc)
2001-08-06 14:25 Noel L Yap
2001-08-06 14:48 ` Larry Hall (RFK Partners, Inc)
2001-08-06  8:33 Noel L Yap
2001-08-06  9:10 ` Larry Hall (RFK Partners, Inc)
2001-08-06 13:28 ` Christopher Faylor
2001-08-06  7:33 Noel L Yap
2001-08-06  8:02 ` Larry Hall (RFK Partners, Inc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).