Bug 889542

Summary: /usr/sbin/dmeventd is leaking an open file descriptor to /run/dmeventd-client fifo_file
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: lvm2Assignee: Peter Rajnoha <prajnoha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: agk, bmarzins, bmr, dwysocha, extras-orphan, heinzm, jonathan, lvm-team, msnitzer, prajnoha, prockai, zkabelac
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lvm2-2.02.98-9.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-24 20:37:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Walsh 2012-12-21 16:28:22 UTC
type=AVC msg=audit(1356098756.745:808): avc:  denied  { read write } for  pid=5560 comm="uname" path="/run/dmeventd-client" dev="tmpfs" ino=13327 scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:object_r:lvm_var_run_t:s0 tclass=fifo_file
type=AVC msg=audit(1356099261.953:903): avc:  denied  { read write } for  pid=23449 comm="mkdir" path="/run/dmeventd-client" dev="tmpfs" ino=13327 scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:object_r:lvm_var_run_t:s0 tclass=fifo_file
type=AVC msg=audit(1356099261.979:905): avc:  denied  { read write } for  pid=23452 comm="ln" path="/run/dmeventd-client" dev="tmpfs" ino=13327 scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:object_r:lvm_var_run_t:s0 tclass=fifo_file
type=AVC msg=audit(1356099261.985:906): avc:  denied  { read write } for  pid=23453 comm="ln" path="/run/dmeventd-client" dev="tmpfs" ino=13327 scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:object_r:lvm_var_run_t:s0 tclass=fifo_file

fcntl(fd, F_SETFD, FD_CLOEXEC)

Comment 1 Peter Rajnoha 2013-01-15 14:07:14 UTC
Yes, the FD_CLOEXEC was missing, thanks for the report.

http://git.fedorahosted.org/cgit/lvm2.git/diff/?id=6fc596ca90640817fd555942bd5b5d3b7404a177

Comment 2 Fedora End Of Life 2013-04-03 20:20:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 3 Fedora Update System 2013-05-14 11:31:32 UTC
lvm2-2.02.98-9.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/lvm2-2.02.98-9.fc19

Comment 4 Fedora Update System 2013-05-24 20:37:40 UTC
lvm2-2.02.98-9.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.