home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23126 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.7 KB  |  46 lines

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