successful printing

-------------------------------------------------------------------------
/var/log/syslog

Jul 21 13:57:20 PC535li cups-lpd[11552]: Receive print job for psprint
Jul 21 13:57:20 PC535li cups-lpd[11552]: Print file - job ID = 94
Jul 21 13:57:20 PC535li cups-lpd[11552]: Closing connection
Jul 21 13:57:20 PC535li kernel: [19437.375611] audit(1216641440.551:38):
type=1503 operation="inode_permission" requested_mask="::r"
denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=11558
profile="/usr/sbin/cupsd" namespace="default"
Jul 21 13:57:20 PC535li kernel: [19437.375642] audit(1216641440.551:39):
type=1503 operation="inode_permission" requested_mask="::r"
denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=11558
profile="/usr/sbin/cupsd" namespace="default"
Jul 21 13:57:20 PC535li kernel: [19437.385953] audit(1216641440.563:40):
type=1503 operation="inode_permission" requested_mask="::r"
denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=11558
profile="/usr/sbin/cupsd" namespace="default"
Jul 21 13:57:50 PC535li cups-lpd[11561]: Connection from blackfin (IPv4
192.168.70.120)
Jul 21 13:57:50 PC535li cups-lpd[11561]: Receive print job for psprint
Jul 21 13:57:50 PC535li cups-lpd[11561]: Print file - job ID = 95
Jul 21 13:57:50 PC535li cups-lpd[11561]: Closing connection
Jul 21 13:57:50 PC535li kernel: [19467.618088] audit(1216641470.839:41):
type=1503 operation="inode_permission" requested_mask="::r"
denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=11567
profile="/usr/sbin/cupsd" namespace="default"
Jul 21 13:57:50 PC535li kernel: [19467.618823] audit(1216641470.843:42):
type=1503 operation="inode_permission" requested_mask="::r"
denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=11567
profile="/usr/sbin/cupsd" namespace="default"
Jul 21 13:57:50 PC535li kernel: [19467.626842] audit(1216641470.851:43):
type=1503 operation="inode_permission" requested_mask="::r"
denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=11567
profile="/usr/sbin/cupsd" namespace="default"
-------------------------------------------------------------------------

/ # lpr
[EMAIL PROTECTED] /etc/hosts                                                    
                                                                  
/ #  strace -f -v -s 1024  lpr
[EMAIL PROTECTED] /etc/hosts                                                    
                                           
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {c_iflags=0x500, c_oflags=0x5,
c_cflags=0x1cb1, c_lflags=0x8a3b, c_line=0, c_cc="\x03\x1c\x08\x15\x04
\x00\x01\x00\x0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {c_iflags=0x500, c_oflags=0x5,
c_cflags=0x1cb1, c_lflags=0x8a3b, c_line=0, c_cc="\x03\x1c\x08\x15\x04
\x00\x01\x00\x0
getuid32()                              =
0                                                                               
                                  
getuid32()                              =
0                                                                               
                                  
open("/etc/passwd", O_RDONLY)           =
3                                                                               
                                  
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x462c9c) = -1 ENOTTY
(Inappropriate ioctl for
device)                                                              
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS|
0x4000000, 0, 0) =
0xfa6000                                                                
read(3, "root:C7O0oWtNuGHNE:0:0:root:/root:/bin/sh
\nnobody:x:99:99:Nobody::\n", 256) =
66                                                                   
close(3)                                =
0                                                                               
                                  
open("/etc/resolv.conf", O_RDONLY)      = -1 ENOENT (No such file or
directory)                                                                      
       
open("/etc/config/resolv.conf", O_RDONLY) = -1 ENOENT (No such file or
directory)                                                                      
     
open("/etc/hosts", O_RDONLY)            =
3                                                                               
                                  
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x4625e4) = -1 ENOTTY
(Inappropriate ioctl for
device)                                                              
read(3, "# Do not remove the following line, or various programs\n# that
require network functionality will fail.\n127.0.0.1
\tlocalhost.localdomain\tlocalh9
close(3)                                =
0                                                                               
                                  
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) =
3                                                                               
                                 
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) =
0                                                                               
                          
connect(3, {sa_family=AF_INET, sin_port=htons(515),
sin_addr=inet_addr("192.168.70.12")}, 16) =
0                                                           
getpid()                                =
343                                                                             
                                  
uname({sysname="Linux", nodename="blackfin",
release="2.6.22.18-ADI-2008R1-svn", version="#60 Fri Jul 18 13:39:32
CEST 2008", machine="blackfin"}) = 0      
write(3, "\2psprint\n", 9)              =
9                                                                               
                                  
read(3, "\0", 1)                        =
1                                                                               
                                  
open("/etc/hosts", O_RDONLY)            =
4                                                                               
                                  
write(3, "\00244 cfA343blackfin\nHblackfin\nProot\nJ/etc/hosts
\nldfA343blackfin\n\0", 64) =
64                                                              
read(3, "\0", 1)                        =
1                                                                               
                                  
fstat(4, {st_dev=makedev(0, 1), st_ino=258, st_mode=S_IFREG|0644,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8,
st_size=189, st_atime=2008/0
write(3, "\003189 dfA343blackfin\n", 20) =
20                                                                              
                                 
read(4, "# Do not remove the following line, or various programs\n# that
require network functionality will fail.\n127.0.0.1
\tlocalhost.localdomain\tlocalh9
write(3, "# Do not remove the following line, or various programs\n#
that require network functionality will fail.\n127.0.0.1
\tlocalhost.localdomain\tlocal9
write(3, "\0", 1)                       =
1                                                                               
                                  
read(3, "\0", 1)                        =
1                                                                               
                                  
close(3)                                =
0                                                                               
                                  
_exit(0)
= ?                                                                             
                                    
Process 343
detached                                                                        
                                                                
/ # 

-------------------------------------------------------------------------


-  
Mit freundlichen Gruessen / Best regards

Klaus Hachmeister
Research & Development


Am Montag, den 21.07.2008, 15:51 +0400 schrieb Vladimir Dronnikov:
> Hmm...
> 
> write(3, "\0", 1)                       =
> 1
> read(3, "\0", 1)                        =
> 1
> 
> tells us that the file transfer succeeded.
> 
> Can you send strace output (as attchment, please) of successful lpr?
> 
> --
> Vladimir
> 
> 
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to