LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Is this a security concern?

Code:
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, 10:16 PM   #2
GaWdLy
Member
 
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 https://bugs.launchpad.net/ubuntu/+s...m2/+bug/591823 :

~~~
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...
 
  


Reply


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 09:54 PM
File descriptor leaked on lvcreate invocation kuldeep.k Linux - General 0 04-21-2010 09:21 AM
[SOLVED] Log file size when mirroring with LVM2 appleshampoo Linux - Software 1 02-14-2010 02:28 AM
changing default file permissions upon file creation ceci2 Linux - Newbie 7 10-01-2009 08:27 AM
RPM Spec file creation: %file section question davidas Linux - Newbie 0 03-16-2004 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:56 AM.

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