home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!wupost!csus.edu!netcom.com!zmbenhal
- From: zmbenhal@netcom.com (Zeyd M. Ben-Halim)
- Subject: Re: lpr/lpd suite bugs?
- Message-ID: <1993Jan7.223252.15015@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1993Jan7.152716.25821@cli.di.unipi.it>
- Date: Thu, 7 Jan 1993 22:32:52 GMT
- Lines: 35
-
- In article <1993Jan7.152716.25821@cli.di.unipi.it> romano@pimac2.iet.unipi.it (Romano Giannetti) writes:
- >Hi all.
- >
- >#1 When doing a lpq from my non-privileged account I have the message
- > "Warning: daemon not present" or similar, but lpd is there, from
- > the other "root" VC I have a "ps i ready and printing" , and all
- > seems go well... permissions broken? But where?
-
- I traced this through gdb. when lpq reads /usr/spool/lpd.lock (where lpd
- leaves its pid) it reads the wrong value! In one case:
- lpd pid == 113
- contents of lpd.lock is 113.
- lpq reads 166!
- it then checks that a process of that id is present and fails!
- A bug in read?
-
- >Thank you very mauch. If I have answer, or if I manage to make things
- > work, I will post a summary here. (We need some more summary on
- > c.o.l., I think...).
- >
- >I am running 0.99pl1, loopback only tcp/ip, libc.so.4.2 (one of the latest
- >release).
-
- So am I.
-
- >--
- >***************************************************************************
- >* Romano Giannetti * Dip.to di Ingegneria dell'Informazione *
- >* * Elettronica, Informatica e Telecomunicazioni*
- >* romano@iet.unipi.it * via Diotisalvi,2 *
- >* giannetti@sssup1.sssup.it * Universita' di Pisa, I-56126 PISA, Italy *
- >***************************************************************************
-
- Zeyd
-
-