[blfs-support] mkinitramfs warning

2020-09-27 Thread Alexey Orishko via blfs-support
Hi guys, Every time I use mkinitramfs I get a warning on the screen: Creating initrd.img-5.8.11... ln: failed to create symbolic link '/tmp/initrd-work.dIMxI8Ugai/bin/sh': File exists done. Image created is fully functional. I added ls commands in the script to check the reason before ln command:

Re: [blfs-support] vsftpd segfault

2020-08-23 Thread Alexey Orishko via blfs-support
On Tue, Aug 11, 2020 at 6:59 PM Thomas Seeling via blfs-support wrote: > >> Unfortunately I saw vsftpd segfault: > I did a new test with BLFS-9.1 on top of LFS-10-rc1 (using gcc 10) - the problem still exists. Key moments to trigger a segfault: - no PAM - client provides a wrong password for exis

Re: [blfs-support] Mobbing blfs partition

2020-08-21 Thread Alexey Orishko via blfs-support
On Fri, Aug 21, 2020 at 5:36 PM Riccardo G. Corsi via blfs-support wrote: > >> >> Hello, I have to move an existing lfs/blfs partition from HD to ssd (new >> partition). Best day to do it? Thanks. Riccardo > I usually build stuff on one disk and then copy to another one (doesn't matter hdd or ssd

Re: [blfs-support] BLFS mc question

2020-08-09 Thread Alexey Orishko via blfs-support
On Mon, Aug 3, 2020 at 1:01 AM Christopher Gregory via blfs-support wrote: > According to midnight commanders github commit list, this file was removed > from the makefile.ac three years ago. It seems that the book instructions do > not reflect this. > > Verification can be obtained from: > htt

[blfs-support] vsftpd segfault

2020-08-04 Thread Alexey Orishko via blfs-support
Hi guys, Just got a system running v.9.1 and decided to check dmesg. Unfortunately I saw vsftpd segfault: [ 50.395920] vsftpd[685]: segfault at 0 ip 7f87cf2676aa sp 7ffe2ab68e48 error 4 in libc-2.31.so[7f87cf133000+149000] [ 50.395928] Code: 80 7e 10 00 0f 84 f9 fe ff ff e9 81 d7 f4 ff

[blfs-support] BLFS mc question

2020-08-02 Thread Alexey Orishko via blfs-support
Hi, I've built the mc-4.8.25 package in 9.1 book with the presence of required and recommended packages only (GLib-2.64.4, PCRE-8.44, slang-2.3.2). I can't find doc/keybind-migration.txt file referred in the instruction (just skipped it). Will it be generated if optional dependencies are present o

Re: [blfs-support] BLFS ch.9 glib failure

2020-07-24 Thread Alexey Orishko via blfs-support
On Fri, Jul 24, 2020 at 12:07 PM Alexey Orishko wrote: > I was trying to compile GLib-2.62.4 (BLFS 9.1) in chroot and ninja > command failed. Finally, I found an old email, stating that "It would build if not passing -Dman=true". It is the case, but it would be nice to have a b

[blfs-support] BLFS ch.9 glib failure

2020-07-24 Thread Alexey Orishko via blfs-support
Hi guys, I was trying to compile GLib-2.62.4 (BLFS 9.1) in chroot and ninja command failed. Last time I compiled glib/blfs-7.5 where ninja was not used. In the current setup I have both recommended packages (libxslt-1.1.34 and PCRE-8.44) compiled before building glib according to instruction. I do

Re: [blfs-support] Are BLFS and CLFS compatible?

2015-07-15 Thread Alexey Orishko
On Tue, Jul 14, 2015 at 12:42 PM, Hazel Russman wrote: > Well, I don't have all that much choice. All the systems on my main computer > are 64-bit, so if I am going to build a 32-bit system there, it has to be > clfs. I've solve the same problem by compiling 32-bit blfs in Ubuntu-32bit VM runni

Re: [blfs-support] Superblock was written in the future, but by less than a day

2015-06-26 Thread Alexey Orishko
On Thu, Jun 25, 2015 at 11:02 PM, Paul Rogers wrote: > Since I've been able to run (B)LFS-7.2 I've been getting occasional boot > warnings from checkfs that the "Superblock was written in the future by > less than a day, fixed". I'm not keeping GMT in the HW clock, past, > present, and future. H

Re: [blfs-support] lm_sensors-3.3.5

2015-06-06 Thread Alexey Orishko
On Sat, Jun 6, 2015 at 1:43 PM, Richard Melville wrote: > Thanks for the replies. The point where lm_sensors complains is: "Do you > want to probe the I2C/SMBus adapters now?" When I type "yes", it replies: > "Using driver 'I2c-i801' for device :00:1f.3: Intel 82801G ICH7". This > is immedi

Re: [blfs-support] blfs-7.7 network issues with 2 eth ports

2015-04-22 Thread Alexey Orishko
On Tue, Apr 21, 2015 at 11:01 PM, Pol Vangheluwe wrote: >> Looks like you need bonding? > http://archive09.linux.com/feature/133849 I do have bonding and it's working fine, but this is a different configuration with a different purpose. BR Alexey -- http://lists.linuxfromscratch.org/listinfo/bl

Re: [blfs-support] blfs-7.7 network issues with 2 eth ports

2015-04-21 Thread Alexey Orishko
On Tue, Apr 21, 2015 at 6:26 PM, Bruce Dubbs wrote: > > Yes, but if you want to send something to default (e.g. the internet) and > the interface set as default is down, then you will not be able to do that. I understand that another network is not reachable if gw interface is down. But for case

Re: [blfs-support] blfs-7.7 network issues with 2 eth ports

2015-04-21 Thread Alexey Orishko
On Tue, Apr 21, 2015 at 5:50 PM, Bruce Dubbs wrote: > > I suppose that an alternate non-default route might be set up with a > different metric in the routing tables, but I've never tried it. > > Can you explain why/how eth0 connectivity is lost? While testing this setup I simply plug out eth cab

Re: [blfs-support] blfs-7.7 network issues with 2 eth ports

2015-04-21 Thread Alexey Orishko
On Tue, Apr 21, 2015 at 4:02 PM, Richard Melville wrote: > I'm not sure exactly what it is you are trying to do, but it sounds as > though you need to install bridge-utils from the book. > eth0: 192.168.10.10 eth1: 192.168.10.11 prefix=24 Do I really need bridge-utils for the config above? BR A

[blfs-support] blfs-7.7 network issues with 2 eth ports

2015-04-21 Thread Alexey Orishko
Hi guys, I have a motherboard with 2 eth ports, which using dhcp setup and connected to the same network segment. If eth0 is disconnected, ip connectivity is lost even eth1 stay connected. Same thing happening if eth0/1 setup is static and both ports connected to the same network segment. I've tr

[blfs-support] LVM2: file descriptor leaked ...

2015-03-29 Thread Alexey Orishko
Hi guys, I often see warning messages on console about leaked fd: File descriptor 7 (pipe:[44180]) leaked on pvs invocation. Parent PID 5760: bash It could happen if you run lvm command from system() call or from mc shell. After some investigation I found a passage about it in lvm(8): On invocat

[blfs-support] net device naming rules

2015-03-12 Thread Alexey Orishko
Hi all, After building the latest book I see that rules are created to make a name of ethernet device persistent based on MAC address. It creates a headache for booting from USB stick on different hosts, since eth0 interface would appear only on the first host. Is it enough to make an empty rule

Re: [blfs-support] MySQL cmake build issues

2015-02-14 Thread Alexey Orishko
On Sat, Feb 14, 2015 at 10:43 PM, Armin K. wrote: > It's a problem with OpenSSL-1.0.2. Use the following fix: > > sed -i "s:#define\[:#\[\\\t \]\*define\[:" cmake/ssl.cmake Thank you, you saved my day! Regards, Alexey -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.li

[blfs-support] MySQL cmake build issues

2015-02-14 Thread Alexey Orishko
Hi guys, I need to build MySQL client libraries to support old application. I've done it previously in BLFS-7.5, but I see that there is no reference to MySQL in the recent version, including development one. I was trying to build MySQL v.5.6.23 based on the latest development version, but failed

Re: [blfs-support] GPT mount issue

2015-01-24 Thread Alexey Orishko
On Fri, Jan 23, 2015 at 4:31 AM, Ken Moffat wrote: > After reading that information, I looked at your original post - > the kernel failed to mount the stick. Yet, it was not my input, but printout from the kernel (as I stated: warning message on console). I doesn't mean I want it to be mounted,

Re: [blfs-support] GPT mount issue

2015-01-22 Thread Alexey Orishko
On Tue, Jan 20, 2015 at 1:53 AM, Ken Moffat wrote: > 1. The machine is using EFI ? And therefore, you put the flash > drive in, turn on, and let it boot ? If so, getting a linux error > implies that your bootloader, whatever it is, has found a linux > kernel. It's old Intel motherboard, ordinar

Re: [blfs-support] GPT mount issue

2015-01-19 Thread Alexey Orishko
On Mon, Jan 19, 2015 at 12:49 PM, Richard Melville wrote: > Are you sure that the USB flash drive isn't formatted with NTFS? If not, > which file system is on it? If it is, then maybe you haven't enabled NTFS > in your kernel. Yes, I'm. I did format it as stated above. It is USB boot disk, whe

[blfs-support] GPT mount issue

2015-01-19 Thread Alexey Orishko
Hi guys, If I connect USB stick with GPT where partition 1 is 'EF02' - BIOS boot partition to BLFS 7.5 box I could see a warning message on console: NTFS signature is missing. Failed to mount '/dev/sde1: Invalid argument The device doesn'tseem to have a valid NTFS. maybe the wrong device is used?

[blfs-support] acpid & power button

2014-12-07 Thread Alexey Orishko
Hi guys, I'm trying to find a solution for acpid config.. When blfs is compiled without acpid, after pressing power button for a few seconds, pc turns off instantly without shutting linux down (as expected). I've added acpid to blfs and use shutdown as an action in config file. In this case pc s

Re: [blfs-support] BLFS-7.6 Issue with Bash Shell Startup Files

2014-10-15 Thread Alexey Orishko
On Wed, Oct 15, 2014 at 11:38 PM, Bruce Dubbs wrote: > Yes, it was done intentionally. A bash login shell by default calls > /etc/profile and and then ~/.bash_profile. If those don't source other > files, then PS1 need to be set there. > > For a non-login invocation of bash, PS1 is removed and ha

[blfs-support] BLFS-7.6 Issue with Bash Shell Startup Files

2014-10-15 Thread Alexey Orishko
Hi guys, I've tried to customize PS1 prompt by editing /etc/profile, but it didn't help. After further checking I've found that PS1 is set twice in the scripts described in Ch.3 "The Bash Shell Startup Files": in /etc/profile and /etc/bashrc. Was it done by intention? If so, could someone, please

[blfs-support] Bug: BLFS Boot Scripts

2014-10-08 Thread Alexey Orishko
Hi guys, There is an issue with both BLFS-7.5 and 7.6, it is present in blfs-bootscripts-20140919.tar.bz2 Makefile: install-ntpd: create-dirs install -m ${MODE} blfs/init.d/ntpd ${EXTDIR}/rc.d/init.d/ ln -sf ../init.d/ntpd ${EXTDIR}/rc.d/rc0.d/K46ntpd ln -sf ../init.d/ntp

Re: [blfs-support] LFS and BLFS Version 7.6 is released

2014-09-25 Thread Alexey Orishko
On Thu, Sep 25, 2014 at 10:11 PM, alex lupu wrote: > In your opinion how does this vulnerability compare with this one > > http://www.nytimes.com/2014/09/26/technology/security-experts-expect-shellshock-software-bug-to-be-significant.html?hp&action=click&pgtype=Homepage&version=HpHeadline&module=s

Re: [blfs-support] LFS and BLFS Version 7.6 is released

2014-09-25 Thread Alexey Orishko
On Tue, Sep 23, 2014 at 8:12 AM, Bruce Dubbs wrote: > The Linux From Scratch community is pleased to announce the release of LFS > Version 7.6, BLFS Version 7.6, LFS Systemd Version 7.6, and BLFS Systemd > Version 7.6. > > This release is a major update to both LFS and BLFS and now includes > sepa

[blfs-support] dhcp client setup

2014-09-14 Thread Alexey Orishko
Hi all, I have BLFS-7.5 system running in text mode only and I'm using dhcp client from DHCP-4.3.0 package. Unfortunately, there is no information in the book regarding IPv6 configuration. Could anyone can share client setup for IPv6 in dhcp and static mode? Regards, Alexey -- http://lists.linu

[blfs-support] Compressing Man and Info Pages

2014-07-14 Thread Alexey Orishko
Hi guys, BLFS-7.4 had "Compressing Man and Info Pages" in Ch.3, but I don't see it in the version 7.5. Could anyone, please, explain a reason for removing it? Regards, Alexey -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe

Re: [blfs-support] Auto-detect keyboard layout

2014-07-14 Thread Alexey Orishko
On Mon, Jul 14, 2014 at 3:37 AM, Ken Moffat wrote: > Really ? I haven't installed a distro for about 3 years - that was > ubuntu, and from what I remember I had to specify the keymap (which > is how I come to be using a horrible en_gb variant with dead keys > on the ttys of that netbook). I can

Re: [blfs-support] Auto-detect keyboard layout

2014-07-13 Thread Alexey Orishko
On Mon, Jul 14, 2014 at 12:25 AM, Ken Moffat wrote: > I very much doubt it - you *might* be able to detect how many keys > exist, and I guess that the options within full (e)udev or systemd > will probably notice the "extra" keys (sleep, mail, etc) in certain > keyboards - particularly for laptop

[blfs-support] Auto-detect keyboard layout

2014-07-13 Thread Alexey Orishko
Hi all, I build a system with us keymap in /etc/console. Is there a way to auto-detect a keyboard layout (us, spanish, german,etc) in a shell script in order to invoke "loadkeys" during boot? Regards, Alexey -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscra

Re: [blfs-support] Restrict root access

2014-07-13 Thread Alexey Orishko
On Sun, Jul 13, 2014 at 6:29 AM, Christopher Gregory wrote: > I have always been able to get back into them, but you would need > physical access to the server in question. > > When the server boots up, at the grub boot menu, highlight the kernel > entry and press e. Append single to the end of t

Re: [blfs-support] Restrict root access

2014-07-12 Thread Alexey Orishko
On Sun, Jul 13, 2014 at 12:15 AM, Claus Regelmann wrote: > do you really want to disable root access from the console? > If you have a simple BLFS system, the console is your > local display/keyboard. I'm aware of consequences. But it's not a system for private use and the only access I can get t

Re: [blfs-support] Restrict root access

2014-07-12 Thread Alexey Orishko
On Sun, Jul 13, 2014 at 12:06 AM, Armin K. wrote: > Ubuntu always did that. They lock the root password (passwd -l) and make > a first added user an administrator which has full sudo access. Thank you all. I do always create a user with sudo privileges during blfs build with password assigned, so

[blfs-support] Restrict root access

2014-07-12 Thread Alexey Orishko
Hi all, I have a simple BLFS system (no graphics, no PAM) and I'd like to disable login as a root via both ssh and on console. Solution for ssh was described in relevant chapter of the book, but I can't find any recommendations to limit access via console. As I understand, one option is to chang

Re: [blfs-support] BLFS & logrotate

2014-07-02 Thread Alexey Orishko
On Wed, Jul 2, 2014 at 8:46 PM, Bruce Dubbs wrote: > This is a pretty easy package, but I'll go ahead and do it. Ticket #5229. Thanks, Bruce. One comment though, I've build it with: make POPT_DIR=/usr It was not stated in a hint, but looking at the makefile it might be needed. Regards, Alexey

[blfs-support] BLFS & logrotate

2014-07-02 Thread Alexey Orishko
Hi guys, I wonder why don't we have logrotate in BLFS book? There is an old hint for it at http://www.linuxfromscratch.org/hints/downloads/files/logrorate.txt. I've tried popt-1.16 from BLFS-7.5 with logrotate-3.8.7.tar.gz (got it from https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8

Re: [blfs-support] OpenJDK issue

2014-06-22 Thread Alexey Orishko
On Sun, Jun 22, 2014 at 8:06 PM, Bruce Dubbs wrote: > My first reaction is why would you want to do that? As a part of some build process I'm compressing js. > My second thought is that all the virtual filesystems are not mounted in > chroot. Thank you! This was the reason for a failure. Best re

[blfs-support] OpenJDK issue

2014-06-22 Thread Alexey Orishko
Hi all, I've installed OpenJDK-1.7.0.51-x86_64 binary package provided for BLFS-7.5. If I run "java -version" in chroot, I get an error: OpenJDK 64-Bit Server VM warning: Can't detect initial thread stack location - find_vma failed Is there any way to run java in chroot environment? Regards, Al

Re: [blfs-support] BASH history

2014-06-09 Thread Alexey Orishko
On Mon, Jun 9, 2014 at 10:36 PM, Fernando de Oliveira wrote: > > #unset HISTFILE Thanks, I've missed that line while looking through configuration files. I understand security risk, but while I'm still building the system (beyond blfs) I'd like to reuse history feature. Regards, Alexey -- http:

Re: [blfs-support] BASH history

2014-06-09 Thread Alexey Orishko
On Mon, Jun 9, 2014 at 9:05 PM, Ken Moffat wrote: > > Perhaps root never logs out before running 'shutdown' ? even if it doesn't, .bash_history file contains some entries which never shown. Regards, Alexey -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscra

[blfs-support] BASH history

2014-06-09 Thread Alexey Orishko
Hi all, Suddenly I've noticed, that bash history is not working for root user between sessions (don't have other users yet). I can navigate commands from current session, but previous. I'm using version BLFS-7.5 and I don't remember creating this file manually (I assume was done by bash itself):

Re: [blfs-support] Failed to boot from USB stick

2014-05-18 Thread Alexey Orishko
On Sun, May 18, 2014 at 1:11 PM, Richard Melville wrote: > That's good news, but I'm not convinced that your problem was a > syslinux version issue. I'm still using 4.05 which works for me, and > I think we are booting similar hardware. I never said my problem was with syslinux (I'm using extlin

Re: [blfs-support] Failed to boot from USB stick

2014-05-17 Thread Alexey Orishko
On Wed, Mar 12, 2014 at 12:07 PM, Richard Melville wrote: >> I can't boot BLFS 7.4 system (Intel Atom 32-bit) from USB stick on >> some motherboards, but I can do it on the same motherboard type with >> different (old) BIOS version. > > What worked for me in the end is the following: I don't use

Re: [blfs-support] BLFS 7.5 broken link in Apache chapter

2014-04-28 Thread Alexey Orishko
On Mon, Apr 28, 2014 at 2:44 AM, Bruce Dubbs wrote: > Alexey Orishko wrote: > Installing man pages and online manual > mkdir /usr/share/httpd/manual > make[1]: Leaving directory '/tmp/apache/httpd-2.4.7' > I wonder if we're talking about the

[blfs-support] BLFS 7.5 broken link in Apache chapter

2014-04-27 Thread Alexey Orishko
Hi guys, In BLFS 7.5 Apache-2.4.7 under "Configuration Information": clicking on "/usr/share/httpd/manual/configuring.html" results in "Page not found!" Regards, Alexey -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See