Bug 810433

Summary: [abrt] tuned-2.0-1.fc17: daemon.py:22:daemonize:OSError: [Errno 13] Permission denied
Product: [Fedora] Fedora Reporter: kopano.fedora
Component: tunedAssignee: Jan Vcelak <jvcelak>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jkaluza, jskarvad, jvcelak, pknirsch, tsmetana, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:cb21de9a23d2657960de9863a2a26bb30a86aaa7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-03 21:22:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description kopano.fedora 2012-04-06 06:46:03 UTC
libreport version: 2.0.10
abrt_version:   2.0.9
cmdline:        /usr/bin/python /usr/sbin/tuned -d
comment:        tried seting up and starting the "tuned" service
executable:     /usr/sbin/tuned
kernel:         3.3.0-5.fc17.x86_64
time:           Sat 31 Mar 2012 11:00:36 AM CAT
uid:            0
username:       root

backtrace:
:daemon.py:22:daemonize:OSError: [Errno 13] Permission denied
:
:Traceback (most recent call last):
:  File "/usr/sbin/tuned", line 75, in <module>
:    if tuned.utils.daemonize(3):
:  File "/usr/lib/python2.7/site-packages/tuned/utils/daemon.py", line 22, in daemonize
:    os.kill(parent_pid, signal.SIGUSR1)
:OSError: [Errno 13] Permission denied
:
:Local variables in innermost frame:
:parent_pid: 12601
:timeout: 3
:pidfile: '/var/run/tuned/tuned.pid'

smolt_data:
:
:
:General
:=================================
:UUID: c8d17c4f-55d8-4801-916d-f0df4dbcaf76
:OS: Fedora release 17 (Beefy Miracle)
:Default run level: Unknown
:Language: en_US.UTF-8
:Platform: x86_64
:BogoMIPS: 4190.37
:CPU Vendor: GenuineIntel
:CPU Model: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz
:CPU Stepping: 7
:CPU Family: 6
:CPU Model Num: 42
:Number of CPUs: 4
:CPU Speed: 2100
:System Memory: 7897
:System Swap: 0
:Vendor: Hewlett-Packard
:System: HP ProBook 5330m A0001D02
:Form factor: Notebook
:Kernel: 3.3.1-3.fc17.x86_64
:SELinux Enabled: 1
:SELinux Policy: targeted
:SELinux Enforce: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Devices
:=================================
:(5348:18215:4156:5212) pci, bcma-pci-bridge, NETWORK, BCM4313 802.11b/g/n Wireless LAN Controller
:(32902:278:4156:5711) pci, i915, VIDEO, 2nd Generation Core Processor Family Integrated Graphics Controller
:(32902:7190:4156:5711) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 4
:(32902:7184:4156:5711) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 1
:(32902:7247:4156:5711) pci, None, PCI/ISA, QM67 Express Chipset Family LPC Controller
:(32902:7200:4156:5711) pci, snd_hda_intel, MULTIMEDIA, 6 Series/C200 Series Chipset Family High Definition Audio Controller
:(32902:5378:4156:5667) pci, e1000e, ETHERNET, 82579LM Gigabit Network Connection
:(32902:7188:4156:5711) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 3
:(6523:9106:4156:5711) pci, sdhci-pci, BASE, SD/MMC Host Controller
:(6523:9105:4156:5711) pci, None, BASE, Standard SD Host Controller
:(32902:7171:4156:5711) pci, ahci, STORAGE, 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
:(32902:7213:4156:5711) pci, ehci_hcd, USB, 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
:(32902:7206:4156:5711) pci, ehci_hcd, USB, 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
:(32902:260:4156:5711) pci, agpgart-intel, HOST/PCI, 2nd Generation Core Processor Family DRAM Controller
:(32902:7226:4156:5711) pci, None, SIMPLE, 6 Series/C200 Series Chipset Family MEI Controller #1
:
:
:Filesystem Information
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/sda4 / ext4 4096 4096 32435507 29622790 29298155 8118272 7823127 7823127
:

Comment 1 Jan Vcelak 2012-05-03 07:17:33 UTC
Do you encounter this crash with latest tuned and selinux-policy?

I believe wrong SELinux policy is the cause, otherwise I do not know why sending a signal to a parent process would fail when running as UID 0.

Comment 2 kopano.fedora 2012-05-03 18:06:36 UTC
I works fine now! Problem is i have done one too many updates! I can't quite
tell which update fixed the problem!

Comment 3 Jan Vcelak 2012-05-03 21:22:01 UTC
OK. Thank you. :-)