Serious flaw in LFS (Linux From Scratch) system build?
From: learner (learningturtle_at_mail.com)
Date: 12/30/03
- Next message: CrayzeeWulf: "Re: Nicer and larger cursor: it has to be possible"
- Previous message: Carlos: "Re: Nicer and larger cursor: it has to be possible"
- Next in thread: David: "Re: Serious flaw in LFS (Linux From Scratch) system build?"
- Reply: David: "Re: Serious flaw in LFS (Linux From Scratch) system build?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Dec 2003 01:41:02 -0800
Hello there,
I got to tell my horrible time for installing Linux on the fresh Linux
box I built from LFS.
I built kernel
Installed Gnulpr - failed
Installed CUPS - failed
again - failed
again - failed
again - failed
Installed LPRng - succeed
The problem I just found - I spent at least 24 hours to make the print
works. :-(
There was no daemon user in /etc/passwd file. So, the dameon process
could not get any permission to do there job.
/etc/passwd had only two users
root
buddy <- it was the user name I created.
I installed LPRng program. When the lpd was running, it was always
'waiting'.
/var/spool/lpdlp <- which installed automatically by the
installation script
had file permission only for root!
-rw------- root, daemon
Here is the error message
cannot chdir to '/var/spool/lpdlp' as UID 6, GRP 6
owner/group of '/var/spool/lpdlp' are 0/6, not 6/6
The root has 0 UID and daemon has 6 GID in the system. There was no
way to the lpd daemon to access the files it had to read/write.
I created 'daemon' user after that the lpd began to work properly.
I searched the LFS document throughly about setting up daemon process.
There was not a single issue. So, I searched the Byond LFS web site.
It did not explain how to setup daemon ids for running server
application - lpd, telnetd, etc.
If I did not have another Linux box - 8 years old laptop, I would
spend more times to solve this problem.
I wonder why the author did not explain it clearly or the BLSF people.
I compared the /etc/group and /etc/passwd content against two other
Linux systems. The others have daemon user in /etc/passwd.
My question is "Can Linux run without daemon user?"
PS.
My E-mail is pyonbird at writeme dot com
- Next message: CrayzeeWulf: "Re: Nicer and larger cursor: it has to be possible"
- Previous message: Carlos: "Re: Nicer and larger cursor: it has to be possible"
- Next in thread: David: "Re: Serious flaw in LFS (Linux From Scratch) system build?"
- Reply: David: "Re: Serious flaw in LFS (Linux From Scratch) system build?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|