PDA

View Full Version : Sorry! The system printing service doesn't seem to be available


bennachie
13th April 2011, 01:27 AM
Adding printers under Beta-RC2 seems to be a somewhat fraught business at the moment.

I was initially quite impressed by the Printers utility under System Settings. The utility correctly identified the two printers connected to this computer (a Brother HL2140 and an HP F2280). I went ahead and requested that the HL2140 be added to the list of printers available. The utility identified the correct packages required to support that printer (Foomatic PPD lists) and I gave the OK to download them.

Downloading and installation appeared to proceed normally, but then I received an SELinux notification that an error had occurred. The error appeared to relate only to the absence of permission to access a log file, so I clicked on the "ignore" button (yes, I know, I should have reported a bug at that stage). After a few seconds, I received a notification that the HL2140 had been added to the list of available printers.

I returned to the Printers utility to add the F2280. Again, the utility correctly identified the missing package (hpijs in this case), and downloading and installation appeared to proceed normally. After that process had been completed, however, the utility locked up. After waiting for several minutes just in case something constructive was about to happen, I logged out and logged in again. On returning to the Printers utility, I received the above message. Shutting down and restarting the system has not resolved the problem, nor has removing and reinstalling system-config-printer.

I should, perhaps, add that all the relevant packages mentioned above now appear to be present and correct. Any suggestions for fixing the impasse without reinstalling the whole system would be welcomed!

smr54
13th April 2011, 01:36 AM
There seem to be some cups problems at the moment. I know that Adam filed a bug about cups crashing when adding a printer with hplip It may be that cups right now, is problematic in general.

You might try (no guarantees) rather than using the system-config-printer utility, the cups web interface and see if you have better luck. You could try temporarily disabling selinux (with setenforce 0) and see if that makes a difference, though my own, very casual testing with the hplip problem mentioned above indicates that that won't help.

bennachie
13th April 2011, 02:12 AM

Thanks, I'll try those workarounds. I saw the note from Adam, but didn't realise that it might refer to a more general problem. Incidentally, the error message from SELinux was as follows:

Source process: /usr/libexec/colord
Attempted process: write
On this sock_file: log

The following details were provided:

If you believe that colord should be allowed write access on the log sock_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do allow this access for now by executing:
# grep colord /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context system_u:system_r:colord_t:s0-s0:c0.c1023
Target Context system_u:object_r:devlog_t:s0
Target Objects log [ sock_file ]
Source colord
Source Path /usr/libexec/colord
Port <Unknown>
Host Lenovo-Desktop
Source RPM Packages colord-0.1.1-3.fc15
Target RPM Packages
Policy RPM selinux-policy-3.9.16-13.fc15
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name Lenovo-Desktop
Platform Linux Lenovo-Desktop 2.6.38.2-9.fc15.i686 #1 SMP
Wed Mar 30 16:54:01 UTC 2011 i686 i686
Alert Count 3
First Seen Wed 13 Apr 2011 09:43:53 EST
Last Seen Wed 13 Apr 2011 10:01:00 EST
Local ID 960af9ca-2cfb-4a7a-8d63-df7b8174ebc1

smr54
13th April 2011, 03:38 AM
Note that I don't _know_ that there's a wider spread printing problem. I've only heard of it (up till now) when in conjunction with hplip. Of course, it might be one of those aggravating Just Me(TM) issues, but my guess and perhaps, hope, is that there's something a little buggy in cups right now that they'll soon set right.