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

Bug#381250: marked as done (cupsd goes into a busy-loop)



Your message dated Sun, 1 Jun 2008 23:09:06 +0200
with message-id <20080601210906.GB6509@piware.de>
and subject line Cleaning up old bug reports
has caused the Debian Bug report #381250,
regarding cupsd goes into a busy-loop
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
381250: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=381250
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cupsys
Version: 1.2.2-1

I was just heavily playing with the cups configuration, trying
(unsuccessfully) to get it to work with hplip and hp:/ URIs.

So I backed everything out, and now find that if I try to use the
"Modify Printer" option" on the web interface (https://server:631/), then
as soon as I "Continue" past the initial Name/Location/Description page,
cupsd stops responding and instead goes into a silly loop:

select(1024, [2 3 4 5 6 7 9 10 12 13 14], [12 13], NULL, {1, 0}) = 3 (in [12], out [12 13], left {1, 0})
time(NULL)                              = 1154568871
select(1024, [2 3 4 5 6 7 9 10 12 13 14], [12 13], NULL, {1, 0}) = 3 (in [12], out [12 13], left {1, 0})
time(NULL)                              = 1154568871
select(1024, [2 3 4 5 6 7 9 10 12 13 14], [12 13], NULL, {1, 0}) = 3 (in [12], out [12 13], left {1, 0})
time(NULL)                              = 1154568871
select(1024, [2 3 4 5 6 7 9 10 12 13 14], [12 13], NULL, {1, 0}) = 3 (in [12], out [12 13], left {1, 0})
time(NULL)                              = 1154568871
select(1024, [2 3 4 5 6 7 9 10 12 13 14], [12 13], NULL, {1, 0}) = 3 (in [12], out [12 13], left {1, 0})
time(NULL)                              = 1154568871
select(1024, [2 3 4 5 6 7 9 10 12 13 14], [12 13], NULL, {1, 0}) = 3 (in [12], out [12 13], left {1, 0})
time(NULL)                              = 1154568872

The printers.conf file is

# Printer configuration file for CUPS v1.2.2
# Written by cupsd on 2006-08-02 20:48
<Printer color>
Info HP LaserJet 4550
Location Lobby
DeviceURI socket://lj4550.horizon.com.:9100/
State Idle
StateTime 1154544318
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer hp>
Info HP LaserJet 4300dtnsl
Location Documentation group
DeviceURI socket://lj4300.horizon.com.:9100/
State Idle
StateTime 1154561738
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer lablp>
Info HP LaserJet 1320tn
Location Production Test
DeviceURI socket://lj1320.horizon.com.:9100
State Idle
StateTime 1154532821
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<DefaultPrinter lp>
Info HP LaserJet 4100
Location Lobby
DeviceURI parallel:/dev/lp0
State Idle
StateTime 1154547781
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer prodcolor>
Info HP3550 Color LaserJet
Location Production Test
DeviceURI socket://lj3550.horizon.com.:9100
State Idle
StateTime 1150936798
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
<Printer tofile>
Info tofile
DeviceURI socket://localhost:511
State Stopped
StateMessage unable to open print file: Permission denied
StateTime 1150983154
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

Which all looks fine to me.  The last things that the server does before
going into this state are:

13059 open("/var/spool/cups/00000000", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0640) = 10
13059 fchmod(10, 0640)                  = 0
13059 fchown32(10, 0, 7)                = 0
13059 fcntl64(10, F_GETFD)              = 0 
13059 fcntl64(10, F_SETFD, FD_CLOEXEC)  = 0
13059 time(NULL)                        = 1154568636
13059 write(10, "OP=modify-printer&CURRENT_DEVICE_URI=socket%3A%2F%2Flj1320.horizon.com.%3A9100&CURRENT_MAKE_AND_MODEL=HP+LaserJet+1320+Foomatic%"..., 244) = 244
13059 fstat64(10, {st_mode=S_IFREG|0640, st_size=244, ...}) = 0
13059 close(10)                         = 0
13059 open("/var/spool/cups/00000000", O_RDONLY|O_LARGEFILE) = 10
13059 fcntl64(10, F_GETFD)              = 0 
13059 fcntl64(10, F_SETFD, FD_CLOEXEC)  = 0
13059 pipe([11, 12])                    = 0
13059 fcntl64(11, F_GETFD)              = 0 
13059 fcntl64(11, F_SETFD, FD_CLOEXEC)  = 0
13059 fcntl64(12, F_GETFD)              = 0
13059 fcntl64(12, F_SETFD, FD_CLOEXEC)  = 0 
13059 rt_sigprocmask(SIG_BLOCK, [TERM CHLD], [WINCH], 8) = 0
13059 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xa7e76928) = 13084
13059 rt_sigprocmask(SIG_SETMASK, [WINCH], NULL, 8) = 0
13059 unlink("/var/run/cups/certs/13084") = -1 ENOENT (No such file or directory)
13059 open("/var/run/cups/certs/13084", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0400) = 13
13059 fchmod(13, 0400)                  = 0
13059 fchown32(13, 7, 7)                = 0
13059 write(13, "965DBFD6142F73A3D2BA260FB1227C80", 32) = 32
13059 close(13)                         = 0
13059 close(12)                         = 0
13059 close(10)                         = 0
13059 time(NULL)                        = 1154568636
13059 write(1, "I [02/Aug/2006:21:30:36 -0400] Started \"/usr/lib/cups/cgi-bin/admin.cgi\" (pid=13084)\n", 85) = 85
13059 fcntl64(11, F_GETFD)              = 0x1 (flags FD_CLOEXEC)
13059 fcntl64(11, F_SETFD, FD_CLOEXEC)  = 0
13059 open("/var/log/cups/access_log", O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 10
13059 fcntl64(10, F_GETFD)              = 0
13059 fcntl64(10, F_SETFD, FD_CLOEXEC)  = 0
13059 fchown32(10, 0, 7)                = 0
13059 fchmod(10, 0644)                  = 0
13059 write(10, "192.35.100.62 - root [02/Aug/2006:21:30:35 -0400] \"POST /admin HTTP/1.1\" 200 244 - -\n", 85) = 85
13059 select(1024, [2 3 4 5 6 7 9 11], [9], NULL, {1, 0}) = 1 (out [9], left {1, 0})
13059 time(NULL)                        = 1154568636
13059 time(NULL)                        = 1154568636
13059 time(NULL)                        = 1154568636
13059 select(1024, [2 3 4 5 6 7 9 11], [9], NULL, {1, 0}) = 1 (out [9], left {1, 0})
13059 time(NULL)                        = 1154568636

(Tens of thousands of identical trace lines snipped.)


--- End Message ---
--- Begin Message ---
Dear bug submitter,

This bug was reported against a very old version of cups (older than
in the current stable Debian version "Etch"). About a year ago,
Martin-Eric Racine asked for feedback whether the bug still applied to
the current Debian Etch version, but we did not get any feedback. In
order to not keep around old, hardware-specific, and inactive bugs
around forever, I close this bug now.

Please report back if you still experience the problem with the
current version in Etch; if you can test Lenny/unstable, that would be
highly appreciated, of course. I will reopen this bug then.

Thank you for your report!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: