Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-28-2014, 06:07 PM   #1
LQ Newbie
Registered: Oct 2013
Posts: 21

Rep: Reputation: Disabled
LVM2 = File descryptor leaked on pv/vg/lv creation

Is this a security concern?

File descryptor 6 (/run/systemd/sessions/c1.ref) leaked on pvcreate invocation. Parent PID 334: -zsh
I get this message when installing Arch with LVM + Luks.
Old 05-28-2014, 09:16 PM   #2
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Hi Amanda!

I think it's potentially a security problem. From :

Note - leaked message is basically harmless - it only reports that it was executed from environment which left more opened descriptors than stdin/out/err - this may present security problem - that's why lvm tool report this issue. So effectively it means the problem is in the executing shelll which leaves descriptors opened while calling lvm.

So it has potential to be a security problem (maybe an exploit opens all kinds of descriptors until the kernel crashes). It looks like the solution upstream (mentioned in the above link) was to suppress the messages, instead of resolve the actual RCA...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Prevent subdirectory creation while allowing file creation bweddell Linux - Security 5 07-31-2011 08:54 PM
File descriptor leaked on lvcreate invocation kuldeep.k Linux - General 0 04-21-2010 08:21 AM
[SOLVED] Log file size when mirroring with LVM2 appleshampoo Linux - Software 1 02-14-2010 01:28 AM
changing default file permissions upon file creation ceci2 Linux - Newbie 7 10-01-2009 07:27 AM
RPM Spec file creation: %file section question davidas Linux - Newbie 0 03-16-2004 10:36 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration