Printing jobs
by Richard Vickery
can anyone help me figure out what is going on here? I'll look at it in the
morning, but still might not find it on my own.
SELinux is preventing /usr/lib/cups/filter/hpcups from search access on the
directory /var/lib/hp.
***** Plugin catchall (100. confidence) suggests
***************************
If you believe that hpcups should be allowed search access on the hp
directory 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 hpcups /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context system_u:object_r:hplip_var_lib_t:s0
Target Objects /var/lib/hp [ dir ]
Source hpcups
Source Path /usr/lib/cups/filter/hpcups
Port <Unknown>
Host localhost.localdomain
Source RPM Packages hpijs-3.13.2-1.fc18.x86_64
Target RPM Packages hplip-3.13.2-1.fc18.x86_64
Policy RPM selinux-policy-3.11.1-71.fc18.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name localhost.localdomain
Platform Linux localhost.localdomain
3.7.2-204.fc18.x86_64
#1 SMP Wed Jan 16 16:22:52 UTC 2013 x86_64
x86_64
Alert Count 1
First Seen 2013-03-29 21:55:27 PDT
Last Seen 2013-03-29 21:55:27 PDT
Local ID 9063f3dd-5d16-4075-94d6-dde1b6741646
Raw Audit Messages
type=AVC msg=audit(1364619327.931:341): avc: denied { search } for
pid=2487 comm="hpcups" name="hp" dev="dm-2" ino=1582738
scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023
tcontext=system_u:object_r:hplip_var_lib_t:s0 tclass=dir
type=SYSCALL msg=audit(1364619327.931:341): arch=x86_64 syscall=open
success=no exit=EACCES a0=424c24 a1=0 a2=1b6 a3=238 items=0 ppid=806
pid=2487 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7
fsgid=7 ses=4294967295 tty=(none) comm=hpcups
exe=/usr/lib/cups/filter/hpcups
subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)
Hash: hpcups,cupsd_t,hplip_var_lib_t,dir,search
audit2allow
#============= cupsd_t ==============
allow cupsd_t hplip_var_lib_t:dir search;
audit2allow -R
#============= cupsd_t ==============
allow cupsd_t hplip_var_lib_t:dir search;
Thanks for any help.
11 years, 1 month
Re: undo rm -rf *
by Rick Walker
> > I'm not a fan of trash directories. They give you a second chance, but
> > you may end up not really deleting things you wanted to delete. What
> > about a simple script something like this?
If you want something a bit more polished, you might check out
"nrm", available at http://www.omnisterra.com/walker/linux/nrm.html
It's a C program written to have the same arguments, return codes and
side effects as /bin/rm to the extent possible.
It moves files into the hidden sub-directory ".gone" instead of removing
files. You can remove files with "-s" and you get sequenced backups -
all files are saved with a time-stamp suffix for fine grained file
restores. There is a program "urm" to unremove the file, but most users
just do "ls .gone" to see what they've recently removed and then just
"mv" it back to their working directory.
There is an associated cron job that runs every day to permanently
remove all deleted files that are older than a configurable age.
The default is 3 days so you can get things back on Monday that you nuked
on Friday.
It's been running on HP-UX since about 1987, and on linux since 1997.
I'd consider it pretty solid at this point.
kind regards,
--
Rick Walker
11 years, 1 month
f18...
by Marc Blanc
Hello,
after new install of f18 i have some problems with the web. Only the some web
pages are loaded, like google. But when i want to access a link the browsers
(firefox and google-chrome-stable) don't open anything. I have no errors
messages... Impossible to download anything :((
Do you know this behavior ? Some softwares missing ?
Thank you in advance. Only mail works correctly.
--
M.B
11 years, 1 month
Can't Load Fedora 15
by Bill Kuns
My computer died, so I have to make a new one. The thing comes up
nicely, but when I try
to load the Fedora 15 I've been using, it won't go. I keep getting this
screen which demands
that I select a driver. What driver? Where do I find the blasted
thing? Isn't there a driver
on the Fedora 15 DVD?
I hope someone can help.
Bill Kuns
11 years, 1 month
fedora 18 and lsi latest kernels don't boot
by Gianluca Cecchi
Hello,
default 3.6.10-4.fc18.x86_64 f18 install kernel is ok.
Instead both
kernel-3.8.4-202.fc18
and
3.7.9-205.fc18
stop at boot with error and systemd emergency shell and journalctl
shows like in this picture:
https://docs.google.com/file/d/0BwoPbcrMv8mvd0Z0bExhTDYxQjQ/edit?usp=sharing
any hint?
I suspect raid controller:
The same thing happens on two intel blades after I install f18 and run
a yum update.
[root@management02 ~]# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.6.10-4.fc18.x86_64
root=/dev/mapper/fedora_management02-root ro nomodeset rd.md=0
rd.lvm.lv=fedora_management02/root rd.dm=0
rd.lvm.lv=fedora_management02/swap rd.luks=0 vconsole.keymap=us rhgb
quiet
[root@management02 ~]# lspci|grep SCSI
04:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064ET
PCI-Express Fusion-MPT SAS (rev 08)
[root@management02 ~]# cat /proc/mpt/version
mptlinux-3.04.20
Fusion MPT base driver
Fusion MPT SAS host driver
[root@management02 ~]# cat /proc/mpt/summary
ioc0: LSISAS1064E B3, FwRev=011e0000h, Ports=1, MaxQ=277, IRQ=30
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz
stepping : 5
microcode : 0x11
cpu MHz : 1596.000
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2
ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm
tpr_shadow vnmi flexpriority ept vpid
bogomips : 5852.54
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
...
Thanks in advance,
Gianluca
11 years, 1 month
driver for a printer connected to a remote computer
by antonio montagnani
A printer connected to a computer on my network is easily discovered but
driver is generally a Raw generic driver: therefore I cannot use part of
options (i.e. printing multiple pages on a single sheet and so on).
If I want to have full functionality I have to install driver by hand
using system-config-printer.
(I am using a Samsung ML-1610 laser printer)
Is this behaviour normal??
Antonio
Running Fedora F-18 (Spherical Cow)
On my home PcDesktop
11 years, 1 month
Fedora 18 "software": "check for update" hangs
by D. Hugh Redelmeier
When I selected "Software" and within that chose the menu item to check
for updates, the process worked for a while and then apparently made no
more progress but ate 100% of the CPU.
It is kind of scary interrupting an update, but after about half an hour
of no progress, I decided that there was no other way.
Do this in a superuser shell instead. It works and gives better feedback:
yum update
See <https://bugzilla.redhat.com/show_bug.cgi?id=922697>
PS. I consider software: check for updates less convenient than the
pre-F18 "sofware updates".
11 years, 1 month
Read AIFF metadata
by Ranbir
Hi Everyone,
I bought some AIFF tracks from Beatport the other day. I prefer them
over WAV because the AIFF have embedded album art, song name, etc.
I loaded them up in Audacious (F17+GNOME) which played them happily.
But, it's not reading any of the metadata. All of the fields are
displayed as empty. I tried VLC and mplayer, too. Still nothing.
I downloaded the same tracks on to a Windows 7 PC and listened to them
with VLC. VLC read the metadata without any problems. Hmmm....
I then installed Kid3 to see if it could read the metadata. Sure
enough, it was all there. So, the tracks are clearly not broken.
I tried converting the AIFFs to FLAC with ffmpeg and flac, but the
metadata was still missing.
I'd appreciate a recommendation for an audio player that can read AIFF
metadata in GNOME or better yet, how I can convert these AIFFs to FLAC
and keep the metadata intact.
Regards,
Ranbir
--
Kanwar Ranbir Sandhu
Linux 3.7.3-101.fc17.x86_64 x86_64 GNU/Linux
09:55:17 up 6 days, 20:36, 9 users, load average: 0.04, 0.06, 0.05
11 years, 1 month