[lfs-support] no rc.d, no /etc/udev/rules.d/70-persistent-net.rules

Tobi Ipaye tipaye at gmail.com
Wed Aug 29 07:36:07 PDT 2012


Hi all,
I've been following the stable LFS 7.1 book on-line, details -

Version:           LFS 7.1
uname -a:        Linux ubuntu 2.6.32-42-generic #95-Ubuntu SMP Wed Jul
25 15:57:54 UTC 2012 i686 i686 i386 GNU/Linux (running in vmware
player)
Host requirements script being used and results:
tipaye at ubuntu:~$ cat > version-check.sh << "EOF"
> #!/bin/bash
> # Simple script to list version numbers of critical development tools
>
> export LC_ALL=C
> bash --version | head -n1 | cut -d" " -f2-4
> echo "/bin/sh -> `readlink -f /bin/sh`"
> echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
> bison --version | head -n1
> if [ -e /usr/bin/yacc ];
>   then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
>   else echo "yacc not found"; fi
>
> bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
> echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
> diff --version | head -n1
> find --version | head -n1
> gawk --version | head -n1
> if [ -e /usr/bin/awk ];
>   then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`";
>   else echo "awk not found"; fi
>
> gcc --version | head -n1
> ldd --version | head -n1 | cut -d" " -f2-  # glibc version
> grep --version | head -n1
> gzip --version | head -n1
> cat /proc/version
> m4 --version | head -n1
> make --version | head -n1
> patch --version | head -n1
> echo Perl `perl -V:version`
> sed --version | head -n1
> tar --version | head -n1
> echo "Texinfo: `makeinfo --version | head -n1`"
> xz --version | head -n1
>
> echo 'main(){}' > dummy.c && gcc -o dummy dummy.c
> if [ -x dummy ]
>   then echo "gcc compilation OK";
>   else echo "gcc compilation failed"; fi
> rm -f dummy.c dummy
> EOF
tipaye at ubuntu:~$
tipaye at ubuntu:~$ bash version-check.sh
bash, version 4.1.5(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.20.1-system.20100303
bison (GNU Bison) 2.4.1
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.5, 10-Dec-2007.
Coreutils:  7.4
diff (GNU diffutils) 2.8.1
find (GNU findutils) 4.4.2
GNU Awk 3.1.6
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
(Ubuntu EGLIBC 2.11.1-0ubuntu7.10) 2.11.1
GNU grep 2.5.4
gzip 1.3.12
Linux version 2.6.32-42-generic (buildd at aatxe) (gcc version 4.4.3
(Ubuntu 4.4.3-4ubuntu5.1) ) #95-Ubuntu SMP Wed Jul 25 15:57:54 UTC
2012
m4 (GNU M4) 1.4.13
GNU Make 3.81
patch 2.6
Perl version='5.10.1';
GNU sed version 4.2.1
tar (GNU tar) 1.22
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 4.999.9beta
gcc compilation OK
tipaye at ubuntu:~$

I noticed the problem when I got to chapter 7.2. General Network Configuration
The first part suggests removing network symlinks if there is no
network card. I have a network card, but I wanted to see what the
symlinks were, this is when I discovered I had no /etc/rc.d
I proceeded with the rest of the page, and when it came to doing "cat
/etc/udev/rules.d/70-persistent-net.rules"., I found I had no "cat
/etc/udev/rules.d/70-persistent-net.rules" as well. The only file I
have in "cat /etc/udev/rule.d" is "/etc/udev/rules.d/55-lfs.rules".

I haven't knowingly deviated from the book's instructions, but I feel
I must have inadvertently skipped a step somewhere. All help is much
appreciated.

Cheers,
tOBi.



More information about the lfs-support mailing list