[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#330511: [Pkg-cups-devel] Bug#330511: Only root can print



On Wed, 28 Sep 2005, +18:53:49 EEST (UTC +0300),
Kenshi Muto <kmuto@debian.org> pressed some keys:

> At Wed, 28 Sep 2005 16:22:30 +0300,
> Juhapekka Tolvanen wrote:
> > Package: cupsys-bsd
> > Version: 1.1.23-12
> > Severity: important
> > 
> > I am not very sure, if this is the actual package that has bug.
> 
> > "Back-channel read error - Input/output error!"
> > Device URI: canon:/dev/lp0
> 
> Could you try "parallel:/dev/lp0" for this printer? You can modify via
> Web interface.
> Furthermore canon: backend isn't cupsys's or cupsys-bsd's, but
> is cupsys-driver-gutenprint's.

I did that and then run "/etc/init.d/cupsys restart". Then I printed
something as root and normal luser. Situation is still the same: root
can print but normal luser can't. But this has changed: If I load page
"http://localhost:631/printers"; to my WWW-browser, that printer looks
like this:

kirjoituksia    Canon LBP-8A1 Foomatic/lbp8
Description: Canon LBP-8 Mark IV
Location:
Printer State: idle, accepting jobs.
Device URI: parallel:/dev/lp0

As you can see, there is no more that input/output error.

Here are some lines from /var/log/cups/error_log

I [29/Sep/2005:02:51:35 +0300] Adding start banner page "none" to job 40.
I [29/Sep/2005:02:51:35 +0300] Adding end banner page "none" to job 40.
I [29/Sep/2005:02:51:35 +0300] Job 40 queued on 'kirjoituksia' by 'juhtolv'.
I [29/Sep/2005:02:51:35 +0300] Started filter /usr/lib/cups/filter/texttops (PID 12941) for job 40.
I [29/Sep/2005:02:51:35 +0300] Started filter /usr/lib/cups/filter/pstops (PID 12942) for job 40.
I [29/Sep/2005:02:51:35 +0300] Started filter /usr/lib/cups/filter/foomatic-rip (PID 12943) for job 40.
I [29/Sep/2005:02:51:35 +0300] Started backend /usr/lib/cups/backend/parallel (PID 12944) for job 40.
I [29/Sep/2005:02:52:12 +0300] Adding start banner page "none" to job 41.
I [29/Sep/2005:02:52:12 +0300] Adding end banner page "none" to job 41.
I [29/Sep/2005:02:52:12 +0300] Job 41 queued on 'kirjoituksia' by 'juhtolv'.
I [29/Sep/2005:02:52:12 +0300] Started filter /usr/lib/cups/filter/pstops (PID 12956) for job 41.
I [29/Sep/2005:02:52:12 +0300] Started filter /usr/lib/cups/filter/foomatic-rip (PID 12957) for job 41.
I [29/Sep/2005:02:52:12 +0300] Started backend /usr/lib/cups/backend/parallel (PID 12958) for job 41.


And hre are some lines from /var/log/cups/access_log

localhost - - [29/Sep/2005:02:51:35 +0300] "POST / HTTP/1.1" 200 137
localhost - - [29/Sep/2005:02:51:35 +0300] "POST / HTTP/1.1" 200 137
localhost - - [29/Sep/2005:02:51:35 +0300] "POST /printers/kirjoituksia HTTP/1.1" 200 602
localhost - - [29/Sep/2005:02:52:12 +0300] "POST / HTTP/1.1" 200 137
localhost - - [29/Sep/2005:02:52:12 +0300] "POST / HTTP/1.1" 200 137
localhost - - [29/Sep/2005:02:52:12 +0300] "POST /printers/kirjoituksia HTTP/1.1" 200 15376

Those lines came, when normal luser tried printing plain text and
PostScript.

What next?


-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Pahat enteet hiljaisuuden kaiken täyttää. Niin tuskaisen läsnä joka hetki,
vaikka pään pois kääntää. Vaikka sulkisi silmät kuva säilyy, eikä mee
minnekään, muttei silti tule luo, vaan tuijottaa tuijottamistaan."  Apulanta




Reply to: