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: Taking of installing stuff in different OSs ..
    ... I can interchange between Mac and Linux quite easily. ... Of course you didn't 1) See above and 2) Things like installing apps ... And what's this extra stuff that OSX does for you? ... That's not the case with Ubuntu, ...
    (uk.comp.sys.mac)
  • Re: Improvement in Freeview tuning functionality
    ... FWIW I've installed a number of different Linux distros here on three ... about right IIRC for installing something like Ubuntu here. ... And with many distros almost any other disk formats and filing ...
    (uk.tech.digital-tv)