Serious flaw in LFS (Linux From Scratch) system build?

From: learner (learningturtle_at_mail.com)
Date: 12/30/03


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



Relevant Pages

  • Re: Serious flaw in LFS (Linux From Scratch) system build?
    ... > I got to tell my horrible time for installing Linux on the fresh Linux ... > box I built from LFS. ...
    (comp.os.linux.setup)
  • Re: free vs commercial
    ... > comparing the Linux I had installed with WinXP. ... think we as a whole would acknowledge the warts Debian and Linux have but I ... Installing my suite of software on Windows requires a CD-R ...
    (Debian-User)
  • Re: Is Zotob A MS Plot . . . .
    ... Problem is the simple Wintards around here are too busy sucking ... all that is required to have no problems running hardware under Linux. ... all Windows machines slowly degenerate over time. ... first thing to do after installing is to visit http://easyurpmi.zarb.org/ ...
    (microsoft.public.windowsxp.general)
  • Re: dilemmas galore
    ... that i would also like to study operating systems in depth with hands- ... 1)how much is unix different from linux? ... You can start by installing Solaris on a system, familiarizing yourself with the hardware, configuring the disks, installing software. ...
    (comp.unix.solaris)
  • HDMI and Linux - do they work well together?
    ... I've been considering installing Linux as a dual ... My past tries at Linux have found it to be rather user unfriendly. ... I'd been looking at motherboards, and have pretty much settled on the AM2. ... I'm not sure I really like the whole idea of HDMI. ...
    (comp.os.linux.hardware)