Bug 733046
Summary: | udisks-lvm-pv-export segfault after avc - and then system hangs for 2 minutes | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> | ||||
Component: | udisks | Assignee: | David Zeuthen <davidz> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | davidz, mclasen, wmealing | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | udisks-1.0.4-1.fc16 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-09-09 17:14:36 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: | |||||||
Attachments: |
|
Description
Mads Kiilerich
2011-08-24 15:02:56 UTC
Created attachment 519658 [details]
full dmesg
I can confirm, on both xfce and gnome "alpha" live cds' FWIW, on another compose on a different machine it neither segfaulted nor hang ... : [ 17.130371] applesmc: key=297 fan=1 temp=40 acc=0 lux=0 kbd=0 [ 17.132103] input: HDA Intel PCH HDMI/DP as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 [ 17.208033] type=1400 audit(1314203369.899:6): avc: denied { associate } for pid=465 comm="udevd" name="live" dev=devtmpfs ino=7356 scontext=system_u:object_r:default_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=filesystem [ 17.208844] udevd[465]: setfilecon /dev/live failed: Permission denied [ 17.221178] udevd[647]: failed to execute '/sbin/initqueue' '/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root /dev/sdb': No such file or directory [ 17.245404] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 The udisks-lvm-pv-export avc has been reported in bug 733083. Version 1.0.4 (just built) actually doesn't have the udisks-lvm-pv-export tool (for other reasons)... udisks-1.0.4-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/udisks-1.0.4-1.fc16 I guess the udev rule that started the tool also should be removed too so we don't get annoying error messages? [root@imac ~]# grep udisks-lvm-pv-export $(rpm -ql udisks-1.0.4-1.fc16) /lib/udev/rules.d/80-udisks.rules:ENV{ID_FS_TYPE}=="LVM2_member", TEST=="/lib/udev/udisks-lvm-pv-export", IMPORT{program}="udisks-lvm-pv-export $env{ID_FS_UUID}" (In reply to comment #7) > I guess the udev rule that started the tool also should be removed too so we > don't get annoying error messages? > > [root@imac ~]# grep udisks-lvm-pv-export $(rpm -ql udisks-1.0.4-1.fc16) > /lib/udev/rules.d/80-udisks.rules:ENV{ID_FS_TYPE}=="LVM2_member", > TEST=="/lib/udev/udisks-lvm-pv-export", IMPORT{program}="udisks-lvm-pv-export > $env{ID_FS_UUID}" It's fine that way, actually - The TEST=="/lib/udev/udisks-lvm-pv-export" part ensures that we don't run the command since it's not there. (It's done this way because building udisks with lvm support is optional and I didn't want to have to add complicated Makefile rules to build a 80-udisks.rules with or without lvm support. So it's harmless.) Package udisks-1.0.4-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing udisks-1.0.4-1.fc16' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/udisks-1.0.4-1.fc16 then log in and leave karma (feedback). udisks-1.0.4-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |