Re: REPOST: null device in linux jail root

2004-01-26 Thread Lucas Holt
I'll take a guess here and say you should have used /

The linux port is installed in /compat/linux

i would assume the jail is /compat/linux.  Therefore you could run the 
command from /.

On Dec 16, 2003, at 2:15 PM, Charles Howse wrote:

Surely, *someone* who reads this list has upgraded the linux_base 
port, and
figured out the proper way to respond to this prompt.

___

Hi,

I installed Linux compatibility when I installed FBSD 4.8, but I've 
never
really done anything with it.

While portupgrading , I was presented with a prompt that I don't know 
how to
respond to:

You need to create the null device in your jail root environment.
Run the following commands outside the jail root environment,
and then press enter:
mkdir -m 0755 -p Jail Root dir/dev
rm -f Jail Root dir//compat/linux/dev/null
mknod Jail Root dir//compat/linux/dev/null c 2 2
chmod 666 Jail Root dir//compat/linux/dev/null
I found that this prompt comes from the makefile in the linux-base 
port, which
I don't have access to at the moment, so I can't quote it exactly.

Clueless, I just pressed enter at the prompt, thinking I could always 
go back
and do it later, or deinstall the port and reinstall it when I learn 
what to
do.  

I know what a jail is, but how do I know what my Jail Root dir is?
Also, why the double slashes in the last 3 lines?  What do they mean?
What is the proper way to deal with this prompt?

--
Thanks,
Charles
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


REPOST: null device in linux jail root

2003-12-16 Thread Charles Howse
Surely, *someone* who reads this list has upgraded the linux_base port, and 
figured out the proper way to respond to this prompt.

___

Hi,

I installed Linux compatibility when I installed FBSD 4.8, but I've never 
really done anything with it.

While portupgrading , I was presented with a prompt that I don't know how to 
respond to:

You need to create the null device in your jail root environment.
Run the following commands outside the jail root environment,
and then press enter:
mkdir -m 0755 -p Jail Root dir/dev
rm -f Jail Root dir//compat/linux/dev/null
mknod Jail Root dir//compat/linux/dev/null c 2 2
chmod 666 Jail Root dir//compat/linux/dev/null

I found that this prompt comes from the makefile in the linux-base port, which 
I don't have access to at the moment, so I can't quote it exactly.

Clueless, I just pressed enter at the prompt, thinking I could always go back 
and do it later, or deinstall the port and reinstall it when I learn what to 
do.  

I know what a jail is, but how do I know what my Jail Root dir is?
Also, why the double slashes in the last 3 lines?  What do they mean?

What is the proper way to deal with this prompt?

-- 
Thanks,
Charles

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: REPOST: null device in linux jail root

2003-12-16 Thread Stijn Hoop
On Tue, Dec 16, 2003 at 01:15:07PM -0600, Charles Howse wrote:
 Surely, *someone* who reads this list has upgraded the linux_base port, and 
 figured out the proper way to respond to this prompt.

I apply for item A but not item B -- in other words, I also don't have a clue
why this happened to me today on my -CURRENT machine (so it's not -STABLE
only). From my reading of the port Makefile, it appears that it first creates
the device node and then tests to see if it exists, but apparently that test
fails -- the message *should* be harmless, but the best thing to do is to
make the maintainer of the port aware of the problem, which in this case
is the general ports list ([EMAIL PROTECTED]) -- CC'd.

--Stijn

[rest of email quoted for reference, but please don't top post next time]

 ___
 
 Hi,
 
 I installed Linux compatibility when I installed FBSD 4.8, but I've never 
 really done anything with it.
 
 While portupgrading , I was presented with a prompt that I don't know how to 
 respond to:
 
 You need to create the null device in your jail root environment.
 Run the following commands outside the jail root environment,
 and then press enter:
 mkdir -m 0755 -p Jail Root dir/dev
 rm -f Jail Root dir//compat/linux/dev/null
 mknod Jail Root dir//compat/linux/dev/null c 2 2
 chmod 666 Jail Root dir//compat/linux/dev/null
 
 I found that this prompt comes from the makefile in the linux-base port,
 which I don't have access to at the moment, so I can't quote it exactly.
 
 Clueless, I just pressed enter at the prompt, thinking I could always go back 
 and do it later, or deinstall the port and reinstall it when I learn what to 
 do. ?
 
 I know what a jail is, but how do I know what my Jail Root dir is?
 Also, why the double slashes in the last 3 lines? ?What do they mean?
 
 What is the proper way to deal with this prompt?
 
 -- 
 Thanks,
 Charles

-- 
Linux has many different distributions, meaning that you can probably find
one that is exactly what you want (I even found one that looked like a Unix
system).
-- Mike Meyer, from a posting at [EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature