[lfs-support] Exotic lfs compiling question

2014-02-20 Thread loki
Heya all. Need some help. I have an old lfs installation which is in production use, for the past 5-6 years. I guess it's version 6.3 or something since it has kernel 2.6 on it. It is time to install a new version on it. But there are the following problems: 1.) Since it is in production it

Re: [lfs-support] Exotic lfs compiling question

2014-02-20 Thread William Harrington
On Feb 20, 2014, at 8:47 AM, loki wrote: So the question is can I compile some version of lfs which can be compiled on 6.3 and can compile 7.4 and can I do both or more compilations in chroot? You can build LFS 7.4 (probably go with 7.5-rc1) from 6.3 with some minor tweaks. If your

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Oshadha Gunawardena
@Bruce, I did exactly as you have mentioned and it seems that only the scripts are in */etc/rc.d/rcS.d/* will get executed root:/# ls -l /etc/rc.d/rcS.d/ total 0 lrwxrwxrwx 1 root root 21 Feb 17 10:36 S00mountvirtfs - ../init.d/mountvirtfs lrwxrwxrwx 1 root root 17 Feb 17 10:36 S05modules -

Re: [lfs-support] Exotic lfs compiling question

2014-02-20 Thread loki
On Thu, 2014-02-20 at 09:06 -0600, William Harrington wrote: If your running kernel is up to at least 2.6.32 then default glibc configure options will work. If it is less than 2.6.32, then you'll need to adjust the glibc configure commands otherwise you will get FATAL: Kernel too old

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Bruce Dubbs
Oshadha Gunawardena wrote: @Bruce, I did exactly as you have mentioned and it seems that only the scripts are in */etc/rc.d/rcS.d/* will get executed root:/# ls -l /etc/rc.d/rcS.d/ total 0 lrwxrwxrwx 1 root root 21 Feb 17 10:36 S00mountvirtfs - ../init.d/mountvirtfs lrwxrwxrwx 1 root root

Re: [lfs-support] Exotic lfs compiling question

2014-02-20 Thread Bruce Dubbs
loki wrote: Heya all. Need some help. I have an old lfs installation which is in production use, for the past 5-6 years. I guess it's version 6.3 or something since it has kernel 2.6 on it. It is time to install a new version on it. But there are the following problems: 1.) Since it is in

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Oshadha Gunawardena
Yes id does included id:3:initdefault: root:/# cat /etc/inittab # Begin /etc/inittab id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc S l0:0:wait:/etc/rc.d/init.d/rc 0 l1:S1:wait:/etc/rc.d/init.d/rc 1 l2:2:wait:/etc/rc.d/init.d/rc 2 l3:3:wait:/etc/rc.d/init.d/rc 3 l4:4:wait:/etc/rc.d/init.d/rc 4

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Bruce Dubbs
Oshadha Gunawardena wrote: Yes id does included id:3:initdefault: root:/# cat /etc/inittab # Begin /etc/inittab id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc S l0:0:wait:/etc/rc.d/init.d/rc 0 l1:S1:wait:/etc/rc.d/init.d/rc 1 l2:2:wait:/etc/rc.d/init.d/rc 2

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Oshadha Gunawardena
Please stop top posting or you will get ignored. Also, trim the posts to what is needed. Are you saying that 'ps -e|grep log' does not give syslogd and klogd? Lets also review the files in /etc/sysconfig/ and the contents of /etc/sysconfig/ifconfig* and the links in /sys/class/net/

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Pierre Labastie
Le 20/02/2014 18:04, Oshadha Gunawardena a écrit : root:/# cat /etc/inittab # Begin /etc/inittab id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc S l0:0:wait:/etc/rc.d/init.d/rc 0 l1:S1:wait:/etc/rc.d/init.d/rc 1 l2:2:wait:/etc/rc.d/init.d/rc 2 l3:3:wait:/etc/rc.d/init.d/rc 3

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Bruce Dubbs
Oshadha Gunawardena wrote: root:/etc# ps -e|grep log 1949 ?00:00:00 rsyslogd That's not a part of LFS. What deviations from the book have you made? You should have both syslogd and klogd. root:~# ls -l /etc/sysconfig/ total 32 -rw-r--r-- 1 root root 186 Feb 17 10:56 clock

Re: [lfs-support] Exotic lfs compiling question

2014-02-20 Thread Ken Moffat
On Thu, Feb 20, 2014 at 04:49:29PM +0100, loki wrote: Kernel is 2.6.35.3. For the future, you _might_ want to think about using a long-term-supported stable kernel (at the moment, 3.10), or even updating your kernel once or twice a year. ĸen -- das eine Mal als Tragödie, dieses Mal als

[lfs-support] init script question

2014-02-20 Thread joel kammet
I've been wondering about the case statement in S00mountvirtfs that mounts the virtual filesystems.   if ! mountpoint /run /dev/null; then mount /run || failed=1 and similar commands for proc sys and dev. I understand what the mountpoint lines are doing, but mount /run puzzles

Re: [lfs-support] init script question

2014-02-20 Thread Armin K.
On 02/21/2014 01:35 AM, joel kammet wrote: I've been wondering about the case statement in S00mountvirtfs that mounts the virtual filesystems. if ! mountpoint /run /dev/null; then mount /run || failed=1 and similar commands for proc sys and dev. I understand what

Re: [lfs-support] init script question

2014-02-20 Thread joel kammet
I understand what the mountpoint lines are doing, but mount /run puzzles me. There are no fstab entries for these filesystems, so I would expect mount [device] [mountpoint]. There are. http://www.linuxfromscratch.org/lfs/view/development/chapter08/fstab.html tmpfs          /run