Re: [arch-dev-public] initscripts changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



måndag 07 april 2008 skrev Jan de Groot:

> /proc and /sys are already hardcoded. About your system being broken
> without these filesystems mounted:
> - SSH (both server and client) won't work without devpts mounted
> - None of the virtual X terminal things will work without devpts mounted

In a chroot, some of the filesystems have to be remounted manually.
Try chroot, do a "ps"
you will get:
Error, do this: mount -t proc none /proc
So the automatic hidden feature does not work in that case.
/sys does not get mounted either, nor /dev/pts etc.
I think that is a good reason why the mount commands should be in /etc/fstab 
and not in some obscure init script.

I just tried ssh without mounted /dev/pts in a chroot, and it worked. But 
xterm et al does not work unless I do "mount /dev/pts". ps does not work 
without "mount /proc".

Just keep it simple
To have important system crippling details hidden in some init scripts gives 
the windows syndrome - reinstall from scratch to make it work again!



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux