cannot print on rawhide

Antonio Olivares olivares14031 at yahoo.com
Fri Dec 12 01:05:15 UTC 2008


> What happens if you turn selinux off ( setenforce 0 )
> and you try to print.
> 
> JBG
> -- 

Same thing happens :(
Can't print, I booted with enforcing=0 parameter and still cannot print :(

[olivares at localhost ~]$ dmesg | grep SELinux
SELinux:  Initializing.
SELinux:  Starting in permissive mode
SELinux:  Registering netfilter hooks
SELinux: 8192 avtab hash slots, 113367 rules.
SELinux: 8192 avtab hash slots, 113367 rules.
SELinux:  8 users, 14 roles, 2668 types, 117 bools, 1 sens, 1024 cats
SELinux:  73 classes, 113367 rules
SELinux:  Completing initialization.
SELinux:  Setting up existing superblocks.
SELinux: initialized (dev dm-0, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses genfs_contexts
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev inotifyfs, type inotifyfs), uses genfs_contexts
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
SELinux: initialized (dev sda3, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
SELinux: initialized (dev sda1, type fuseblk), uses genfs_contexts
SELinux: initialized (dev sda6, type ext3), uses xattr


Here's new log:

Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Is local server publishing?):
{'local_server_exporting_printers': False}
Page 3 (Choose printer):
{'cups_dest': <cups.Dest DESKJET_810C (default)>,
 'cups_instance': None,
 'cups_queue': 'DESKJET_810C',
 'cups_queue_listed': True}
Page 4 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
 'cups_printer_dict': {'device-uri': u'hp:/usb/DeskJet_810C?serial=MY94M1621WGI',
                       'printer-info': u'HEWLETT-PACKARD DESKJET 810C',
                       'printer-is-shared': True,
                       'printer-location': u'',
                       'printer-make-and-model': u'HP DeskJet 812C Foomatic/hpijs (recommended)',
                       'printer-state': 3,
                       'printer-state-message': u'',
                       'printer-state-reasons': [u'none'],
                       'printer-type': 131072,
                       'printer-uri-supported': u'ipp://localhost:631/printers/DESKJET_810C'},
 'cups_printer_remote': False,
 'hplip_output': (['',
                   '\x1b[01mHP Linux Imaging and Printing System (ver. 2.8.7)\x1b[0m',
                   '\x1b[01mDevice Information Utility ver. 4.1\x1b[0m',
                   '',
                   'Copyright (c) 2001-8 Hewlett-Packard Development Company, LP',
                   'This software comes with ABSOLUTELY NO WARRANTY.',
                   'This is free software, and you are welcome to distribute it',
                   'under certain conditions. See COPYING file for more details.',
                   '',
                   '',
                   '\x1b[01mhp:/usb/DeskJet_810C?serial=MY94M1621WGI\x1b[0m',
                   '',
                   '\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
                   '\x1b[01m  Parameter                     Value(s)                                                  \x1b[0m',
                   '  ----------------------------  ----------------------------------------------------------',
                   '  agent1-ack                    False                                                     ',
                   '  agent1-desc                   Black cartridge                                           ',
                   '  agent1-dvc                    0                                                         ',
                   '  agent1-health                 0                                                         ',
                   '  agent1-health-desc            Good/OK                                                   ',
                   '  agent1-hp-ink                 False                                                     ',
                   '  agent1-id                     0                                                         ',
                   '  agent1-kind                   3                                                         ',
                   '  agent1-known                  False                                                     ',
                   '  agent1-level                  0                                                         ',
                   '  agent1-level-trigger          0                                                         ',
                   '  agent1-sku                    15 (C6615DN)                                              ',
                   '  agent1-type                   1                                                         ',
                   '  agent1-virgin                 False                                                     ',
                   '  agent2-ack                    False                                                     ',
                   '  agent2-desc                   Tri-color cartridge                                       ',
                   '  agent2-dvc                    0                                                         ',
                   '  agent2-health                 0                                                         ',
                   '  agent2-health-desc            Good/OK                                                   ',
                   '  agent2-hp-ink                 False                                                     ',
                   '  agent2-id                     0                                                         ',
                   '  agent2-kind                   3                                                         ',
                   '  agent2-known                  False                                                     ',
                   '  agent2-level                  0                                                         ',
                   '  agent2-level-trigger          0                                                         ',
                   '  agent2-sku                    23 (C1823D)                                               ',
                   '  agent2-type                   2                                                         ',
                   '  agent2-virgin                 False                                                     ',
                   '  back-end                      hp                                                        ',
                   '  cups-printer                  DESKJET_810C                                              ',
                   '  cups-uri                      hp:/usb/DeskJet_810C?serial=MY94M1621WGI                  ',
                   '  dev-file                                                                                ',
                   '  device-state                  1                                                         ',
                   '  device-uri                    hp:/usb/DeskJet_810C?serial=MY94M1621WGI                  ',
                   '  deviceid                      MFG:HEWLETT-PACKARD;MDL:DESKJET                           ',
                   '                                810C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Pac',
                   '                                kard DeskJet                                              ',
                   '                                810C;SERN:MY94M1621WGI;VSTATUS:$HB0$FC0,ff,DN,IDLE,CUT;   ',
                   '  duplexer                      0                                                         ',
                   '  error-state                   0                                                         ',
                   '  host                                                                                    ',
                   '  in-tray1                      0                                                         ',
                   '  in-tray2                      0                                                         ',
                   '  is-hp                         True                                                      ',
                   '  media-path                    1                                                         ',
                   '  panel                         0                                                         ',
                   '  panel-line1                                                                             ',
                   '  panel-line2                                                                             ',
                   '  photo-tray                    0                                                         ',
                   '  port                          1                                                         ',
                   '  r                             0                                                         ',
                   '  revision                      255                                                       ',
                   '  rg                            000                                                       ',
                   '  rr                            000000                                                    ',
                   '  rs                            000000000                                                 ',
                   '  serial                        MY94M1621WGI                                              ',
                   '  status-code                   1000                                                      ',
                   '  status-desc                   Idle.                                                     ',
                   '  supply-lid                    0                                                         ',
                   '  top-lid                       1                                                         ',
                   '\x1b[01m',
                   'Model Parameters (static data):\x1b[0m',
                   '\x1b[01m  Parameter                     Value(s)                                                  \x1b[0m',
                   '  ----------------------------  ----------------------------------------------------------',
                   '  align-type                    2                                                         ',
                   '  clean-type                    1                                                         ',
                   '  color-cal-type                0                                                         ',
                   '  copy-type                     0                                                         ',
                   '  embedded-server-type          0                                                         ',
                   '  fax-type                      0                                                         ',
                   '  fw-download                   0                                                         ',
                   '  icon                          DESKJET_840C.png                                          ',
                   '  io-mfp-mode                   6                                                         ',
                   '  io-mode                       1                                                         ',
                   '  io-support                    1                                                         ',
                   '  job-storage                   0                                                         ',
                   '  linefeed-cal-type             0                                                         ',
                   '  model                         DeskJet_810C                                              ',
                   '  model-ui                      HP Deskjet 810c                                           ',
                   '  model1                        Deskjet 810c                                              ',
                   '  panel-check-type              0                                                         ',
                   '  pcard-type                    0                                                         ',
                   '  plugin                        0                                                         ',
                   '  power-settings                0                                                         ',
                   '  pq-diag-type                  0                                                         ',
                   '  r-type                        0                                                         ',
                   '  r0-agent1-kind                3                                                         ',
                   '  r0-agent1-sku                 15 (C6615DN)                                              ',
                   '  r0-agent1-type                1                                                         ',
                   '  r0-agent2-kind                3                                                         ',
                   '  r0-agent2-sku                 23 (C1823D)                                               ',
                   '  r0-agent2-type                2                                                         ',
                   '  scan-style                    0                                                         ',
                   '  scan-type                     0                                                         ',
                   '  status-battery-check          0                                                         ',
                   '  status-dynamic-counters       0                                                         ',
                   '  status-type                   1                                                         ',
                   '  support-released              1                                                         ',
                   '  support-type                  2                                                         ',
                   '  support-ver                   0.9.5                                                     ',
                   "  tech-class                    ['DJ8xx']                                                 ",
                   "  tech-subclass                 ['Normal']                                                ",
                   '  tech-type                     2                                                         ',
                   '  usb-pid                       0304                                                      ',
                   '  usb-vid                       03f0                                                      ',
                   '',
                   'Done.',
                   ''],
                  ['\x1b[35;01mwarning: Unable to start hp-systray\x1b[0m',
                   '']),
 'is_cups_class': False}
Page 5 (Check PPD sanity):
{'cups_printer_ppd_defaults': {u'General': {u'PageRegion': u'Letter',
                                            u'PageSize': u'Letter',
                                            u'PrintoutMode': u'Draft'},
                               u'PrintoutMode': {u'Quality': u'FromPrintoutMode'}},
 'cups_printer_ppd_valid': True,
 'missing_pkgs_and_exes': ([], [])}
Page 6 (Locale issues):
{'system_locale_lang': 'en_US',
 'user_locale_ctype': 'en_US',
 'user_locale_messages': 'en_US'}
Page 7 (Local or remote?):
{'printer_is_remote': False}
Page 8 (Choose device):
{'cups_device_dict': {'device-class': u'direct',
                      'device-id': u'MFG:HP;MDL:DeskJet 810C;CLS:PRINTER;DES:DeskJet 810C;SN:MY94M1621WGI;',
                      'device-info': u'HP DeskJet 810C USB MY94M1621WGI HPLIP',
                      'device-make-and-model': u'HP DeskJet 810C'}}
Page 9 (Check USB permissions):
{'getfacl_output': [('Bus 002 Device 002: ID 03f0:0304 Hewlett-Packard DeskJet 810c/812c',
                     ['# file: dev/bus/usb/002/002',
                      '# owner: root',
                      '# group: root',
                      'user::rw-',
                      'user:olivares:rw-',
                      'group::r--',
                      'group:lp:rw-',
                      'mask::rw-',
                      'other::r--'])]}
Page 10 (Print test page):
{'test_page_attempted': True,
 'test_page_job_status': [],
 'test_page_submit_failure': (1030, 'client-error-not-found'),
 'test_page_successful': True}




      




More information about the fedora-test-list mailing list