[lfs-support] Two suspected bugs
Hi, I am build the LFS 7.4 following the book, and find two suspected bugs: (1) In Preface, vii. Host System Requirements, the version of tar is required 1.18, but this version does not support xz format at all.As such, the following command will fail: tar Jxvf foo.tar.xz Although using xz first then tar will work, I think it is recomended to upgrade tar to support new options. (2) In chapter 5, 5.7. Glibc-2.18 I got the following warning: configure: WARNING: *** These auxiliary programs are missing or incompatible versions: autoconf *** some features will be disabled. *** Check the INSTALL file for required versions. I seems that there should be some requirements of autoconf. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Patch delete a directory
From: akhiezer Sent: Tuesday, January 07, 2014 1:31 AM To: LFS Support List Subject: Re: [lfs-support] Patch delete a directory Hi akhiezer, Thanks for your reply. Is writer/name an empty file, or what? Can you post: $ tree -apugsDF old new Both writer and name are directories. The result of ' tree -apugsDF ' is as follows old |-- [drwxr-xr-x root root4096 Jan 7 18:32] musician/ | `-- [-rw-r--r-- root root 37 Jan 7 18:32] name `-- [drwxr-xr-x root root4096 Jan 7 18:32] writer/ new |-- [drwxr-xr-x root root4096 Dec 30 0:45] musician/ | `-- [-rw-r--r-- root root 40 Dec 30 0:23] name `-- [drwxr-xr-x root root4096 Dec 30 0:46] writer/ `-- [-rw-r--r-- root root 37 Dec 30 0:50] name Can you post what patch.diff contains? diff -Nru old/musician/name new/musician/name --- old/musician/name 2014-01-07 18:32:02.0 + +++ new/musician/name 2013-12-30 00:23:19.0 + @@ -1,5 +1,5 @@ +Beethoven Strauss Debussy -Mozart +Schubert Bach -Schumann diff -Nru old/writer/name new/writer/name --- old/writer/name 1970-01-01 00:00:00.0 + +++ new/writer/name 2013-12-30 00:50:32.0 + @@ -0,0 +1,4 @@ +Emerson +O.Henry +Dickenson +Mark Twain Any particular reason why you don't include '-a' flag? (e.g. 'LC_ALL=C TZ=UTC0 diff -Naur old new' per recommended format in patch man-page. ) I have tried '-a' option with this case, and the results don't have differences. -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] 'su' command does not take effect
- Original Message - From: akhiezer lf...@cruziero.com To: LFS Support List lfs-support@linuxfromscratch.org Sent: Saturday, August 03, 2013 10:44 PM Subject: Re: [lfs-support] 'su' command does not take effect Ignore PAM just now (or indeed forever); 'su -' should work ok without it. OK! I agree. Do you have the parameter 'SU_WHEEL_ONLY' set in /etc/login.defs ? If so, to what value? Yes, but I think it does not matter, because I can not switch from a normal user to another normal user yet. In fact, I wonder why 'su' can not do what it should do - just switching user without prompting privilege. Switching to root has to be 'next step'. Can you login as root directly on tty1 ? Does it matter? What happens if you create the 'wheel' group and put your own non-root username into it? After that, can you 'su -' ok? If not, can you 'su' (without the '-') ok? If I just want to switch to a normal user, is there any help provided by the 'wheel' group? Do I have to create it? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] 'su' command does not take effect
Do you have the parameter 'SU_WHEEL_ONLY' set in /etc/login.defs ? If so, to what value? Yes, but I think it does not matter, because I can not switch from a normal user to another normal user yet. In fact, I wonder why 'su' can not do what it should do - just switching user without prompting privilege. Switching to root has to be 'next step'. OK. I asked what value is it set to. It is set to 'yes'. Switching from one user to another, is by default not enabled, because otherwise, if you've got multiple users on the system, they could access each other's files c; and that's not necessarily wanted. IMO, every user can protect their files by setting password. Is there any way to enable this kind of switching? It sounds a bit curious. Acutally, I think this is not also I wanted. However, according to some instructions from Harley Hahn's Guide to Unix and Linux, this kind of switching can go its way, at least in traditional Unix. Can you login as root directly on tty1 ? Does it matter? OK. I asked, Can you login as root directly on tty1 ? No. What happens if you create the 'wheel' group and put your own non-root username into it? After that, can you 'su -' ok? If not, can you 'su' (without the '-') ok? If I just want to switch to a normal user, is there any help provided by the 'wheel' group? Do I have to create it? I'd understood that your original request was how to 'su -' to root: whereas it now seems that it's to another non-root user. Is it the former or latter or both? At the beginning, I don't get the idea of the difference between them. However, I have tried to switch to a normal user, and failed. Therefore, now I think the 'wheel' group is not the point. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] su command does not take effect
Hi, I am using LFS 6.3 without PAM installed. I have create a normal user 'weedly', and log in with 'weedly'. I want to change to 'root'. Then, I used su root and get the following message: weedly [ ~ ]$ su root Password: Sorry. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] continue
It seems that the su command does not take effect. I googled this problem and realized that only users in 'wheel' group has the priviledge to execute su. But LFS 6.3 does not has 'wheel' group. In addition, even if the 'wheel' group exists, it seems that I also should modify some configuration file concerning PAM. However, PAM does not installed in LFS 6.3. So, with my purpose to excute su to change user, how can I do to resolve the problem? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
what's the meaning of 'force-unwind' and 'C cleanuup handling'?
Hi, I am compiling the lfs 6.6. Within chapter 5, the 'configure' script of the glic 2.11.1 requires the 'libc_cv_forced_unwind=yes' and 'libc_cv_c_cleanup=yes'. The book really gives the reasons why we have to specify the two options. But, I want to know further what the meaning of them. Thanks. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
How to skip two settings
Hi, When system starting, there are two settings, namely 'regional settings' and 'edit settings', at which the process of starting will pause and I have to press enter key twice to finish them. Is there any configurations by which I can skip them automatically every time. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: How to skip two settings
2010/6/16 Chris Staub ch...@beaker67.com: On 06/16/2010 05:34 AM, Parmenides wrote: Hi, When system starting, there are two settings, namely 'regional settings' and 'edit settings', at which the process of starting will pause and I have to press enter key twice to finish them. Is there any configurations by which I can skip them automatically every time. An LFS system does not ask you anything (except to login) when you boot. This sounds like you're using the livecd, in which case you cannot change the startup procedure without rebuilding a new CD. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Yes, this is the effect of a live CD indeed. But, I have clone the live CD onto a partition of hard disk, and tried to altenate some default settings of it. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: How to skip two settings
2010/6/17 Chris Staub ch...@beaker67.com: On 06/16/2010 01:11 PM, Parmenides wrote: 2010/6/16 Chris Staubch...@beaker67.com: On 06/16/2010 05:34 AM, Parmenides wrote: Yes, this is the effect of a live CD indeed. But, I have clone the live CD onto a partition of hard disk, and tried to altenate some default settings of it. Well, the LiveCD simply isn't made for the purpose of being installed to a hard drive. If you want a Linux system on your hard drive you should just use it to build an LFS system. On the other hand, if you were installing the LiveCD to the hard drive in order to get around the time-consuming task of building LFS, you're much better off simply downloading and installing Ubuntu, Fedora, or some other distro. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page There are some excellent distro actually, but not my favourite. They will install many packages I do not need. What's more, I very like a clean and fast linux and the console mode is enough. So, I choose the LFS. Additionally, the LFS give me a chance to get familiar with Linux more and more. Actually, I want to configure a virtual Linux running on VMWare and play a server's role. But, the default settings make automatical boot impossible. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: How to skip two settings
Thanks for your clue to learn. It seems be necessary to modify ramdisk and they deserve more efforts. 2010/6/17 Neal Murphy neal.p.mur...@alum.wpi.edu: On Wednesday 16 June 2010 16:23:09 Parmenides wrote: There are some excellent distro actually, but not my favourite. They will install many packages I do not need. What's more, I very like a clean and fast linux and the console mode is enough. So, I choose the LFS. Additionally, the LFS give me a chance to get familiar with Linux more and more. Actually, I want to configure a virtual Linux running on VMWare and play a server's role. But, the default settings make automatical boot impossible. What you are looking to change is 'hidden' inside the initramfs/initrd. For the purpose of learning, you can unpack the LiveCD, disassemble it, unpack the initramfs (or initrd, whichever it uses), adjust it as you desire, repack it and repack the CD (or pack it into a hard drive partition or image file for VMware/QEMU/etc.) I've done this many times while tweaking Smoothwall until I finally got udev and the initramfs archive to work as I wanted them to (read: learned how udev and initramfs really work). I did this with both the ISO image and tweaking the early boot stuff on the hard drive. Only unfamiliarity prevents you from unpacking the live CD and fiddling with it until it does what you want. Using the live CD is not optimal, but it can't be beat for hands-on learning. Once you dive into that, though, you are kind-of on your own; not many people grok isolinux, initramfs/initrd, and the early boot environment, and it's way outside of building Linux from scratch. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
problem concerning gcc
Hi I am reading stable lfs book of 6.3 version. On page 96, I'm puzzled to the following two commands: ln -sv ../usr/bin/cpp /lib ln -sv gcc /usr/bin/cc For the first command, the current dircetory is /source/gcc-build, and the path in the command does not exsit. For the second command, the intendance is to make /usr/bin/cc point to gcc. But , gcc is in the current directory, and after installing, the current directory is to be deleted. What's the meaning of the link? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page